From e19abd3bdfdcdc33273f8b70e5748ee470fe5384 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Mon, 20 Dec 2021 14:59:43 +0000 Subject: [PATCH] profiles/apparmor.d: Fix file_mmap violation for bsc#1192336. - Fix 'apparmor="DENIED" operation="file_mmap" profile="samba-bgqd" name="/usr/lib64/samba/samba-bgqd" pid=2876 comm="samba-bgqd" requested_mask="m" denied_mask="m" fsuid=0 ouid=0' entries appearing in SLE15-SP4 Signed-off-by: Noel Power --- profiles/apparmor.d/samba-bgqd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/apparmor.d/samba-bgqd b/profiles/apparmor.d/samba-bgqd index c81c64f18..7de33d94b 100644 --- a/profiles/apparmor.d/samba-bgqd +++ b/profiles/apparmor.d/samba-bgqd @@ -13,6 +13,8 @@ profile samba-bgqd /usr/lib*/samba/samba-bgqd { @{PROC}/sys/kernel/core_pattern r, @{run}/samba/samba-bgqd.pid wk, + /usr/lib*/samba/samba-bgqd m, + # Site-specific additions and overrides. See local/README for details. include if exists }