freebsd-nq/sys/security/lomac
John Baldwin 44731cab3b Change the suser() API to take advantage of td_ucred as well as do a
general cleanup of the API.  The entire API now consists of two functions
similar to the pre-KSE API.  The suser() function takes a thread pointer
as its only argument.  The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0.  The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.

Discussed on:	smp@
2002-04-01 21:31:13 +00:00
..
kernel_interface.c DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +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 DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
kernel_log.c DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +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 Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +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 DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +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 Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +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 DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
lomacfs_vfsops.c DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +00:00
lomacfs_vnops.c DBA update: pick the right DBA for various LOMAC copyrights. 2002-03-13 22:55:20 +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