cvs commit: src/sys/compat/linux linux_stats.c src/sys/kern vfs_syscalls.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun May 22 14:52:31 PDT 2005


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


More information about the cvs-all mailing list