sepolicy: Changes to allow kill capability
-- Fix for netmgrd kill permission denial. Change-Id: I4360fe357f9ff22ce2a690fcf613a0dba2bf26ec
This commit is contained in:
parent
3b13a1dd32
commit
a533b0abeb
2 changed files with 2 additions and 1 deletions
2
generic/vendor/common/netmgrd.te
vendored
2
generic/vendor/common/netmgrd.te
vendored
|
@ -80,7 +80,7 @@ allow vendor_netmgrd system_net_netd_hwservice:hwservice_manager find;
|
|||
set_prop(vendor_netmgrd, vendor_data_shsusr_prop)
|
||||
set_prop(vendor_netmgrd, vendor_data_qmipriod_prop)
|
||||
|
||||
allow vendor_netmgrd self:capability { net_admin net_raw setgid setpcap setuid };
|
||||
allow vendor_netmgrd self:capability { net_admin net_raw setgid setpcap setuid kill };
|
||||
|
||||
allow vendor_netmgrd vendor_toolbox_exec:file rx_file_perms;
|
||||
|
||||
|
|
1
legacy/vendor/common/netmgrd.te
vendored
1
legacy/vendor/common/netmgrd.te
vendored
|
@ -46,6 +46,7 @@ allow netmgrd netmgrd:capability {
|
|||
setgid
|
||||
setuid
|
||||
setpcap
|
||||
kill
|
||||
};
|
||||
|
||||
#Allow logging
|
||||
|
|
Loading…
Reference in a new issue