mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
tests: add write permission to output on dbus test profile
The profile generated by dbus did not include this rule which caused the following DENIED audit logs: [26937.013475] audit: type=1400 audit(1671046721.776:246): apparmor="DENIED" operation="getattr" class="file" profile="/home/georgia/apparmor/tests/regression/apparmor/dbus_message" name="/tmp/sdtest.5720-14413-VQMPsH/output.dbus_message" pid=5866 comm="dbus_message" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com> (cherry picked from commit 8d3aab9795a347219fa103ddd7fd898366c0965a) Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
de0762ad2c
commit
f9349fe462
@ -13,6 +13,7 @@ gendbusprofile()
|
||||
${__dbus_var_decl}
|
||||
$test {
|
||||
@{gen $test}
|
||||
$outfile w,
|
||||
unix,
|
||||
$@
|
||||
signal receive peer=unconfined,
|
||||
|
Loading…
x
Reference in New Issue
Block a user