freebsd-dev/sys/compat/svr4
Robert Watson 32f9753cfb Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in
some cases, move to priv_check() if it was an operation on a thread and
no other flags were present.

Eliminate caller-side jail exception checking (also now-unused); jail
privilege exception code now goes solely in kern_jail.c.

We can't yet eliminate suser() due to some cases in the KAME code where
a privilege check is performed and then used in many different deferred
paths.  Do, however, move those prototypes to priv.h.

Reviewed by:	csjp
Obtained from:	TrustedBSD Project
2007-06-12 00:12:01 +00:00
..
imgact_svr4.c
Makefile Housekeeping. Update for maintainers who have handed in their commit bits 2006-07-01 10:51:55 +00:00
svr4_acl.h
svr4_dirent.h
svr4_errno.h
svr4_exec.h
svr4_fcntl.c Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
svr4_fcntl.h
svr4_filio.c Replace custom file descriptor array sleep lock constructed using a mutex 2007-04-04 09:11:34 +00:00
svr4_filio.h
svr4_fuser.h
svr4_hrt.h
svr4_ioctl.c
svr4_ioctl.h
svr4_ipc.c Rework kern_semctl a bit to always assume the UIO_SYSSPACE case. This 2006-07-08 19:51:38 +00:00
svr4_ipc.h
svr4_misc.c Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
svr4_mman.h
svr4_proto.h Regen. 2006-11-11 21:49:08 +00:00
svr4_resource.c
svr4_resource.h
svr4_siginfo.h
svr4_signal.c
svr4_signal.h
svr4_socket.c Clean up the svr4 socket cache and streams code some to make it more easily 2006-07-21 20:40:13 +00:00
svr4_socket.h Clean up the svr4 socket cache and streams code some to make it more easily 2006-07-21 20:40:13 +00:00
svr4_sockio.c Use TAILQ_EMPTY instead of checking if TAILQ_FIRST is NULL. 2006-08-04 21:15:09 +00:00
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c Remove two hypothetical calls to suser() in ifdef'd (and uncompilable) 2006-09-02 08:18:22 +00:00
svr4_stat.h
svr4_statvfs.h
svr4_stream.c With socket code no longer in svr4_stream.c, MAC includes are no longer 2006-08-05 22:04:21 +00:00
svr4_stropts.h - Explicitly lock Giant to protect the fields in the svr4_strm structure 2006-07-28 16:56:17 +00:00
svr4_syscall.h Regen for MPSAFE flag removal. 2006-07-28 19:08:37 +00:00
svr4_syscallnames.c Regen for MPSAFE flag removal. 2006-07-28 19:08:37 +00:00
svr4_sysconfig.h
svr4_sysent.c Regen to propogate <prefix>_AUE_<mumble> changes as well as the earlier 2006-08-15 17:37:01 +00:00
svr4_systeminfo.h
svr4_sysvec.c Clean up the svr4 socket cache and streams code some to make it more easily 2006-07-21 20:40:13 +00:00
svr4_termios.c
svr4_termios.h
svr4_time.h
svr4_timod.h
svr4_ttold.c
svr4_ttold.h
svr4_types.h
svr4_ucontext.h
svr4_ulimit.h
svr4_ustat.h
svr4_util.h - Split out kern_accept(), kern_getpeername(), and kern_getsockname() for 2006-07-10 21:38:17 +00:00
svr4_utsname.h
svr4_wait.h
svr4.h
syscalls.conf - Remove unused sysvec variables from various syscalls.conf. 2006-08-15 17:25:55 +00:00
syscalls.master Now that all system calls are MPSAFE, retire the SYF_MPSAFE flag used to 2006-07-28 19:05:28 +00:00