Skip to content
Commit 41a2d575 authored by Roman Kubiak's avatar Roman Kubiak Committed by Casey Schaufler
Browse files

Kernel threads excluded from smack checks



Adds an ignore case for kernel tasks,
so that they can access all resources.

Since kernel worker threads are spawned with
floor label, they are severely restricted by
Smack policy. It is not an issue without onlycap,
as these processes also run with root,
so CAP_MAC_OVERRIDE kicks in. But with onlycap
turned on, there is no way to change the label
for these processes.

Signed-off-by: default avatarRoman Kubiak <r.kubiak@samsung.com>
Acked-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
parent 1eddfe8e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment