freebsd-dev/sys/i386/linux
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
..
imgact_linux.c Remove __P. 2002-03-20 07:51:46 +00:00
linux_dummy.c Implement linux_chown and linux_lchown. The fchown syscall maps 2001-10-16 06:15:36 +00:00
linux_genassym.c Round of cleanups and enhancements. These include (in random order): 2001-09-08 19:07:04 +00:00
linux_locore.s Remove the leading underscore from all symbols defined in x86 asm 2001-02-25 06:29:04 +00:00
linux_machdep.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_proto.h Remove __P. 2002-03-20 07:51:46 +00:00
linux_syscall.h Implement linux_chown and linux_lchown. The fchown syscall maps 2001-10-16 06:15:36 +00:00
linux_sysent.c Implement linux_chown and linux_lchown. The fchown syscall maps 2001-10-16 06:15:36 +00:00
linux_sysvec.c Fixed some style bugs in the removal of __P(()). Continuation lines 2002-03-24 04:09:05 +00:00
linux.h In FreeBSD's ifreq, ifr_ifru.ifru_flags is an array of two chars, while Linux 2001-10-15 20:06:34 +00:00
Makefile Make the target a little bit more generic. 2000-11-01 08:47:34 +00:00
syscalls.conf
syscalls.master o Change prototype of linux_lchown and linux_chown so that the 2001-10-16 06:11:11 +00:00