Skip to content
Snippets Groups Projects
Commit eecdbb83 authored by William Roberts's avatar William Roberts Committed by android-build-merger
Browse files

Merge "domain: neverallow on setfcap" am: e112faea

am: 14742b0f

Change-Id: I42974e68c2b1bfb57034df20e6bb8fab600eaa19
parents 04f9ac37 14742b0f
No related branches found
No related tags found
No related merge requests found
......@@ -653,3 +653,10 @@ neverallow {
# Do not allow kernel module loading except from system,
# vendor, and boot partitions.
neverallow * ~{ system_file rootfs }:system module_load;
# Only allow filesystem caps to be set at build time or
# during upgrade by recovery.
neverallow {
domain
-recovery
} self:capability setfcap;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment