CVS commit: src/sys/miscfs/procfs

2020-12-28 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Dec 28 22:36:16 UTC 2020

Modified Files:
src/sys/miscfs/procfs: procfs_vfsops.c

Log Message:
Fix procfs environ node.


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/sys/miscfs/procfs/procfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2020-05-31 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun May 31 08:38:54 UTC 2020

Modified Files:
src/sys/miscfs/procfs: procfs_linux.c

Log Message:
struct statvfs is too large for stack. Use malloc(9) instead.

XXX
Switch to kmem(9) for entire this file.

Frame size, e.g. for m68k, becomes:
3292 --> 12


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/miscfs/procfs/procfs_linux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2020-04-29 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Apr 29 07:18:24 UTC 2020

Modified Files:
src/sys/miscfs/procfs: procfs.h

Log Message:
Put forward declaration a little further forward to unbreak build.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/miscfs/procfs/procfs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2020-04-28 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Wed Apr 29 01:56:54 UTC 2020

Modified Files:
src/sys/miscfs/procfs: procfs.h procfs_subr.c procfs_vfsops.c
procfs_vnops.c

Log Message:
If the procfs mount is marked as linux-compat, then allow proc lookup
by any LWP ID in the proc, not just the canonical PID.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/miscfs/procfs/procfs.h
cvs rdiff -u -r1.114 -r1.115 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.107 -r1.108 src/sys/miscfs/procfs/procfs_vfsops.c
cvs rdiff -u -r1.211 -r1.212 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2020-04-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Apr 20 13:30:34 UTC 2020

Modified Files:
src/sys/miscfs/procfs: procfs_linux.c

Log Message:
Add missing include of  to fix the build


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/miscfs/procfs/procfs_linux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2020-04-19 Thread Hisashi T Fujinaka
Module Name:src
Committed By:   htodd
Date:   Mon Apr 20 05:22:28 UTC 2020

Modified Files:
src/sys/miscfs/procfs: procfs_vfsops.c

Log Message:
Sort include files.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/sys/miscfs/procfs/procfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2020-04-19 Thread Hisashi T Fujinaka
Module Name:src
Committed By:   htodd
Date:   Mon Apr 20 05:11:01 UTC 2020

Modified Files:
src/sys/miscfs/procfs: procfs_vfsops.c

Log Message:
Add missing include to fix build.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/miscfs/procfs/procfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2020-02-24 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Mon Feb 24 20:47:41 UTC 2020

Modified Files:
src/sys/miscfs/procfs: procfs_vnops.c

Log Message:
v_interlock -> vmobjlock


To generate a diff of this commit:
cvs rdiff -u -r1.209 -r1.210 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2019-04-25 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Thu Apr 25 22:48:42 UTC 2019

Modified Files:
src/sys/miscfs/procfs: procfs.h

Log Message:
Restore mapping of file id to pid/type/fd.
Use 64bit file id to allow for 32bit fd and 25-26bit pid.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/miscfs/procfs/procfs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2019-03-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar 30 23:28:30 UTC 2019

Modified Files:
src/sys/miscfs/procfs: files.procfs procfs.h procfs_subr.c
procfs_vfsops.c procfs_vnops.c
Added Files:
src/sys/miscfs/procfs: procfs_limit.c

Log Message:
add a node for the process resource limits.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/miscfs/procfs/files.procfs
cvs rdiff -u -r1.74 -r1.75 src/sys/miscfs/procfs/procfs.h
cvs rdiff -u -r0 -r1.1 src/sys/miscfs/procfs/procfs_limit.c
cvs rdiff -u -r1.112 -r1.113 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.100 -r1.101 src/sys/miscfs/procfs/procfs_vfsops.c
cvs rdiff -u -r1.205 -r1.206 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2018-04-16 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Mon Apr 16 20:27:38 UTC 2018

Modified Files:
src/sys/miscfs/procfs: procfs_subr.c

Log Message:
Change procfs_revoke_vnodes() to use vrecycle()/vgone() instead
of VOP_REVOKE().

Gets rid of a bunch of suspensions on /proc as vrecycle() will
succeed most time and we suspend at most once per call.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/miscfs/procfs/procfs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2018-04-07 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Apr  7 13:42:42 UTC 2018

Modified Files:
src/sys/miscfs/procfs: procfs_vnops.c

Log Message:
Lock the target cwdi and take an additional reference to the
vnode we are interested in to prevent it from disappearing
before getcwd_common().

Should fix PR kern/53096 (netbsd-8 crash on heavy disk I/O)


To generate a diff of this commit:
cvs rdiff -u -r1.202 -r1.203 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2017-12-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Dec 31 03:29:18 UTC 2017

Modified Files:
src/sys/miscfs/procfs: procfs.h procfs_cmdline.c procfs_subr.c
procfs_vfsops.c

Log Message:
rename some "cmdline" stuff now that it is used to print environment too


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/miscfs/procfs/procfs.h
cvs rdiff -u -r1.29 -r1.30 src/sys/miscfs/procfs/procfs_cmdline.c
cvs rdiff -u -r1.110 -r1.111 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.99 -r1.100 src/sys/miscfs/procfs/procfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2017-12-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Dec 31 03:02:23 UTC 2017

Modified Files:
src/sys/miscfs/procfs: procfs.h procfs_cmdline.c procfs_subr.c
procfs_vfsops.c procfs_vnops.c

Log Message:
Add an environ node


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/miscfs/procfs/procfs.h
cvs rdiff -u -r1.28 -r1.29 src/sys/miscfs/procfs/procfs_cmdline.c
cvs rdiff -u -r1.109 -r1.110 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.98 -r1.99 src/sys/miscfs/procfs/procfs_vfsops.c
cvs rdiff -u -r1.201 -r1.202 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2017-12-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec  1 19:01:34 UTC 2017

Modified Files:
src/sys/miscfs/procfs: procfs_vnops.c

Log Message:
Allow procfs_kqfilter, since we allow poll. "go" does it.


To generate a diff of this commit:
cvs rdiff -u -r1.200 -r1.201 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2017-11-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Nov  8 00:51:47 UTC 2017

Modified Files:
src/sys/miscfs/procfs: procfs_vnops.c

Log Message:
fix locking, remove error(1) comments.


To generate a diff of this commit:
cvs rdiff -u -r1.199 -r1.200 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2017-11-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Nov  8 00:42:12 UTC 2017

Modified Files:
src/sys/miscfs/procfs: procfs_vnops.c

Log Message:
use p->p_path, remove unused code.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2017-09-29 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Fri Sep 29 17:27:26 UTC 2017

Modified Files:
src/sys/miscfs/procfs: procfs_status.c

Log Message:
Use %ju and (intmax_t) to unbreak i386 build.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/miscfs/procfs/procfs_status.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2017-09-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 29 12:57:05 UTC 2017

Modified Files:
src/sys/miscfs/procfs: procfs_status.c

Log Message:
Split the status printing routines (one for NetBSD and one for Linux) for
simplicity (Robert Swindelis)


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/miscfs/procfs/procfs_status.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2017-04-13 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Thu Apr 13 09:54:18 UTC 2017

Modified Files:
src/sys/miscfs/procfs: procfs_linux.c

Log Message:
Switch procfs_domounts() to mountlist iterator.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/miscfs/procfs/procfs_linux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2017-03-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Mar 30 20:21:00 UTC 2017

Modified Files:
src/sys/miscfs/procfs: procfs_auxv.c

Log Message:
remove comment.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/miscfs/procfs/procfs_auxv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2017-03-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Mar 30 20:16:29 UTC 2017

Modified Files:
src/sys/miscfs/procfs: files.procfs procfs.h procfs_subr.c
procfs_vfsops.c procfs_vnops.c
Added Files:
src/sys/miscfs/procfs: procfs_auxv.c

Log Message:
add an auxv node.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/miscfs/procfs/files.procfs
cvs rdiff -u -r1.70 -r1.71 src/sys/miscfs/procfs/procfs.h
cvs rdiff -u -r0 -r1.1 src/sys/miscfs/procfs/procfs_auxv.c
cvs rdiff -u -r1.106 -r1.107 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.96 -r1.97 src/sys/miscfs/procfs/procfs_vfsops.c
cvs rdiff -u -r1.194 -r1.195 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2016-11-02 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Nov  3 03:53:32 UTC 2016

Modified Files:
src/sys/miscfs/procfs: procfs_vfsops.c

Log Message:
Module procfs needs ptrace_common for process_do{,fp}regs


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/miscfs/procfs/procfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2016-03-28 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Mon Mar 28 17:23:47 UTC 2016

Modified Files:
src/sys/miscfs/procfs: procfs_linux.c

Log Message:
Align /proc//statm data with /proc//stat and
provide RSS information. There is no data about shared
pages.

Helps PR 50801.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/miscfs/procfs/procfs_linux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2014-10-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Oct 17 20:49:22 UTC 2014

Modified Files:
src/sys/miscfs/procfs: procfs_map.c

Log Message:
Maps don't change that frequently between reads, so don't give up and
do what linux does (support reading from an offset).


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/miscfs/procfs/procfs_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2014-08-09 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Aug 10 06:22:06 UTC 2014

Modified Files:
src/sys/miscfs/procfs: procfs_linux.c

Log Message:
#include 


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/miscfs/procfs/procfs_linux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2014-07-27 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Jul 27 16:47:26 UTC 2014

Modified Files:
src/sys/miscfs/procfs: procfs.h procfs_subr.c procfs_vfsops.c
procfs_vnops.c

Log Message:
Change procfs from hashlist to vcache.
- Key is (type, pid, fd)
- Remove argument "p" from procfs_allocvp().  It is only used
  when "type == PFSfd".  Lookup the proc with proc_find() when
  procfs_loadvnode() needs it.
- Use a vfs_vnode_iterator for procfs_revoke_vnodes().


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/miscfs/procfs/procfs.h
cvs rdiff -u -r1.104 -r1.105 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.91 -r1.92 src/sys/miscfs/procfs/procfs_vfsops.c
cvs rdiff -u -r1.190 -r1.191 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2014-07-12 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat Jul 12 09:58:39 UTC 2014

Modified Files:
src/sys/miscfs/procfs: procfs_linux.c

Log Message:
Use kproc2 to provide sensible informations for /proc//stat.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/miscfs/procfs/procfs_linux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2014-06-30 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Jun 30 14:58:59 UTC 2014

Modified Files:
src/sys/miscfs/procfs: procfs_linux.c

Log Message:
Use NZERO instead of hard-coded "20" value.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/miscfs/procfs/procfs_linux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2014-04-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr  5 18:42:32 UTC 2014

Modified Files:
src/sys/miscfs/procfs: procfs.h procfs_linux.c

Log Message:
On my 24 proc box I got ENOSPC, so make the routine return the size it wants
and try again.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/miscfs/procfs/procfs.h
cvs rdiff -u -r1.66 -r1.67 src/sys/miscfs/procfs/procfs_linux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2013-07-18 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Jul 18 07:59:44 UTC 2013

Modified Files:
src/sys/miscfs/procfs: procfs_map.c

Log Message:
PR/48048: Add a missing vm_map_unlock_read() and uvmspace_free() to the ENOMEM 
error case in procfs_domap()d


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/miscfs/procfs/procfs_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2012-11-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Nov 25 01:03:06 UTC 2012

Modified Files:
src/sys/miscfs/procfs: procfs_subr.c procfs_vnops.c

Log Message:
do something reasonable with kernel semaphores.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.184 -r1.185 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2012-05-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon May 28 13:16:11 UTC 2012

Modified Files:
src/sys/miscfs/procfs: procfs.h procfs_subr.c procfs_vnops.c

Log Message:
add a task process subdirectory for emul linux


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/miscfs/procfs/procfs.h
cvs rdiff -u -r1.100 -r1.101 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.183 -r1.184 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2012-05-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May  6 03:13:11 UTC 2012

Modified Files:
src/sys/miscfs/procfs: procfs_map.c

Log Message:
- match format with the linux map printing
- fix PK_32 map printing for linux processes
should fix 32 bit java stack guard setting.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/miscfs/procfs/procfs_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2011-12-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 19 03:02:31 UTC 2011

Modified Files:
src/sys/miscfs/procfs: procfs_linux.c

Log Message:
don't produce different output if we are super user.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/miscfs/procfs/procfs_linux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2011-12-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec 16 20:45:07 UTC 2011

Modified Files:
src/sys/miscfs/procfs: procfs_linux.c

Log Message:
provide a root entry if one was not found.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/miscfs/procfs/procfs_linux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2011-12-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec 15 20:55:02 UTC 2011

Modified Files:
src/sys/miscfs/procfs: procfs_linux.c

Log Message:
PR/45700: use dostatvfs instead of grabbing the latest cached copy of
struct statvfs from the mount point, so that chroot is handled properly.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/miscfs/procfs/procfs_linux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2011-09-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 27 01:23:59 UTC 2011

Modified Files:
src/sys/miscfs/procfs: procfs.h procfs_vfsops.c

Log Message:
define PROCFS_MAXNAMLEN and use it.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/miscfs/procfs/procfs.h
cvs rdiff -u -r1.85 -r1.86 src/sys/miscfs/procfs/procfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2011-09-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Sep  4 17:32:10 UTC 2011

Modified Files:
src/sys/miscfs/procfs: procfs.h procfs_linux.c procfs_subr.c
procfs_vnops.c

Log Message:
PR# kern/45021: Please support /emul/linux/proc/version

Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:

$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 
prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39: Sun Sep  4 
09:10:05 EDT 2011

$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease 
(NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010

$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease 
(NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/miscfs/procfs/procfs.h
cvs rdiff -u -r1.60 -r1.61 src/sys/miscfs/procfs/procfs_linux.c
cvs rdiff -u -r1.99 -r1.100 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.181 -r1.182 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 18:48:14 UTC 2011

Modified Files:
src/sys/miscfs/procfs: procfs_linux.c

Log Message:
both LINUX_USRSTACK32 and USRSTACK32 need to be defined for linux32


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/miscfs/procfs/procfs_linux.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2011-07-26 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Tue Jul 26 13:18:55 UTC 2011

Modified Files:
src/sys/miscfs/procfs: procfs_map.c

Log Message:
fix a botch in PRIxVADDR change (rev.1.38)


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/miscfs/procfs/procfs_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2011-06-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jun 23 17:06:38 UTC 2011

Modified Files:
src/sys/miscfs/procfs: procfs_vnops.c

Log Message:
>From Aleksey Cheusov: Don't make it easy for compromised systems to bypass
ASLR protections by providing the mapping addresses of programs to everyone.


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2010-09-15 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Wed Sep 15 21:37:36 UTC 2010

Modified Files:
src/sys/miscfs/procfs: procfs_map.c

Log Message:
Use PRIxVADDR to print vaddr_t elements. Wrap lines.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/miscfs/procfs/procfs_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/procfs

2010-06-08 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Jun  8 08:24:16 UTC 2010

Modified Files:
src/sys/miscfs/procfs: procfs_vnops.c

Log Message:
Procfs_lookup() does not lookup directory descriptors in the fd/
subdirectory.  There is no need for recursive vnode locking here.

Ok: Christos Zoulas 


To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.