freebsd-dev/sys/fs
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
..
cd9660 Introduce typedefs for the member functions of struct vfsops and employ 2002-08-13 10:05:50 +00:00
coda Fix typo in the last revision. 2002-08-04 19:34:38 +00:00
deadfs - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
devfs Introduce typedefs for the member functions of struct vfsops and employ 2002-08-13 10:05:50 +00:00
fdescfs Make similar changes to fo_stat() and fo_poll() as made earlier to 2002-08-16 12:52:03 +00:00
fifofs In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +00:00
hpfs - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
msdosfs When a cluster entry for ``.'' is set to 0, msdosfs fails to handle it 2002-08-16 05:13:42 +00:00
ntfs - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
nullfs - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
nwfs - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
portalfs - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
procfs Fixed 64bit big endian bugs relating to abuse of ioctl argument passing. 2002-08-15 06:16:10 +00:00
pseudofs - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
smbfs - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
specfs - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
udf Clean up comments that are no longer relevant. 2002-08-15 03:50:06 +00:00
umapfs - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
unionfs - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00