Date: Sun, 22 May 2005 21:52:30 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_stats.c src/sys/kern vfs_syscalls.c Message-ID: <200505222152.j4MLqUpN086785@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2005-05-22 21:52:30 UTC FreeBSD src repository Modified files: sys/compat/linux linux_stats.c sys/kern vfs_syscalls.c Log: If we need to hide fsid, kern_statfs()/kern_fstatfs() will do it for us, so do not duplicate the code in cvtstatfs(). Note, that we now need to clear fsid in freebsd4_getfsstat(). This moves all security related checks from functions like cvtstatfs() and will allow to add more security related stuff (like statfs(2), etc. protection for jails) a bit easier. Revision Changes Path 1.68 +2 -7 src/sys/compat/linux/linux_stats.c 1.379 +3 -5 src/sys/kern/vfs_syscalls.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505222152.j4MLqUpN086785>