Merge "sepolicy_vndr: remove unused cnd rules."
This commit is contained in:
commit
3411ac6de1
2 changed files with 0 additions and 22 deletions
11
generic/vendor/common/te_macros
vendored
11
generic/vendor/common/te_macros
vendored
|
@ -72,17 +72,6 @@ allow $1 vendor_per_mgr_service:service_manager find;
|
|||
get_prop($1, vendor_per_mgr_state_prop);
|
||||
')
|
||||
|
||||
#####################################
|
||||
# cnd_nims_socket_perm(clientdomain)
|
||||
# allow vendor_cnd to read /proc/pid/cmdline to get appname
|
||||
# allow vendor_cnd to use inet socket created by app.
|
||||
define(`cnd_nims_socket_perm', `
|
||||
allow vendor_cnd $1:dir r_dir_perms;
|
||||
allow vendor_cnd $1:file r_file_perms;
|
||||
allow vendor_cnd $1:fd use;
|
||||
allow vendor_cnd $1:tcp_socket rw_socket_perms;
|
||||
')
|
||||
|
||||
#####################################
|
||||
# diag_use(clientdomain)
|
||||
# allow clientdomain to read/write to diag
|
||||
|
|
11
legacy/vendor/common/te_macros
vendored
11
legacy/vendor/common/te_macros
vendored
|
@ -73,17 +73,6 @@ allow $1 vendor_per_mgr_service:service_manager find;
|
|||
get_prop($1, vendor_per_mgr_state_prop);
|
||||
')
|
||||
|
||||
#####################################
|
||||
# cnd_nims_socket_perm(clientdomain)
|
||||
# allow cnd to read /proc/pid/cmdline to get appname
|
||||
# allow cnd to use inet socket created by app.
|
||||
define(`cnd_nims_socket_perm', `
|
||||
allow cnd $1:dir r_dir_perms;
|
||||
allow cnd $1:file r_file_perms;
|
||||
allow cnd $1:fd use;
|
||||
allow cnd $1:tcp_socket rw_socket_perms;
|
||||
')
|
||||
|
||||
#####################################
|
||||
# diag_use(clientdomain)
|
||||
# allow clientdomain to read/write to diag
|
||||
|
|
Loading…
Reference in a new issue