Skip to content
Snippets Groups Projects
Commit eb036bd0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "kernel: neverallow dac_{override,read_search} perms"

parents 3355de13 3927086d
No related branches found
No related tags found
No related merge requests found
......@@ -90,3 +90,8 @@ neverallow * kernel:process { transition dyntransition };
# - You are running an exploit which switched to the init task credentials
# and is then trying to exec a shell or other program. You lose!
neverallow kernel *:file { entrypoint execute_no_trans };
# the kernel should not be accessing files owned by other users.
# Instead of adding dac_{read_search,override}, fix the unix permissions
# on files being accessed.
neverallow kernel self:capability { dac_override dac_read_search };
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