freebsd-skq/sys/fs/fdescfs
Konstantin Belousov 3fe65eb8fe 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>
2009-05-12 09:28:45 +00:00
..
fdesc_vfsops.c
fdesc_vnops.c Report all fdescfs vnodes as VCHR for stat(2). Fake the unique 2009-05-12 09:28:45 +00:00
fdesc.h