summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2023-05-23 20:54:37 +0300
committerSemavi Ulusoy <doc.divxm@gmail.com>2023-05-31 21:34:50 +0200
commit302a71411bf69552cbdbf457fd75ca9c622a88c2 (patch)
tree8be9a1c7bd7ebc29bebd8d90577f62ff28884f95
parente220dd97cdab7f41bc7300b0e6d5e6fb7e188da0 (diff)
sepolicy: qti: Move rw_dir_file/create_dir_file macros to commont13.0
Change-Id: Ic458244d4b6c14b293419dcbc856bf1166051c2a
-rw-r--r--sepolicy/qti/public/te_macros18
1 files changed, 0 insertions, 18 deletions
diff --git a/sepolicy/qti/public/te_macros b/sepolicy/qti/public/te_macros
index 2361dee..600b5bb 100644
--- a/sepolicy/qti/public/te_macros
+++ b/sepolicy/qti/public/te_macros
@@ -6,21 +6,3 @@ attribute vendor_hal_$1;
attribute vendor_hal_$1_client;
attribute vendor_hal_$1_server;
')
-
-#####################################
-# rw_dir_file(domain, type)
-# Allow the specified domain to read directories and rw files
-# and symbolic links of the specified type.
-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;
-')