1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/i386/ibcs2
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
..
coff.h
ibcs2_dirent.h
ibcs2_errno.c
ibcs2_errno.h
ibcs2_fcntl.c Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_fcntl.h
ibcs2_ioctl.c Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_ioctl.h
ibcs2_ipc.c Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_ipc.h
ibcs2_isc_syscall.h
ibcs2_isc_sysent.c
ibcs2_isc.c
ibcs2_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
ibcs2_mount.h
ibcs2_msg.c
ibcs2_other.c Use td_ucred and thus remove now unneeded proc lock acquire and release. 2002-02-27 19:09:30 +00:00
ibcs2_poll.h
ibcs2_proto.h Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_signal.c Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_signal.h Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_socksys.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ibcs2_socksys.h Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_stat.c Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_stat.h
ibcs2_statfs.h
ibcs2_stropts.h
ibcs2_syscall.h
ibcs2_sysent.c
ibcs2_sysi86.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ibcs2_sysvec.c
ibcs2_termios.h
ibcs2_time.h
ibcs2_types.h
ibcs2_unistd.h
ibcs2_ustat.h
ibcs2_util.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
ibcs2_util.h Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_utime.h
ibcs2_utsname.h
ibcs2_xenix_syscall.h
ibcs2_xenix_sysent.c
ibcs2_xenix.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
ibcs2_xenix.h Remove __P. 2002-03-20 05:48:58 +00:00
imgact_coff.c Remove __P. 2002-03-20 05:48:58 +00:00
Makefile
syscalls.conf
syscalls.isc
syscalls.isc.conf
syscalls.master
syscalls.xenix
syscalls.xenix.conf