freebsd-skq/sys/security/lomac
phk 8346c2fde3 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 DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
kernel_lkm.c Change p_can{debug,see,sched,signal}()'s first argument to be a thread 2002-05-19 00:14:50 +00:00
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 DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
kernel_mediate.c DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
kernel_mediate.h DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
kernel_mmap.c Check for defined(__i386__) instead of just defined(i386) since the compiler 2002-05-30 07:32:58 +00:00
kernel_monitor.c DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
kernel_monitor.h DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
kernel_pipe.c DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
kernel_pipe.h DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
kernel_plm.c DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
kernel_plm.h DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
kernel_socket.c Back out my lats commit of locking down a socket, it conflicts with hsu's work. 2002-05-31 11:52:35 +00:00
kernel_socket.h DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
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 DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
lomac.h DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
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 DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
lomacio.h DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
policy_plm.h DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
syscall_gate.c DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
syscall_gate.h DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00