Skip to content

Commit 0f0954c

Browse files
author
android-build-team Robot
committed
Snap for 6736586 from df3b4ea to rvc-qpr1-release
Change-Id: I2dfdd0141a1d05961dc060a440d2191b33d8f600
2 parents 6c87df6 + df3b4ea commit 0f0954c

File tree

2 files changed

+2
-2
lines changed
  • prebuilts/api/30.0/private
  • private

2 files changed

+2
-2
lines changed

prebuilts/api/30.0/private/mls

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ mlsconstrain dir_file_class_set { create relabelfrom relabelto }
5454
# Only constrain open, not read/write.
5555
# Also constrain other forms of manipulation, e.g. chmod/chown, unlink, rename, etc.
5656
# Subject must dominate object unless the subject is trusted.
57-
mlsconstrain dir { open search setattr rename add_name remove_name reparent rmdir }
57+
mlsconstrain dir { open search getattr setattr rename add_name remove_name reparent rmdir }
5858
( (t2 != app_data_file and t2 != privapp_data_file ) or l1 dom l2 or t1 == mlstrustedsubject);
5959
mlsconstrain { file sock_file } { open setattr unlink link rename }
6060
( (t2 != app_data_file and t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 == mlstrustedsubject);

private/mls

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ mlsconstrain dir_file_class_set { create relabelfrom relabelto }
5454
# Only constrain open, not read/write.
5555
# Also constrain other forms of manipulation, e.g. chmod/chown, unlink, rename, etc.
5656
# Subject must dominate object unless the subject is trusted.
57-
mlsconstrain dir { open search setattr rename add_name remove_name reparent rmdir }
57+
mlsconstrain dir { open search getattr setattr rename add_name remove_name reparent rmdir }
5858
( (t2 != app_data_file and t2 != privapp_data_file ) or l1 dom l2 or t1 == mlstrustedsubject);
5959
mlsconstrain { file sock_file } { open setattr unlink link rename }
6060
( (t2 != app_data_file and t2 != privapp_data_file and t2 != appdomain_tmpfs) or l1 dom l2 or t1 == mlstrustedsubject);

0 commit comments

Comments
 (0)