freebsd-skq/sys/compat/svr4
Robert Watson d49fa1ca6e In continuation of early fileop credential changes, modify fo_ioctl() to
accept an 'active_cred' argument reflecting the credential of the thread
initiating the ioctl operation.

- Change fo_ioctl() to accept active_cred; change consumers of the
  fo_ioctl() interface to generally pass active_cred from td->td_ucred.
- In fifofs, initialize filetmp.f_cred to ap->a_cred so that the
  invocations of soo_ioctl() are provided access to the calling f_cred.
  Pass ap->a_td->td_ucred as the active_cred, but note that this is
  required because we don't yet distinguish file_cred and active_cred
  in invoking VOP's.
- Update kqueue_ioctl() for its new argument.
- Update pipe_ioctl() for its new argument, pass active_cred rather
  than td_ucred to MAC for authorization.
- Update soo_ioctl() for its new argument.
- Update vn_ioctl() for its new argument, use active_cred rather than
  td->td_ucred to authorize VOP_IOCTL() and the associated VOP_GETATTR().

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-08-17 02:36:16 +00:00
..
imgact_svr4.c - Add the missing td argument to vn_lock that I missed in my last commit. 2002-08-13 20:34:30 +00:00
Makefile Fix typo. 2001-09-13 22:02:48 +00:00
svr4_acl.h
svr4_dirent.h
svr4_errno.h
svr4_exec.h correct commented out preprocessor test for i386 to __i386__ 2002-05-30 07:28:43 +00:00
svr4_fcntl.c In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +00:00
svr4_fcntl.h Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-08-31 22:54:09 +00:00
svr4_filio.c In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +00:00
svr4_filio.h
svr4_fuser.h Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-08-31 22:54:09 +00:00
svr4_hrt.h
svr4_ioctl.c Back out my lats commit of locking down a socket, it conflicts with hsu's work. 2002-05-31 11:52:35 +00:00
svr4_ioctl.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_ipc.c Remove __P. 2002-03-20 05:48:58 +00:00
svr4_ipc.h
svr4_misc.c On MAC check failure for readdir, use 'goto out' to use the common exit 2002-08-15 15:46:10 +00:00
svr4_mman.h
svr4_proto.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_resource.c Remove __P. 2002-03-20 05:48:58 +00:00
svr4_resource.h
svr4_siginfo.h
svr4_signal.c Moved signal handling and rescheduling from userret() to ast() so that 2002-04-04 17:49:48 +00:00
svr4_signal.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_socket.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_socket.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_sockio.c In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +00:00
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
svr4_stat.h Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-08-31 22:54:09 +00:00
svr4_statvfs.h
svr4_stream.c In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +00:00
svr4_stropts.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_syscall.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_syscallnames.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_sysconfig.h
svr4_sysent.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_systeminfo.h
svr4_sysvec.c Infrastructure tweaks to allow having both an Elf32 and an Elf64 executable 2002-07-20 02:56:12 +00:00
svr4_termios.c In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +00:00
svr4_termios.h
svr4_time.h
svr4_timod.h
svr4_ttold.c In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +00:00
svr4_ttold.h
svr4_types.h
svr4_ucontext.h
svr4_ulimit.h
svr4_ustat.h Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-08-31 22:54:09 +00:00
svr4_util.h Remove __P. 2002-03-20 05:48:58 +00:00
svr4_utsname.h Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-08-31 22:54:09 +00:00
svr4_wait.h
svr4.h
syscalls.conf
syscalls.master Synchronize syscalls.master(s) with recent Giant pushdown work 2001-09-01 19:36:48 +00:00