Skip to content
Commit d9d8c939 authored by Casey Schaufler's avatar Casey Schaufler Committed by Paul Moore
Browse files

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: default avatarCasey Schaufler <casey@schaufler-ca.com>
[PM: make the smack_uring_* funcs static, remove debug code]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 740b0341
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment