freebsd-skq/sys/dev/aac
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
..
aac_cam.c Fix GET_TRAN_SETTINGS to be more correct. 2002-08-10 19:55:00 +00:00
aac_cam.h Add a CAM interface to the aac driver. This is useful in case you should 2002-04-27 01:31:17 +00:00
aac_compat.h Bring the aac driver *much* closer to style(9). 2001-09-05 20:43:02 +00:00
aac_debug.c Fix deprecated use of label at end of compound statement 2002-05-24 05:58:13 +00:00
aac_disk.c Add a CAM interface to the aac driver. This is useful in case you should 2002-04-27 01:31:17 +00:00
aac_ioctl.h Bring the aac driver *much* closer to style(9). 2001-09-05 20:43:02 +00:00
aac_pci.c Fix GET_TRAN_SETTINGS to be more correct. 2002-08-10 19:55:00 +00:00
aac_tables.h MFS: Use correct terminology for RAID 0/1 and 0/5. 2001-12-04 02:39:06 +00:00
aac.c In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +00:00
aacreg.h More s/file system/filesystem/g 2002-05-16 21:28:32 +00:00
aacvar.h Constify a debug function arg that we pass __func__ to in order to pacify 2002-05-24 05:57:47 +00:00