Skip to content

Commit bddf5f5

Browse files
thestingerrandomhydrosol
authored andcommitted
remove base app app_data_file execute_no_trans
Signed-off-by: anupritaisno1 <[email protected]>
1 parent 5f5750b commit bddf5f5

File tree

4 files changed

+0
-22
lines changed

4 files changed

+0
-22
lines changed

prebuilts/api/30.0/private/untrusted_base_app_25.te

-6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ allow untrusted_base_app_25 proc_misc:file r_file_perms;
2626
# This will go away in a future Android release
2727
allow untrusted_base_app_25 proc_tty_drivers:file r_file_perms;
2828

29-
# The ability to call exec() on files in the apps home directories
30-
# for targetApi<=25. This is also allowed for targetAPIs 26, 27,
31-
# and 28 in untrusted_app_27.te.
32-
allow untrusted_base_app_25 app_data_file:file execute_no_trans;
33-
auditallow untrusted_base_app_25 app_data_file:file { execute execute_no_trans };
34-
3529
# The ability to invoke dex2oat. Historically required by ART, now only
3630
# allowed for targetApi<=28 for compat reasons.
3731
allow untrusted_base_app_25 dex2oat_exec:file rx_file_perms;

prebuilts/api/30.0/private/untrusted_base_app_27.te

-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ untrusted_app_domain(untrusted_base_app_27)
1515
net_domain(untrusted_base_app_27)
1616
bluetooth_domain(untrusted_base_app_27)
1717

18-
# The ability to call exec() on files in the apps home directories
19-
# for targetApi 26, 27, and 28.
20-
allow untrusted_base_app_27 app_data_file:file execute_no_trans;
21-
auditallow untrusted_base_app_27 app_data_file:file { execute execute_no_trans };
22-
2318
# The ability to invoke dex2oat. Historically required by ART, now only
2419
# allowed for targetApi<=28 for compat reasons.
2520
allow untrusted_base_app_27 dex2oat_exec:file rx_file_perms;

private/untrusted_base_app_25.te

-6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ allow untrusted_base_app_25 proc_misc:file r_file_perms;
2626
# This will go away in a future Android release
2727
allow untrusted_base_app_25 proc_tty_drivers:file r_file_perms;
2828

29-
# The ability to call exec() on files in the apps home directories
30-
# for targetApi<=25. This is also allowed for targetAPIs 26, 27,
31-
# and 28 in untrusted_app_27.te.
32-
allow untrusted_base_app_25 app_data_file:file execute_no_trans;
33-
auditallow untrusted_base_app_25 app_data_file:file { execute execute_no_trans };
34-
3529
# The ability to invoke dex2oat. Historically required by ART, now only
3630
# allowed for targetApi<=28 for compat reasons.
3731
allow untrusted_base_app_25 dex2oat_exec:file rx_file_perms;

private/untrusted_base_app_27.te

-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ untrusted_app_domain(untrusted_base_app_27)
1515
net_domain(untrusted_base_app_27)
1616
bluetooth_domain(untrusted_base_app_27)
1717

18-
# The ability to call exec() on files in the apps home directories
19-
# for targetApi 26, 27, and 28.
20-
allow untrusted_base_app_27 app_data_file:file execute_no_trans;
21-
auditallow untrusted_base_app_27 app_data_file:file { execute execute_no_trans };
22-
2318
# The ability to invoke dex2oat. Historically required by ART, now only
2419
# allowed for targetApi<=28 for compat reasons.
2520
allow untrusted_base_app_27 dex2oat_exec:file rx_file_perms;

0 commit comments

Comments
 (0)