Skip to content
Snippets Groups Projects
Commit 408f9ddd authored by dcashman's avatar dcashman Committed by Android Git Automerger
Browse files

am 4d4e7472: am 354710e4: Prevent appdomain from creating globally readable symlinks.

* commit '4d4e7472':
  Prevent appdomain from creating globally readable symlinks.
parents e1f39a0c 4d4e7472
No related branches found
No related tags found
No related merge requests found
...@@ -367,3 +367,14 @@ neverallow appdomain fs_type:filesystem ~getattr; ...@@ -367,3 +367,14 @@ neverallow appdomain fs_type:filesystem ~getattr;
# Ability to set system properties. # Ability to set system properties.
neverallow { appdomain -system_app -radio -shell -bluetooth -nfc } neverallow { appdomain -system_app -radio -shell -bluetooth -nfc }
property_type:property_service set; property_type:property_service set;
# prevent creation/manipulation of globally readable symlinks
neverallow appdomain {
apk_data_file
cache_file
dev_type
rootfs
system_file
security_file
tmpfs
}:lnk_file no_w_file_perms;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment