sepolicy: qti: Allow cnss-daemon to access bdwlan.bin

Change-Id: I96375359bf4be92849a7969c4dfa13e13886ff70
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
This commit is contained in:
Omkar Chandorkar
2022-10-22 12:11:46 +05:30
committed by LuK1337
parent 159cbb52a0
commit 2f78330e8b
2 changed files with 10 additions and 0 deletions

View File

@@ -15,3 +15,12 @@ define(`rw_dir_file', `
allow $1 $2:dir r_dir_perms;
allow $1 $2:{ file lnk_file } rw_file_perms;
')
#####################################
# create_dir_file(domain, type)
# Allow the specified domain to read directories and create files
# and symbolic links of the specified type.
define(`create_dir_file', `
allow $1 $2:dir r_dir_perms;
allow $1 $2:{ file lnk_file } create_file_perms;
')

View File

@@ -0,0 +1 @@
create_dir_file(vendor_wcnss_service, mnt_vendor_file)