Skip to content

Commit

Permalink
Allow cifs.idmap helper to set attributes on kernel keys
Browse files Browse the repository at this point in the history
Fixes:
type=AVC msg=audit(1732584010.899:9249): avc:  denied  { setattr } for  pid=1927557 comm="cifs.idmap" scontext=system_u:system_r:cifs_helper_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=key permissive=0

Resolves: rhbz#2328821
Signed-off-by: Ondrej Mosnacek <[email protected]>
  • Loading branch information
WOnder93 authored and zpytela committed Dec 11, 2024
1 parent 5eb01e1 commit 3dea9b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions policy/modules/contrib/cifsutils.te
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ allow cifs_helper_t self:tcp_socket create_stream_socket_perms;
allow cifs_helper_t self:udp_socket create_socket_perms;

kernel_view_key(cifs_helper_t)
kernel_setattr_key(cifs_helper_t)

corenet_tcp_connect_kerberos_port(cifs_helper_t)

Expand Down

0 comments on commit 3dea9b1

Please sign in to comment.