summaryrefslogtreecommitdiffstats
path: root/bin/ps
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-04-13 08:52:20 +0000
committerkib <kib@FreeBSD.org>2010-04-13 08:52:20 +0000
commitbf84540647fc1be184bf41e391a3ef7d015f2397 (patch)
treed1bc352b19f5d267fa971fec890107ea62f73a1e /bin/ps
parentd5f342f2daa0632a7ce5dc14cc5bc84bea1b8a16 (diff)
downloadFreeBSD-src-bf84540647fc1be184bf41e391a3ef7d015f2397.zip
FreeBSD-src-bf84540647fc1be184bf41e391a3ef7d015f2397.tar.gz
Handle a case in kern_openat() when vn_open() change file type from
DTYPE_VNODE. Only acquire locks for O_EXLOCK/O_SHLOCK if file type is still vnode, since we allow for fcntl(2) to process with advisory locks for DTYPE_VNODE only. Another reason is that all fo_close() routines need to check and release locks otherwise. For O_TRUNC, call fo_truncate() instead of truncating the vnode. Discussed with: rwatson MFC after: 2 week
Diffstat (limited to 'bin/ps')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud