Skip to content

Commit 438b1de

Browse files
authored
Merge pull request #1090 from sasikuma-qti/main
kmod: add net_admin capability to kmod_t
2 parents b66c51c + 113205a commit 438b1de

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

policy/modules/system/modutils.te

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ifdef(`init_systemd',`
3333
# insmod local policy
3434
#
3535

36-
allow kmod_t self:capability { dac_override dac_read_search net_raw sys_nice sys_tty_config };
36+
allow kmod_t self:capability { dac_override dac_read_search net_raw net_admin sys_nice sys_tty_config };
3737
allow kmod_t self:process { execmem sigchld sigkill signal signull sigstop };
3838
# for the radeon/amdgpu modules
3939
dontaudit kmod_t self:capability sys_admin;

testing/sechecker.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ exempt_source = arpwatch_t
273273
iscsid_t
274274
kernel_t
275275
kismet_t
276+
kmod_t # See https://lore.kernel.org/selinux/c247a57d-b4a9-4c77-9334-c338e5457a48@oss.qualcomm.com/
276277
krb5kdc_t
277278
kubeadm_t
278279
kubelet_t

0 commit comments

Comments
 (0)