diff options
| author | Casey Schaufler <[email protected]> | 2021-05-21 18:21:16 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2021-09-20 02:40:51 +0000 |
| commit | d9d8c93938c40e12de91650d04fceb99d92dad8a (patch) | |
| tree | 9b47eec297d798926b22e80ce894e23890bd41e9 /drivers/fpga/fpga-mgr.c | |
| parent | selinux: add support for the io_uring access controls (diff) | |
| download | kernel-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
