Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-4] src/sys/miscfs/procfs



Module Name:    src
Committed By:   liamjfoy
Date:           Mon Jul 23 13:30:22 UTC 2007

Modified Files:
        src/sys/miscfs/procfs [netbsd-4]: procfs_vnops.c

Log Message:
Pull up following revision(s) (requested by pooka in ticket #785):
        sys/miscfs/procfs/procfs_vnops.c: revision 1.158
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.


To generate a diff of this commit:
cvs rdiff -r1.140.2.5 -r1.140.2.6 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.




Home | Main Index | Thread Index | Old Index