Skip to content
Snippets Groups Projects
Commit 70159fd3 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep
Browse files

Enforce restrictions on kernel module origin

Do not allow module loading except from the system, vendor,
and boot partitions.

Bug: 27824855
Change-Id: Ifc012e47c5677190c7cc564f9d48af8c7d0982e1
parent a16b0589
No related branches found
No related tags found
No related merge requests found
......@@ -545,3 +545,8 @@ neverallow {
-ueventd
-vold
} fuse_device:chr_file *;
# Enforce restrictions on kernel module origin.
# Do not allow kernel module loading except from system,
# vendor, and boot partitions.
neverallow * ~{ system_file rootfs }:system module_load;
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