NetBSD/sys/miscfs/procfs
pooka 0921857772 Don't allow getcwd() on procfs vnodes and provide "/" as the path
instead of the result from getcwd().  The works around locking
panics caused by namei calling VOP_READLINK while holding on to a
directory lock and getcwd() trying to acquire that lock.  The real
fix would be to get rid of getcwd() calls within VOPs (not locking
safe), but that's not a viable option in the netbsd-4 timeframe.

Suggestion for workaround from David Holland.
2007-07-22 13:37:13 +00:00
..
files.procfs
Makefile
procfs_cmdline.c Change the process/lwp flags seen by userland via sysctl back to the 2007-02-17 22:31:36 +00:00
procfs_ctl.c Merge some of the less invasive changes from the vmlocking branch: 2007-07-09 20:51:58 +00:00
procfs_fd.c Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
procfs_fpregs.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
procfs_linux.c In /proc/<pid>/statm, avoid leaking buffer space if the attempt to get 2007-05-26 16:21:04 +00:00
procfs_map.c nuke homegrown getcwd_common() decl 2007-07-21 22:47:36 +00:00
procfs_mem.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
procfs_note.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
procfs_regs.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
procfs_status.c - Make the proclist_lock a mutex. The write:read ratio is unfavourable, 2007-03-09 14:11:22 +00:00
procfs_subr.c Extend the Linux emulation of /proc to include 2007-05-24 00:37:40 +00:00
procfs_vfsops.c Make set_statvfs_info() take a parameter for the vfs name instead 2007-07-17 11:19:31 +00:00
procfs_vnops.c Don't allow getcwd() on procfs vnodes and provide "/" as the path 2007-07-22 13:37:13 +00:00
procfs.h Extend the Linux emulation of /proc to include 2007-05-24 00:37:40 +00:00