Prevent sandbox executing from sdk_sandbox_data_file

Bug: 215105355
Test: make
Change-Id: I73c6a0d5034f194bf7149336fdac1db51a2b151d
This commit is contained in:
Bram Bonne 2022-04-25 13:28:52 +02:00
parent 34423ff138
commit 078b43cd40

View file

@ -47,7 +47,7 @@ allow sdk_sandbox sdk_sandbox_data_file:file create_file_perms;
### neverallow rules
###
neverallow sdk_sandbox { app_data_file privapp_data_file }:file { execute execute_no_trans };
neverallow sdk_sandbox { app_data_file privapp_data_file sdk_sandbox_data_file }:file { execute execute_no_trans };
# Receive or send uevent messages.
neverallow sdk_sandbox domain:netlink_kobject_uevent_socket *;