Skip to content

Commit 1c743bd

Browse files
renlordrandomhydrosol
authored andcommitted
remove base system app execmod
Signed-off-by: anupritaisno1 <[email protected]>
1 parent f4c9505 commit 1c743bd

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

prebuilts/api/30.0/private/untrusted_base_app_25.te

-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +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-
# Text relocation support for API < 23. This is now disallowed for targetSdkVersion>=Q.
30-
# https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
31-
allow untrusted_base_app_25 { apk_data_file app_data_file asec_public_file }:file execmod;
32-
3329
# The ability to call exec() on files in the apps home directories
3430
# for targetApi<=25. This is also allowed for targetAPIs 26, 27,
3531
# and 28 in untrusted_app_27.te.

prebuilts/api/30.0/private/untrusted_base_app_27.te

-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +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-
# Text relocation support for API < 23. This is now disallowed for targetSdkVersion>=Q.
19-
# https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
20-
allow untrusted_base_app_27 { apk_data_file app_data_file asec_public_file }:file execmod;
21-
2218
# The ability to call exec() on files in the apps home directories
2319
# for targetApi 26, 27, and 28.
2420
allow untrusted_base_app_27 app_data_file:file execute_no_trans;

private/untrusted_base_app_25.te

-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +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-
# Text relocation support for API < 23. This is now disallowed for targetSdkVersion>=Q.
30-
# https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
31-
allow untrusted_base_app_25 { apk_data_file app_data_file asec_public_file }:file execmod;
32-
3329
# The ability to call exec() on files in the apps home directories
3430
# for targetApi<=25. This is also allowed for targetAPIs 26, 27,
3531
# and 28 in untrusted_app_27.te.

private/untrusted_base_app_27.te

-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +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-
# Text relocation support for API < 23. This is now disallowed for targetSdkVersion>=Q.
19-
# https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#text-relocations-enforced-for-api-level-23
20-
allow untrusted_base_app_27 { apk_data_file app_data_file asec_public_file }:file execmod;
21-
2218
# The ability to call exec() on files in the apps home directories
2319
# for targetApi 26, 27, and 28.
2420
allow untrusted_base_app_27 app_data_file:file execute_no_trans;

0 commit comments

Comments
 (0)