Date: Tue, 12 May 2009 09:28:45 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/fdescfs fdesc_vnops.c Message-ID: <200905120928.n4C9Sue7053690@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2009-05-12 09:28:45 UTC FreeBSD src repository Modified files: sys/fs/fdescfs fdesc_vnops.c Log: SVN rev 192013 on 2009-05-12 09:28:45Z by kib 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> Revision Changes Path 1.117 +20 -65 src/sys/fs/fdescfs/fdesc_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905120928.n4C9Sue7053690>