Skip to content
Permalink
Browse files

sepolicy: add initial policy for cust

I was planning on doing this properly (maybe) at some point, but
this is necessary to fix formatting cust in recovery as make_ext4fs
doesn't have a security context to look up.
  • Loading branch information
Dazzozo committed Sep 29, 2013
1 parent 4c26eb7 commit 714788764d691205a3dce05af61dd5409e2506e4
Showing with 10 additions and 0 deletions.
  1. +6 −0 BoardConfig.mk
  2. +2 −0 sepolicy/file.te
  3. +2 −0 sepolicy/file_contexts
@@ -38,6 +38,12 @@ TARGET_USES_16BPPSURFACE_FOR_OPAQUE := true
ARCH_ARM_HIGH_OPTIMIZATION := true
ARCH_ARM_HAVE_32_BYTE_CACHE_LINES := true

BOARD_SEPOLICY_DIRS += device/huawei/u8815/sepolicy

BOARD_SEPOLICY_UNION += \
file_contexts \
file.te

TARGET_USES_ION := false

TARGET_BOOTLOADER_BOARD_NAME := u8815
@@ -0,0 +1,2 @@
# Carrier cust type
type cust_file, file_type;
@@ -0,0 +1,2 @@
# cust filesystem
/cust(/.*)? u:object_r:cust_file:s0

0 comments on commit 7147887

Please sign in to comment.
You can’t perform that action at this time.