CVS log for src/sys/miscfs/procfs/procfs.h
Up to [cvs.NetBSD.org] / src / sys / miscfs / procfs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.87: download - view: text, markup, annotated - select for diffs
Mon Jul 1 01:35:53 2024 UTC (4 months ago) by christos
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +19 -1
lines
Add linux POSIX message queue support (Ricardo Branco)
Revision 1.86: download - view: text, markup, annotated - select for diffs
Sun May 12 17:26:50 2024 UTC (5 months, 3 weeks ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +12 -2
lines
PR/58227: Ricardo Branco: Add support for proc/sysvipc in Linux emulator
Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun May 12 17:22:29 2024 UTC (5 months, 3 weeks ago) by christos
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -1
lines
PR/58240: Ricardo Branco: Add support for proc/self/limits as used by Linux
Revision 1.82.4.1: download - view: text, markup, annotated - select for diffs
Thu Apr 18 18:22:10 2024 UTC (6 months, 2 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +4 -3
lines
Pull up following revision(s) (requested by hannken in ticket #668):
sys/miscfs/procfs/procfs.h: revision 1.83
sys/miscfs/procfs/procfs.h: revision 1.84
sys/kern/vfs_mount.c: revision 1.104
sys/miscfs/procfs/procfs_vnops.c: revision 1.230
sys/kern/init_main.c: revision 1.547
sys/kern/kern_hook.c: revision 1.15
sys/miscfs/procfs/procfs_vfsops.c: revision 1.112
sys/miscfs/procfs/procfs_vfsops.c: revision 1.113
sys/miscfs/procfs/procfs_vfsops.c: revision 1.114
sys/miscfs/procfs/procfs_subr.c: revision 1.117
Print dangling vnode before panic() to help debug.
PR kern/57775 ""panic: unmount: dangling vnode" while umounting procfs"
Protect kernel hooks exechook, exithook and forkhook with rwlock.
Lock as writer on establish/disestablish and as reader on list traverse.
For exechook ride "exec_lock" as it is already take as reader when
traversing the list. Add local locks for exithook and forkhook.
Move exec_init before signal_init as signal_init calls exechook_establish()
that needs "exec_lock".
PR kern/39913 "exec, fork, exit hooks need locking"
Add a hashmap to access all procfs nodes by pid.
Using the exechook to revoke procfs nodes is racy and may deadlock:
one thread runs doexechooks() -> procfs_revoke_vnodes() and wants to suspend
the file system for vgone(), while another thread runs a forced unmount,
has the file system suspended, tries to disestablish the exechook and
waits for doexechooks() to complete.
Establish/disestablish the exechook on module load/unload instead
mount/unmount and use the hashmap to access all procfs nodes for this pid.
May fix PR kern/57775 ""panic: unmount: dangling vnode" while umounting procfs"
Remove all procfs nodes for this process on process exit.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Jan 17 10:20:12 2024 UTC (9 months, 2 weeks ago) by hannken
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +1 -3
lines
Using the exechook to revoke procfs nodes is racy and may deadlock:
one thread runs doexechooks() -> procfs_revoke_vnodes() and wants to suspend
the file system for vgone(), while another thread runs a forced unmount,
has the file system suspended, tries to disestablish the exechook and
waits for doexechooks() to complete.
Establish/disestablish the exechook on module load/unload instead
mount/unmount and use the hashmap to access all procfs nodes for this pid.
May fix PR kern/57775 ""panic: unmount: dangling vnode" while umounting procfs"
Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Jan 17 10:19:21 2024 UTC (9 months, 2 weeks ago) by hannken
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -1
lines
Add a hashmap to access all procfs nodes by pid.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Jan 19 10:23:00 2022 UTC (2 years, 9 months ago) by martin
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -1
lines
Now that an inline function dereferences it, make sure struct proc
is declared by including sys/proc.h here.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Jan 17 11:20:00 2022 UTC (2 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +9 -1
lines
If the calling process is running under linux emulation, make /proc/xxx/fd/
return only symlinks pointing to the original file in the filesystem,
instead of a hard link. This matches the linux behavior, and some
linux programs relies on it (they unconditionally call readlink() on
/proc/xxx/fd/yy and don't deal with it returning EINVAL).
Proposed on tech-kern@ in
http://mail-index.netbsd.org/tech-kern/2022/01/11/msg027877.html
Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Apr 29 07:18:24 2020 UTC (4 years, 6 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -2
lines
Put forward declaration a little further forward to unbreak build.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Apr 29 01:56:54 2020 UTC (4 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -2
lines
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.
Revision 1.74.4.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:05 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.74.4.2: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.4.2: +21 -6
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.74.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:53 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.74.4.1: preferred, colored; branchpoint 1.74: preferred, colored
Changes since revision 1.74.4.1: +2 -2
lines
Merge changes from current as of 20200406
Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:36 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +2 -2
lines
Sync with head.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Jan 17 20:08:09 2020 UTC (4 years, 9 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -2
lines
VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to
allow us to get shared locks (or no lock) on the returned vnode. Matches
FreeBSD.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Sep 26 17:33:18 2019 UTC (5 years, 1 month ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20191119,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +22 -7
lines
Rewrite the procfs_fileno as an inline function to make it more clear what
it does...
Revision 1.74.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:06 2019 UTC (5 years, 4 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +36 -30
lines
Sync with HEAD
Revision 1.76: download - view: text, markup, annotated - select for diffs
Thu Apr 25 22:48:42 2019 UTC (5 years, 6 months ago) by mlelstv
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +9 -6
lines
Restore mapping of file id to pid/type/fd.
Use 64bit file id to allow for 32bit fd and 25-26bit pid.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Mar 30 23:28:30 2019 UTC (5 years, 7 months ago) by christos
Branches: MAIN
CVS tags: isaki-audio2-base,
isaki-audio2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +28 -25
lines
add a node for the process resource limits.
Revision 1.71.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 12 13:42:48 2018 UTC (6 years, 6 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +1 -5
lines
Pull up following revision(s) (requested by kamil in ticket #713):
sys/modules/procfs/Makefile: revision 1.4
sys/miscfs/procfs/procfs_vfsops.c: revision 1.98
bin/ps/ps.1: revision 1.108
sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.32
sys/miscfs/procfs/procfs_vnops.c: revision 1.198
sys/kern/sys_ptrace_common.c: revision 1.23
sys/kern/sys_ptrace_common.c: revision 1.24
sbin/mount_procfs/mount_procfs.8: revision 1.36
sys/kern/sys_ptrace_common.c: revision 1.25
sys/kern/sys_ptrace.c: revision 1.5
sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.30
sys/sys/proc.h: revision 1.342
sys/kern/sys_ptrace_common.c: revision 1.26
sys/miscfs/procfs/procfs_ctl.c: file removal
sys/kern/sys_ptrace_common.c: revision 1.27
sys/miscfs/procfs/procfs_subr.c: revision 1.109
sys/kern/sys_ptrace_common.c: revision 1.28
sys/secmodel/extensions/secmodel_extensions.c: revision 1.8
sys/kern/sys_ptrace_common.c: revision 1.29
sys/sys/ptrace.h: revision 1.62
sys/compat/netbsd32/netbsd32_signal.c: revision 1.45
share/man/man9/kauth.9: revision 1.109
sys/miscfs/procfs/files.procfs: revision 1.12
sys/compat/netbsd32/netbsd32.h: revision 1.115
sys/miscfs/procfs/procfs.h: revision 1.72
sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.5
sys/kern/kern_sig.c: revision 1.337
sys/sys/kauth.h: revision 1.75
sys/sys/sysctl.h: revision 1.224
sys/kern/sys_ptrace_common.c: revision 1.30
sys/kern/sys_ptrace_common.c: revision 1.31
sys/kern/sys_ptrace_common.c: revision 1.32
sys/kern/sys_ptrace_common.c: revision 1.33
sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.20
sys/kern/sys_ptrace_common.c: revision 1.34
sys/kern/sys_ptrace_common.c: revision 1.36
sys/kern/kern_proc.c: revision 1.207
sys/kern/kern_exit.c: revision 1.269
doc/TODO.ptrace: revision 1.29
Make {s,g}et{db,fp,}regs work again for PK_32 processes
XXX: pullup-8
add disgusting magic to handle compat_netbsd32 as a module.
use process_*reg32 instead of struct *reg32.
Remove the filesystem tracing feature
This is a legacy interface from 4.4BSD, and it was
introduced to overcome shortcomings of ptrace(2) at that time, which are
no longer relevant (performance). Today /proc/#/ctl offers a narrow
subset of ptrace(2) commands and is not applicable for modern
applications use beyond simplistic tracing scenarios.
This removal will simplify kernel internals. Users will still be able to
use all the other /proc files.
This change won't affect other procfs files neither Linux compat
features within mount_procfs(8). /proc/#/ctl isn't available on Linux.
Remove:
- /proc/#/ctl from mount_procfs(8)
- P_FSTRACE note from the documentation of ps(1)
- /proc/#/ctl and filesystem tracing documentation from mount_procfs(8)
- KAUTH_REQ_PROCESS_PROCFS_CTL documentation from kauth(9)
- source code file miscfs/procfs/procfs_ctl.c
- PFSctl and procfs_doctl() from sys/miscfs/procfs/procfs.h
- KAUTH_REQ_PROCESS_PROCFS_CTL from sys/sys/kauth.h
- PSL_FSTRACE (0x00010000) from sys/sys/proc.h
- P_FSTRACE (0x00010000) from sys/sys/sysctl.h
Reduce code complexity after removal of this functionality.
Update TODO.ptrace accordingly: remove two entries about /proc tracing.
Do not keep legacy notes as comments in the headers about removed
PSL_FSTRACE / P_FSTRACE, as this interface had little number of users
(close or equal to zero).
Proposed on tech-kern@.
All filesystem tracing utility users are encouraged to switch to ptrace(2).
Sponsored by <The NetBSD Foundation>
untangle the mess:
- factor out common code
- break each ptrace subcall to its own sub-function
.. more to come ...
- reduce ifdef ugliness by moving it up top.
- factor out PT_IO and make PT_{READ,WRITE}_{I,D} use it
- factor out PT_DUMPCORE
- factor out sendsig code
.. more to come ...
handle siginfo requests for ptrace32
ptrace: Partially undo PT_{READ,WRITE}_{I,D} and unbreak these commands
The refactored code did not work and was generating EFAULT.
Sponsored by <The NetBSD Foundation>
Merge the code back; the problem was that since we are reading/writing
to a kernel address for PT_{READ,WRITE}_{I,D} we need the kernel vmspace.
provide separate read and write functions to accomodate register functions
that need a size argument.
don't ignore error from copyout_piod
Use the proper process (the tracee) to get information about lwps and
registers and the tracer for vmspace.
Add new sysctl(3) entry: security.models.extensions.user_set_dbregs
Model this new sysctl(3) entry after "user_set_cpu_affinity" in the same
level of sysctl(3) switches.
Allow to read unconditionally Debug Registers (no change here). This is
convenient as even if a user of a debugger does not use hardware assisted
watchpoints/breakpoints, a debugger can still prompt these values to store
in an internal cache with context of registers. Reading them should have
no security concerns.
Add a paranoid MI switch that prohibits by default setting these registers
by a regular user (non-superuser). Make this switch disabled by default.
There are enough reserved bits out there to allow using them
unconditionally on hardened hosts.
Features shipped with Debug Registers are optional features in debuggers.
There is no reduction in elementary functionality.
Reviewed by <christos>
Sponsored by <The NetBSD Foundation>
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Dec 31 03:29:18 2017 UTC (6 years, 10 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat
Branch point for: phil-wifi
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2
lines
rename some "cmdline" stuff now that it is used to print environment too
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Dec 31 03:02:23 2017 UTC (6 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -2
lines
Add an environ node
Revision 1.68.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:48 2017 UTC (6 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.68.2.1: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.2.1: +5 -4
lines
update from HEAD
Revision 1.70.4.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:09 2017 UTC (7 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +6 -1
lines
Sync with HEAD
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Aug 28 00:46:07 2017 UTC (7 years, 2 months ago) by kamil
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +1 -5
lines
Remove the filesystem tracing feature
This is a legacy interface from 4.4BSD, and it was
introduced to overcome shortcomings of ptrace(2) at that time, which are
no longer relevant (performance). Today /proc/#/ctl offers a narrow
subset of ptrace(2) commands and is not applicable for modern
applications use beyond simplistic tracing scenarios.
This removal will simplify kernel internals. Users will still be able to
use all the other /proc files.
This change won't affect other procfs files neither Linux compat
features within mount_procfs(8). /proc/#/ctl isn't available on Linux.
Remove:
- /proc/#/ctl from mount_procfs(8)
- P_FSTRACE note from the documentation of ps(1)
- /proc/#/ctl and filesystem tracing documentation from mount_procfs(8)
- KAUTH_REQ_PROCESS_PROCFS_CTL documentation from kauth(9)
- source code file miscfs/procfs/procfs_ctl.c
- PFSctl and procfs_doctl() from sys/miscfs/procfs/procfs.h
- KAUTH_REQ_PROCESS_PROCFS_CTL from sys/sys/kauth.h
- PSL_FSTRACE (0x00010000) from sys/sys/proc.h
- P_FSTRACE (0x00010000) from sys/sys/sysctl.h
Reduce code complexity after removal of this functionality.
Update TODO.ptrace accordingly: remove two entries about /proc tracing.
Do not keep legacy notes as comments in the headers about removed
PSL_FSTRACE / P_FSTRACE, as this interface had little number of users
(close or equal to zero).
Proposed on tech-kern@.
All filesystem tracing utility users are encouraged to switch to ptrace(2).
Sponsored by <The NetBSD Foundation>
Revision 1.70.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:28 2017 UTC (7 years, 6 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +6 -1
lines
Sync with HEAD
Revision 1.70.12.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:04 2017 UTC (7 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +6 -1
lines
Sync with HEAD
Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Mar 30 20:16:29 2017 UTC (7 years, 7 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +6 -1
lines
add an auxv node.
Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:31 2014 UTC (10 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +12 -12
lines
Rebase to HEAD as of a few days ago.
Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:05 2014 UTC (10 years, 2 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +11 -11
lines
Rebase.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Jul 27 16:47:26 2014 UTC (10 years, 3 months ago) by hannken
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
pgoyette-localcount-base,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
nick-nhusb,
bouyer-socketcan
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +11 -11
lines
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().
Revision 1.67.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:05 2014 UTC (10 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.67.2.1: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.2.1: +2 -2
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.68.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:09 2014 UTC (10 years, 5 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +2 -2
lines
sync with head
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Apr 5 18:42:32 2014 UTC (10 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base
Branch point for: tls-earlyentropy
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -2
lines
On my 24 proc box I got ENOSPC, so make the routine return the size it wants
and try again.
Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:40 2012 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -1
lines
sync with head
Revision 1.67.6.1: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:36 2012 UTC (12 years, 5 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +2 -1
lines
sync to latest -current.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon May 28 13:16:10 2012 UTC (12 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
jmcneill-usbmp-base10,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
rmind-smpnet
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -1
lines
add a task process subdirectory for emul linux
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Sep 27 01:23:59 2011 UTC (13 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -1
lines
define PROCFS_MAXNAMLEN and use it.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Sep 4 17:32:10 2011 UTC (13 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -1
lines
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
Revision 1.64.32.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:05 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +1 -4
lines
sync with head.
Revision 1.64.34.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:36:58 2008 UTC (16 years, 1 month ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +1 -4
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.64.36.1: download - view: text, markup, annotated - select for diffs
Thu Jul 3 18:38:18 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +1 -4
lines
Sync with head.
Revision 1.64.28.1: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:16 2008 UTC (16 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +1 -4
lines
Sync with HEAD.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Jun 28 01:34:06 2008 UTC (16 years, 4 months ago) by rumble
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
simonb-wapbl-nbase,
simonb-wapbl-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-premerge-20091211,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-premerge-20101231,
matt-mips64-base2,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
jruoho-x86intr-base,
jruoho-x86intr,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -4
lines
Create sysctl entries during module initialisation and destroy them
appropriately.
Many of these file systems are now ready for modularisation.
Revision 1.56.12.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:41:55 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.12.3: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.12.3: +10 -1
lines
sync with head.
Revision 1.63.8.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:10:43 2007 UTC (17 years, 3 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +10 -1
lines
Sync with head.
Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Fri Jun 8 14:17:34 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +10 -1
lines
Sync with head.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu May 24 00:37:40 2007 UTC (17 years, 5 months ago) by agc
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-devfs-base,
mjf-devfs,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
wrstuden-revivesa,
simonb-wapbl,
mjf-devfs2
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +10 -1
lines
Extend the Linux emulation of /proc to include
/proc/stat
/proc/loadavg and
/proc/<pid>/statm.
These are only present when -o linux is specified as a mount option
to procfs.
Factor out some common code so that it can be used by a number of
functions.
XXX The values returned in the statm emulation need to be verified.
Revision 1.56.12.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:11:30 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.12.2: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.12.2: +6 -4
lines
sync with head.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:36 2007 UTC (17 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
yamt-idlelwp,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
post-newlock2-merge,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -4
lines
Merge newlock2 to head.
Revision 1.56.12.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:18 2006 UTC (17 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.12.1: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.12.1: +9 -1
lines
sync with head.
Revision 1.59.22.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:59 2006 UTC (17 years, 10 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.59.22.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.22.1: +6 -1
lines
sync with head.
Revision 1.59.20.2: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:29 2006 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.59.20.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.20.1: +9 -1
lines
Sync with head.
Revision 1.59.20.1: download - view: text, markup, annotated - select for diffs
Fri Nov 17 16:34:38 2006 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +6 -4
lines
Checkpoint work in progress.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Oct 29 22:35:35 2006 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -1
lines
add an "emul" file node.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Oct 25 18:59:52 2006 UTC (18 years ago) by christos
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -1
lines
1. fix procfs_validfile{,_linux} to test for NULL pointers properly.
2. make "exe" entry be a symlink to the executable, instead of pointing
directly to the vnode of the executable.
3. factor out commonly used code.
Revision 1.59.22.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:23 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -1
lines
sync with head
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Sep 20 08:09:05 2006 UTC (18 years, 1 month ago) by manu
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -1
lines
Emulate Linux's /proc/devices
Revision 1.56.12.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:10:26 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +50 -48
lines
sync with head.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:51 2005 UTC (18 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +20 -20
lines
merge ktrace-lwp.
Revision 1.47.2.8: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:10:32 2005 UTC (18 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.47.2.7: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.2.7: +49 -47
lines
Sync with HEAD. Here we go again...
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Oct 1 03:17:37 2005 UTC (19 years, 1 month ago) by atatat
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -1
lines
Add "cwd" and "root" symlinks to each process's directory. The cwd
link points to the process's current working directory, and the root
link points to the process's root directory. What else would you
expect?
For directories that are out of reach (caller is in a chroot, target
process is in a different chroot, etc), the links point to "/"
instead.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Aug 30 20:08:01 2005 UTC (19 years, 2 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +47 -47
lines
Remove __P()
Revision 1.47.2.7: download - view: text, markup, annotated - select for diffs
Fri Sep 24 10:53:43 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.47.2.6: preferred, colored
Changes since revision 1.47.2.6: +4 -1
lines
Sync with HEAD.
Revision 1.47.2.6: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:36:32 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.47.2.5: preferred, colored
Changes since revision 1.47.2.5: +19 -19
lines
Fix the sync with head I botched.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Sep 20 17:53:08 2004 UTC (20 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-lazymbuf
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -1
lines
add 'mounts' file for -o linux, which lists all currently mounted
filesystems; Linux glibc statvfs() uses this to get some of mount flags,
and this file is also useful as /emul/linux/etc/mtab (via symlink)
Revision 1.47.2.5: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:54:15 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.47.2.4: preferred, colored
Changes since revision 1.47.2.4: +19 -19
lines
Sync with HEAD.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Aug 27 07:02:45 2004 UTC (20 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2
lines
Do previous slightly differently - just pass a struct lwp * and derive the
struct proc *.
OK'd by Jaromir.
Revision 1.47.2.4: download - view: text, markup, annotated - select for diffs
Tue Aug 24 17:57:40 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.47.2.3: preferred, colored
Changes since revision 1.47.2.3: +2 -2
lines
Undo part of the ktrace/lwp changes. In particular:
* Remove the "lwp *" argument that was added to vget(). Turns out
that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
just to appease the above.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Aug 21 15:59:32 2004 UTC (20 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2
lines
fix process used for /proc/<pid>/stat contents - it should be process
<pid>, not the current process looking at the information
Revision 1.47.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 18 10:19:08 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.47.2.2: preferred, colored
Changes since revision 1.47.2.2: +2 -2
lines
Revert to passing struct proc for {exit,exec}hook.
Revision 1.47.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:54:06 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.47.2.1: preferred, colored
Changes since revision 1.47.2.1: +62 -24
lines
Sync with HEAD
Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Sun May 23 10:44:45 2004 UTC (20 years, 5 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +4 -1
lines
Pull up revision 1.53 (requested by atatat in ticket #374):
Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.
This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.
linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).
Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu May 20 06:34:32 2004 UTC (20 years, 5 months ago) by atatat
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -1
lines
Tweak sysctl setup functions (the macros, actually) for use in lkms,
and tweak lkminit_*.c (where applicable) to call them, and to call
sysctl_teardown() when being unloaded.
This consists of (1) making setup functions not be static when being
compiled as lkms (change to sys/sysctl.h), (2) making prototypes
visible for the various setup functions in header files (changes to
various header files), and (3) making simple "load" and "unload"
functions in the actual lkminit stuff.
linux_sysctl.c also needs its root exposed (ie, made not static) for
this (when built as an lkm).
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Dec 10 14:19:02 2003 UTC (20 years, 10 months ago) by drochner
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -2
lines
a little bit more namespace sanity
Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Oct 3 16:34:31 2003 UTC (21 years, 1 month ago) by yamt
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2
lines
terminate snprintb 'new' format strings correctly.
(fixes overrun in mount_*)
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Sep 27 15:32:50 2003 UTC (21 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2
lines
Put pfsnode in the #ifdef _KERNEL too, so this actually compiles.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Sep 27 13:29:02 2003 UTC (21 years, 1 month ago) by darcy
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +24 -22
lines
Changes as discussed with itojun on tech-kern. I have modified the enums
to have KFS or PFS differentiators. Further I have wrapped the enum in
procfs in "#ifdef _KERNEL" as it is done in kernfs.
To see the discussion go to http://mail-index.NetBSD.org/tech-kern/2003/09/
and look for "Mismatched enums in include files" in the list.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:32:41 2003 UTC (21 years, 3 months ago) by agc
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +34 -2
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:52 2003 UTC (21 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +21 -21
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:31:44 2003 UTC (21 years, 4 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +20 -20
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Jun 29 18:43:34 2003 UTC (21 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2
lines
Undo part of the ktrace/lwp changes. In particular:
* Remove the "lwp *" argument that was added to vget(). Turns out
that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
just to appease the above.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:22:04 2003 UTC (21 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +21 -21
lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed May 28 18:03:15 2003 UTC (21 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -1
lines
Add /proc/<pid>/stat for linux compat. j2sdk1.4.2 depends on it.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Apr 18 10:00:19 2003 UTC (21 years, 6 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3
lines
change PROCFS_FILENO() to use 5 bits for 'type', since there are more than
16 types nowadays (i.e. Pfd is 17)
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Apr 17 19:04:25 2003 UTC (21 years, 6 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2
lines
use fd_getfile() in procfs_getfp(), and FILE_USE()/FILE_UNUSE() the
returned file descriptor pointer appropriately
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Feb 25 21:00:31 2003 UTC (21 years, 8 months ago) by jrf
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -1
lines
This addresses PR kerm/19989. Thanks to hamajima@nagoya.ydc.co.jp for submitting this patch which enables /proc/uptime for linux emul. Patch reviewed by atatat@netbsd.org and tron@netbsd.org, approved by tron@netbsd.org.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Jan 18 09:18:06 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +6 -6
lines
Merge the nathanw_sa branch.
Revision 1.33.2.10: download - view: text, markup, annotated - select for diffs
Tue Jan 7 21:41:13 2003 UTC (21 years, 10 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.33.2.9: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.2.9: +11 -6
lines
Sync with HEAD.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Jan 3 13:21:18 2003 UTC (21 years, 10 months ago) by christos
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +11 -6
lines
Implement /proc/<pid>/fd/<n>. This is work in progress. Questionable things:
- Is it ok to convert DTYPE_PIPE to VFIFO and DTYPE_SOCKET to VSOCK?
- XXX: Avoid locking issue in ls -Rl /proc by avoiding curproc
- Does I/O to pipes work?
- XXX: Are there security implications?
Revision 1.33.2.9: download - view: text, markup, annotated - select for diffs
Tue Oct 15 18:02:00 2002 UTC (22 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.33.2.8: preferred, colored
Changes since revision 1.33.2.8: +5 -5
lines
Make _validfoo() routines go back to taking a proc.
Revision 1.34.2.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:43:33 2002 UTC (22 years ago) by jdolecek
Branches: kqueue
Diff to: previous 1.34.2.2: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.2: +4 -1
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.33.2.8: download - view: text, markup, annotated - select for diffs
Sun Oct 6 00:10:55 2002 UTC (22 years, 1 month ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.33.2.7: preferred, colored
Changes since revision 1.33.2.7: +4 -1
lines
Sync with HEAD.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Sep 21 18:09:30 2002 UTC (22 years, 1 month ago) by christos
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -1
lines
MNT_GETARGS support
Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:50:13 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.1: +1 -2
lines
catch up with -current on kqueue branch
Revision 1.33.2.7: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:48:00 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.33.2.6: preferred, colored
Changes since revision 1.33.2.6: +1 -2
lines
Catch up to -current.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu May 9 15:44:45 2002 UTC (22 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
gehenna-devsw-base,
gehenna-devsw
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -2
lines
Move code shared by procfs and the kernel proper out of procfs and
into the kernel proper (renaming functions from procfs_* to process_*).
Revision 1.33.2.6: download - view: text, markup, annotated - select for diffs
Mon Apr 1 21:31:34 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.33.2.5: preferred, colored
Changes since revision 1.33.2.5: +2 -2
lines
procfs_domem() should take proc *, proc *; not proc *, lwp *.
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:01:41 2002 UTC (22 years, 9 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +17 -1
lines
Sync kqueue branch with -current.
Revision 1.33.2.5: download - view: text, markup, annotated - select for diffs
Wed Jan 9 02:53:57 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.33.2.4: preferred, colored
Changes since revision 1.33.2.4: +2 -2
lines
Adapt procfs_machdep_rw() to LWPs.
Revision 1.33.2.4: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:33:40 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.33.2.3: preferred, colored
Changes since revision 1.33.2.3: +16 -1
lines
Catch up to -current.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Dec 5 00:58:05 2001 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +16 -1
lines
* Allow machine-dependent code to specify hooks for ptrace(2)
(__HAVE_PTRACE_MACHDEP) and procfs (__HAVE_PROCFS_MACHDEP).
These changes will allow platforms like x86 (XMM) and PowerPC
(AltiVec) to export extended register sets in a sane manner.
* Use __HAVE_PTRACE_MACHDEP to export x86 XMM registers (standard
FP + SSE/SSE2) using PT_{GET,SET}XMMREGS (in the machdep
ptrace request space).
* Use __HAVE_PROCFS_MACHDEP to export x86 XMM registers via
/proc/N/xmmregs in procfs.
Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:47:22 2001 UTC (23 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +2 -1
lines
Catch up with -current.
Revision 1.33.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:36:39 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.33.2.2: preferred, colored
Changes since revision 1.33.2.2: +2 -1
lines
Catch up to -current.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Sep 15 16:12:59 2001 UTC (23 years, 1 month ago) by chs
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
pre-chs-ubcperf,
post-chs-ubcperf
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -1
lines
add a new VFS op, vfs_reinit, which is called when desiredvnodes is
adjusted via sysctl. file systems that have hash tables which are
sized based on the value of this variable now resize those hash tables
using the new value. the max number of FFS softdeps is also recalculated.
convert various file systems to use the <sys/queue.h> macros for
their hash tables.
Revision 1.27.2.5: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:46:35 2001 UTC (23 years, 6 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.27.2.4: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.4: +4 -3
lines
Sync with HEAD
Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:58:09 2001 UTC (23 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.33.2.1: preferred, colored
Changes since revision 1.33.2.1: +4 -3
lines
Catch up with -current.
Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Fri Mar 30 21:47:21 2001 UTC (23 years, 7 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +24 -6
lines
Pull up revision 1.31 (requested by fvdl):
Add some required Linux emulation bits to support the Linux
version of VMware.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Mar 29 22:41:52 2001 UTC (23 years, 7 months ago) by fvdl
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
thorpej-devvp-base
Branch point for: thorpej-devvp,
kqueue
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -3
lines
For -o linux mounts, add some code to emulate /proc/#/maps.
Needs NAMECACHE_ENTER_REVERSE to include filenames.
Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:51 2001 UTC (23 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +10 -10
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.27.2.4: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:17:01 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.27.2.3: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.3: +2 -4
lines
Sync with HEAD.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jan 25 12:44:56 2001 UTC (23 years, 9 months ago) by jdolecek
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -3
lines
g/c pmnt_mp in struct procfs_args
Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Jan 18 20:28:21 2001 UTC (23 years, 9 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2
lines
constify
Revision 1.27.2.3: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:47 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.27.2.2: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.2: +23 -5
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Jan 17 00:09:07 2001 UTC (23 years, 9 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +24 -6
lines
Add a few linux-style files, only enabled when -o linux is specified
for the mount. Currently these are /proc/cpuinfo and /proc/meminfo.
The former only does something on i386 right now.
Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:15:01 2000 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.27.2.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.1: +1 -2
lines
Sync with HEAD.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Nov 24 18:58:37 2000 UTC (23 years, 11 months ago) by chs
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -2
lines
remove dead code and other misc cleanup.
Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:09:48 2000 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +13 -2
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Mar 16 18:08:26 2000 UTC (24 years, 7 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -1
lines
Add new VFS op routine - vfs_done and call it on filesystem detach
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.
For each leaf filesystem, add appropriate vfs_done routine.
Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 1 22:56:20 2000 UTC (24 years, 9 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +12 -2
lines
Pull up revision 1.28 (via patch, requested by fvdl):
Close procfs security hole. Fixes SA#2000-001.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jan 25 21:52:04 2000 UTC (24 years, 9 months ago) by fvdl
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +12 -2
lines
At mount/unmount time, add an exec hook to revoke all vnodes iff the
process is about to exec a sugid binary.
To speed up things, use hashing for vnode allocation, like other filesystems
do. This avoids walking the whole procfs node list in the revoke case too.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Sep 2 23:33:45 1999 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: thorpej_scsipi
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -1
lines
Make /proc/self a symlink to /proc/curproc. I've observed Linux programs
that expect /proc/self/cmdline to exist.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:27 1999 UTC (25 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame,
chs-ubc2-base,
chs-ubc2
Branch point for: netbsd-1-4
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -9
lines
completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Mar 13 00:57:13 1999 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +9 -1
lines
Expose procfs_rwmem(). (This function will go away entirely when we
delete Mach VM.)
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Mar 12 18:45:40 1999 UTC (25 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +20 -10
lines
PR/7143: Jaromir Docelek: Add procfs/cmdline from Linux emulation
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jan 25 02:20:08 1999 UTC (25 years, 9 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -2
lines
Add /proc/#/map. From FreeBSD.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Aug 9 20:51:09 1998 UTC (26 years, 3 months ago) by perry
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base,
chs-ubc
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2
lines
bzero->memset, bcopy->memcpy, bcmp->memcmp
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:21:16 1998 UTC (26 years, 8 months ago) by fvdl
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -3
lines
Merge with Lite2 + local changes
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:13:17 1998 UTC (26 years, 8 months ago) by fvdl
Branches: netbsd,
CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +33 -25
lines
Import 4.4BSD-Lite2
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:10:00 1998 UTC (26 years, 8 months ago) by fvdl
Branches: netbsd,
CSRG
CVS tags: lite-1,
date-03-may-96
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +55 -151
lines
Import 4.4BSD-Lite for reference
Revision 1.18.4.2: download - view: text, markup, annotated - select for diffs
Thu Aug 28 00:21:45 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.18.4.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.4.1: +2 -2
lines
Update marc-pcmcia branch from trunk.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Aug 27 08:52:51 1997 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3,
marc-pcmcia-base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
Fix a reversed argument which caused procfs_checkioperm() to always return
"OK". Add a few comments to avoid further confusion.
Revision 1.18.4.1: download - view: text, markup, annotated - select for diffs
Sat Aug 23 07:14:11 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -1
lines
Update marc-pcmcia branch from trunk.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Aug 12 22:47:18 1997 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -1
lines
Fix the procfs hole described on current-users, similar to a fix for
FreeBSD by Sean Eric Fagan, but a bit different. This makes the checks
in the same places as sef's FreeBSD patch, but does not hardcode the
"kmem" group into the kernel, and also does a check identical to the
(3) and (4) checks in the NetBSD ptrace(2):
(1) it's not owned by you, or is set-id on exec (unless
you're root), or
(2) it's init, which controls the security level of the
entire system, and the system was not compiled with
permanently insecure mode turned on.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu May 8 16:20:19 1997 UTC (27 years, 6 months ago) by mycroft
Branches: MAIN
CVS tags: marc-pcmcia-bp,
bouyer-scsipi
Branch point for: marc-pcmcia
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Pass the vnode type to vaccess(), and use it when checking VEXEC. Make sure
that the mode bits passed to vaccess() and returned by foo_getattr() contain
only permission bits.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Feb 12 15:01:41 1996 UTC (28 years, 8 months ago) by christos
Branches: MAIN
CVS tags: thorpej-setroot,
netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
mrg-vm-swap,
is-newarp-before-merge,
is-newarp-base,
is-newarp
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -1
lines
close PR/2063: procfs_rw prototyped twice with different prototypes
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Feb 9 22:40:46 1996 UTC (28 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -43
lines
miscfs prototype changes
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Feb 9 18:47:48 1996 UTC (28 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -3
lines
Fix vop_link, vop_symlink, and vop_remove semantics in several ways:
* Change the argument names to vop_link so they actually make sense.
* Implement vop_link and vop_symlink for all file systems, so they do proper
cleanup.
* Require the file system to decide whether or not linking and unlinking of
directories is allowed, and disable it for all current file systems.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Oct 9 11:18:51 1995 UTC (29 years, 1 month ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -14
lines
Add support for cookies, mostly from Greg Hudson.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Mar 29 22:08:30 1995 UTC (29 years, 7 months ago) by briggs
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
KERNEL -> _KERNEL
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Oct 29 07:58:53 1994 UTC (30 years ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -6
lines
light clean; make sure headers are properly included, types are OK, etc.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:34:44 1994 UTC (30 years, 4 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -2
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jun 15 22:59:02 1994 UTC (30 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -3
lines
Minor update from JSP after merging my changes.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jun 8 11:33:33 1994 UTC (30 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +69 -172
lines
Update to 4.4-Lite fs code, with local changes.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Apr 12 02:55:51 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -1
lines
be a bit smarter about determining if files shouldn't be seen by the user.
Also, DON'T allow a lookup to succeed on a file that's not visible!
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Feb 6 14:01:16 1994 UTC (30 years, 9 months ago) by ws
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
If you add files, be sure to have enough bits to encode an inode number!
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jan 28 07:03:16 1994 UTC (30 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1
lines
make a fpregs file.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 20 21:23:04 1994 UTC (30 years, 9 months ago) by ws
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -6
lines
Make procfs really work for debugging.
Implement not & notepg files in procfs.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jan 11 18:02:06 1994 UTC (30 years, 9 months ago) by ws
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4
lines
Fix ugliness left over from my last mod
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jan 9 19:44:03 1994 UTC (30 years, 10 months ago) by ws
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4
lines
Bug fixes and enhancements:
Make NFS serving work (BUT DON'T USE "attach" TO /proc/*/ctl FOR NOW!!!)
Make `curproc' a symbolic link
Add `.' and `..' entries to the directories.
Return better guesses on the size of the files.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jan 5 11:08:07 1994 UTC (30 years, 10 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -5
lines
fix UFS vs 'real' fs type mixups
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jan 5 07:51:12 1994 UTC (30 years, 10 months ago) by cgd
Branches: MAIN
add new procfs code, from Jan-Simon Pendry, jsp@sequent.com.
This is pretty-much "virgin", so that diffs can be done later.
CVSweb <webmaster@jp.NetBSD.org>