common: sepolicy: legacy: define proc_boot_reason

Change-Id: I24f29c536503fc45f12b036ec2a96eb2d413ea23
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
This commit is contained in:
Jprimero15 2023-05-28 15:33:36 +08:00 committed by Joshua Primero
parent 2751d5571c
commit 384d73e77c
2 changed files with 4 additions and 0 deletions

View File

@ -221,6 +221,9 @@ type port_bridge_data_file, file_type, data_file_type;
#bluetooth firmware file types
type bt_firmware_file, file_type, contextmount_type, vendor_file_type;
#boot reason
type proc_boot_reason, fs_type, proc_type;
#needed by vold
type proc_dirty_ratio, fs_type, proc_type;

View File

@ -25,6 +25,7 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
genfscon proc /sys/kernel/boot_reason u:object_r:proc_boot_reason:s0
genfscon proc /debug/fwdump u:object_r:proc_wifi_dbg:s0
genfscon proc /debugdriver/driverdump u:object_r:proc_wifi_dbg:s0
genfscon proc /ath_pktlog/cld u:object_r:proc_wifi_dbg:s0