Skip to content

Commit

Permalink
Allow sysadm_t to create PF_KEY sockets
Browse files Browse the repository at this point in the history
This is needed to run selinux-testsuite as sysadm_t starting with:
SELinuxProject/selinux-testsuite@a9e631f

Signed-off-by: Ondrej Mosnacek <[email protected]>
  • Loading branch information
WOnder93 authored and zpytela committed Sep 4, 2024
1 parent 8346b7b commit 1559079
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions policy/modules/roles/sysadm.te
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ allow sysadm_t self:netlink_generic_socket create_socket_perms;
allow sysadm_t self:tipc_socket create_socket_perms;
allow sysadm_t self:sctp_socket create_socket_perms;
allow sysadm_t self:rawip_socket create_socket_perms;
allow sysadm_t self:key_socket create_socket_perms;

allow sysadm_t self:system all_system_perms;

Expand Down

0 comments on commit 1559079

Please sign in to comment.