freebsd-skq/sys/dev/drm
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
..
drm_agpsupport.h
drm_auth.h Diff reduction to my experimental code: clean up return code handling. 2002-04-29 00:25:10 +00:00
drm_bufs.h More diff reduction: Shuffle around some header code as was done in 2002-04-29 18:18:42 +00:00
drm_context.h Diff reduction to my experimental code: clean up return code handling. 2002-04-29 00:25:10 +00:00
drm_dma.h Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__ 2002-05-31 23:19:50 +00:00
drm_drawable.h
drm_drv.h In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +00:00
drm_fops.h The first argument of pgsigio() is now struct sigio **. 2002-05-03 07:45:26 +00:00
drm_init.h
drm_ioctl.h Diff reduction to my experimental code: clean up return code handling. 2002-04-29 00:25:10 +00:00
drm_linux.h
drm_lists.h Diff reduction to my experimental code: clean up return code handling. 2002-04-29 00:25:10 +00:00
drm_lock.h
drm_memory.h Diff reduction to my experimental code: clean up return code handling. 2002-04-29 00:25:10 +00:00
drm_os_freebsd.h Remove <sys/select.h> to unbreak the build. I'm not sure if this affects 2002-06-16 21:50:42 +00:00
drm_scatter.h Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__ 2002-05-31 23:19:50 +00:00
drm_sysctl.h
drm_vm.h Diff reduction to my experimental code: clean up return code handling. 2002-04-29 00:25:10 +00:00
drm.h More diff reduction: Shuffle around some header code as was done in 2002-04-29 18:18:42 +00:00
drmP.h More diff reduction: Shuffle around some header code as was done in 2002-04-29 18:18:42 +00:00
gamma_dma.c Diff reduction to my experimental code: clean up return code handling. 2002-04-29 00:25:10 +00:00
gamma_drv.c
gamma_drv.h Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__ 2002-05-31 23:19:50 +00:00
gamma.h
i810_drm.h More diff reduction: Shuffle around some header code as was done in 2002-04-29 18:18:42 +00:00
mga_dma.c Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__ 2002-05-31 23:19:50 +00:00
mga_drm.h More diff reduction: Shuffle around some header code as was done in 2002-04-29 18:18:42 +00:00
mga_drv.c More diff reduction: Shuffle around some header code as was done in 2002-04-29 18:18:42 +00:00
mga_drv.h Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__ 2002-05-31 23:19:50 +00:00
mga_state.c Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__ 2002-05-31 23:19:50 +00:00
mga_ucode.h
mga_warp.c More diff reduction: Shuffle around some header code as was done in 2002-04-29 18:18:42 +00:00
mga.h
r128_cce.c Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__ 2002-05-31 23:19:50 +00:00
r128_drm.h More diff reduction: Shuffle around some header code as was done in 2002-04-29 18:18:42 +00:00
r128_drv.c More diff reduction: Shuffle around some header code as was done in 2002-04-29 18:18:42 +00:00
r128_drv.h Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__ 2002-05-31 23:19:50 +00:00
r128_state.c Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__ 2002-05-31 23:19:50 +00:00
r128.h
radeon_cp.c Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__ 2002-05-31 23:19:50 +00:00
radeon_drm.h More diff reduction: Shuffle around some header code as was done in 2002-04-29 18:18:42 +00:00
radeon_drv.c More diff reduction: Shuffle around some header code as was done in 2002-04-29 18:18:42 +00:00
radeon_drv.h Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__ 2002-05-31 23:19:50 +00:00
radeon_state.c Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__ 2002-05-31 23:19:50 +00:00
radeon.h
sis_drm.h More diff reduction: Shuffle around some header code as was done in 2002-04-29 18:18:42 +00:00
tdfx_drv.c
tdfx.h