freebsd-skq/sys/compat/linux
jhb dc2e474f79 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
..
linux_file.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
linux_getcwd.c Remove __P. 2002-03-20 05:48:58 +00:00
linux_ioctl.c fix file descriptor leak. 2002-02-20 17:06:37 +00:00
linux_ioctl.h Deal with a few issues that cropped up following the recent changes 2001-11-19 15:43:50 +00:00
linux_ipc.c Introduce [IPC|SHM]_[INFO|STAT] to shmctl to make 2001-10-28 09:29:10 +00:00
linux_ipc.h Remove __P. 2002-03-20 05:48:58 +00:00
linux_mib.c o Introduce pr_mtx into struct prison, providing protection for the 2001-12-03 16:12:27 +00:00
linux_mib.h Fixed some style bugs in the removal of __P(()). Tabs before "__P((" 2002-03-24 04:04:50 +00:00
linux_misc.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
linux_signal.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
linux_signal.h Remove __P. 2002-03-20 05:48:58 +00:00
linux_socket.c Fix missing holdsock()->fgetsock() 2001-11-17 18:43:13 +00:00
linux_socket.h
linux_stats.c Replace ffind_* with fget calls. 2002-01-14 00:13:45 +00:00
linux_sysctl.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
linux_uid16.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
linux_util.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
linux_util.h Remove __P. 2002-03-20 05:48:58 +00:00