freebsd-skq/sys/compat/linux
rwatson 3246fbf45f 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
..
linux_file.c In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +00:00
linux_getcwd.c - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
linux_ioctl.c In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +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 Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
linux_ipc.h Remove __P. 2002-03-20 05:48:58 +00:00
linux_mib.c sysctl -w -> sysctl 2002-05-11 06:06:11 +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 - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
linux_signal.c Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
linux_signal.h Remove __P. 2002-03-20 05:48:58 +00:00
linux_socket.c Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
linux_socket.h Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
linux_stats.c Make similar changes to fo_stat() and fo_poll() as made earlier to 2002-08-16 12:52:03 +00:00
linux_sysctl.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
linux_uid16.c Rework logic of syscalls that modify process credentials as described in 2002-04-13 23:11:23 +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