diff options
author | kib <kib@FreeBSD.org> | 2009-05-12 09:28:45 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-05-12 09:28:45 +0000 |
commit | 7aa37e18ca4e4eabc165dbe65df7df63d22e2b39 (patch) | |
tree | 281d4f5d924d67d3765aba7fa128b3991696f663 /contrib/lukemftp | |
parent | 02642881c9082d8c3acae80acd2a53a476a9e433 (diff) | |
download | FreeBSD-src-7aa37e18ca4e4eabc165dbe65df7df63d22e2b39.zip FreeBSD-src-7aa37e18ca4e4eabc165dbe65df7df63d22e2b39.tar.gz |
Report all fdescfs vnodes as VCHR for stat(2). Fake the unique
major/minor numbers of the devices.
Pretending that the vnodes are character devices prevents file tree
walkers from descending into the directories opened by current process.
Also, not doing stat on the filedescriptors prevents the recursive entry
into the VFS.
Requested by: kientzle
Discussed with: Jilles Tjoelker <jilles stack nl>
Diffstat (limited to 'contrib/lukemftp')
0 files changed, 0 insertions, 0 deletions