mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
d49fa1ca6e
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 |
||
---|---|---|
.. | ||
drm_agpsupport.h | ||
drm_auth.h | ||
drm_bufs.h | ||
drm_context.h | ||
drm_dma.h | ||
drm_drawable.h | ||
drm_drv.h | ||
drm_fops.h | ||
drm_init.h | ||
drm_ioctl.h | ||
drm_linux.h | ||
drm_lists.h | ||
drm_lock.h | ||
drm_memory.h | ||
drm_os_freebsd.h | ||
drm_scatter.h | ||
drm_sysctl.h | ||
drm_vm.h | ||
drm.h | ||
drmP.h | ||
gamma_dma.c | ||
gamma_drv.c | ||
gamma_drv.h | ||
gamma.h | ||
i810_drm.h | ||
mga_dma.c | ||
mga_drm.h | ||
mga_drv.c | ||
mga_drv.h | ||
mga_state.c | ||
mga_ucode.h | ||
mga_warp.c | ||
mga.h | ||
r128_cce.c | ||
r128_drm.h | ||
r128_drv.c | ||
r128_drv.h | ||
r128_state.c | ||
r128.h | ||
radeon_cp.c | ||
radeon_drm.h | ||
radeon_drv.c | ||
radeon_drv.h | ||
radeon_state.c | ||
radeon.h | ||
sis_drm.h | ||
tdfx_drv.c | ||
tdfx.h |