Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2002 23:52:21 -0700 (PDT)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_mount.c src/sys/sys mount.h src/sys/security/lomac kernel_util.c
Message-ID:  <200208190652.g7J6qLLK010002@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2002/08/18 23:52:21 PDT

  Modified files:
    sys/kern             vfs_mount.c 
    sys/sys              mount.h 
    sys/security/lomac   kernel_util.c 
  Log:
  Keep a copy of the credential used to mount filesystems around so
  we can check and use it later on.
  
  Change the pieces of code which relied on mount->mnt_stat.f_owner
  to check which user mounted the filesystem.
  
  This became needed as the EA code needs to be able to allocate
  blocks for "system" EA users like ACLs.
  
  There seems to be some half-baked (probably only quarter- actually)
  notion that the superuser for a given filesystem is the user who
  mounted it, but this has far from been carried through.  It is
  unclear if it should be.
  
  Sponsored by: DARPA & NAI Labs.
  
  Revision  Changes    Path
  1.83      +7 -3      src/sys/kern/vfs_mount.c
  1.8       +1 -1      src/sys/security/lomac/kernel_util.c
  1.140     +1 -0      src/sys/sys/mount.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208190652.g7J6qLLK010002>