Skip to content
Snippets Groups Projects
Commit 0d6c65d1 authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Add no_x_file_perm to property related files. am: 50ba6318 am: b2af6f26

am: 05d2aefc

* commit '05d2aefc':
  Add no_x_file_perm to property related files.

Change-Id: Iec3a91f4a530951e501301e927edba0983e7932b
parents 37267ba4 05d2aefc
No related branches found
No related tags found
No related merge requests found
......@@ -288,10 +288,10 @@ neverallow { domain userdebug_or_eng(`-shell') } nativetest_data_file:file no_x_
# Only the init property service should write to /data/property and /dev/__properties__
neverallow { domain -init } property_data_file:dir no_w_dir_perms;
neverallow { domain -init } property_data_file:file no_w_file_perms;
neverallow { domain -init } property_type:file no_w_file_perms;
neverallow { domain -init } properties_device:file no_w_file_perms;
neverallow { domain -init } properties_serial:file no_w_file_perms;
neverallow { domain -init } property_data_file:file { no_w_file_perms no_x_file_perms };
neverallow { domain -init } property_type:file { no_w_file_perms no_x_file_perms };
neverallow { domain -init } properties_device:file { no_w_file_perms no_x_file_perms };
neverallow { domain -init } properties_serial:file { no_w_file_perms no_x_file_perms };
# Only recovery should be doing writes to /system
neverallow { domain -recovery } { system_file exec_type }:dir_file_class_set
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment