Skip to content

Commit

Permalink
sepolicy: whitelist recovery from node creation neverallow
Browse files Browse the repository at this point in the history
Change-Id: If91584e58f3709c0b18eaf9ee12a0c057716f9f3
  • Loading branch information
aleasto authored and sbwml committed Oct 20, 2021
1 parent d81f6e3 commit f6ce1e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions prebuilts/api/30.0/public/domain.te
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ neverallow {
-init
-ueventd
-vold
-recovery
} self:global_capability_class_set mknod;

# No process can map low memory (< CONFIG_LSM_MMAP_MIN_ADDR).
Expand Down
1 change: 1 addition & 0 deletions public/domain.te
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ neverallow {
-init
-ueventd
-vold
-recovery
} self:global_capability_class_set mknod;

# No process can map low memory (< CONFIG_LSM_MMAP_MIN_ADDR).
Expand Down

0 comments on commit f6ce1e2

Please sign in to comment.