aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorCasey Schaufler <[email protected]>2021-05-21 18:21:16 +0000
committerPaul Moore <[email protected]>2021-09-20 02:40:51 +0000
commitd9d8c93938c40e12de91650d04fceb99d92dad8a (patch)
tree9b47eec297d798926b22e80ce894e23890bd41e9 /drivers/fpga/fpga-mgr.c
parentselinux: add support for the io_uring access controls (diff)
downloadkernel-d9d8c93938c40e12de91650d04fceb99d92dad8a.tar.gz
kernel-d9d8c93938c40e12de91650d04fceb99d92dad8a.zip
Smack: Brutalist io_uring support
Add Smack privilege checks for io_uring. Use CAP_MAC_OVERRIDE for the override_creds case and CAP_MAC_ADMIN for creating a polling thread. These choices are based on conjecture regarding the intent of the surrounding code. Signed-off-by: Casey Schaufler <[email protected]> [PM: make the smack_uring_* funcs static, remove debug code] Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions