freebsd-skq/sys/security/lomac
Poul-Henning Kamp fee7d450d8 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.
2002-08-19 06:52:21 +00:00
..
kernel_interface.c - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
kernel_interface.h
kernel_lkm.c
kernel_log.c Get rid of warnings, there's no need to do preprocessor concatination of 2002-06-01 18:45:33 +00:00
kernel_log.h
kernel_mediate.c
kernel_mediate.h
kernel_mmap.c
kernel_monitor.c
kernel_monitor.h
kernel_pipe.c
kernel_pipe.h
kernel_plm.c
kernel_plm.h
kernel_socket.c
kernel_socket.h
kernel_util.c Keep a copy of the credential used to mount filesystems around so 2002-08-19 06:52:21 +00:00
kernel_util.h
lomac.h
lomacfs_subr.c - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
lomacfs_vfsops.c - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
lomacfs_vnops.c - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
lomacfs.h
lomacio.h
policy_plm.h
syscall_gate.c
syscall_gate.h