mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 05:17:59 +00:00
libapparmor tests: add io_uring denied logs
Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
This commit is contained in:
parent
eb801d8ccf
commit
6c8331a7d0
@ -0,0 +1 @@
|
|||||||
|
[ 4584.703379] audit: type=1400 audit(1680266735.359:69): apparmor="DENIED" operation="uring_sqpoll" class="io_uring" profile="/root/apparmor/tests/regression/apparmor/io_uring" pid=1320 comm="io_uring" requested="sqpoll" denied="sqpoll"
|
@ -0,0 +1,13 @@
|
|||||||
|
START
|
||||||
|
File: testcase_io_uring_01.in
|
||||||
|
Event type: AA_RECORD_DENIED
|
||||||
|
Audit ID: 1680266735.359:69
|
||||||
|
Operation: uring_sqpoll
|
||||||
|
Mask: sqpoll
|
||||||
|
Denied Mask: sqpoll
|
||||||
|
Profile: /root/apparmor/tests/regression/apparmor/io_uring
|
||||||
|
Command: io_uring
|
||||||
|
PID: 1320
|
||||||
|
Class: io_uring
|
||||||
|
Epoch: 1680266735
|
||||||
|
Audit subid: 69
|
@ -0,0 +1,4 @@
|
|||||||
|
/root/apparmor/tests/regression/apparmor/io_uring {
|
||||||
|
io_uring sqpoll,
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
[ 4584.491076] audit: type=1400 audit(1680266735.147:63): apparmor="DENIED" operation="uring_override" class="io_uring" profile="/root/apparmor/tests/regression/apparmor/io_uring" pid=1193 comm="io_uring" requested="override_creds" denied="override_creds" tcontext="/root/apparmor/tests/regression/apparmor/io_uring"
|
@ -0,0 +1,14 @@
|
|||||||
|
START
|
||||||
|
File: testcase_io_uring_02.in
|
||||||
|
Event type: AA_RECORD_DENIED
|
||||||
|
Audit ID: 1680266735.147:63
|
||||||
|
Operation: uring_override
|
||||||
|
Mask: override_creds
|
||||||
|
Denied Mask: override_creds
|
||||||
|
Profile: /root/apparmor/tests/regression/apparmor/io_uring
|
||||||
|
Peer profile: /root/apparmor/tests/regression/apparmor/io_uring
|
||||||
|
Command: io_uring
|
||||||
|
PID: 1193
|
||||||
|
Class: io_uring
|
||||||
|
Epoch: 1680266735
|
||||||
|
Audit subid: 63
|
@ -0,0 +1,4 @@
|
|||||||
|
/root/apparmor/tests/regression/apparmor/io_uring {
|
||||||
|
io_uring override_creds label=/root/apparmor/tests/regression/apparmor/io_uring,
|
||||||
|
|
||||||
|
}
|
@ -170,6 +170,9 @@ log_to_profile_skip = [
|
|||||||
|
|
||||||
'testcase_changehat_01', # interactive, asks to add a hat
|
'testcase_changehat_01', # interactive, asks to add a hat
|
||||||
'testcase_dbus_09', # multiline log not currently supported
|
'testcase_dbus_09', # multiline log not currently supported
|
||||||
|
|
||||||
|
'testcase_io_uring_01', # io_uring currently no supported
|
||||||
|
'testcase_io_uring_02',
|
||||||
]
|
]
|
||||||
|
|
||||||
# tests that cause an empty log
|
# tests that cause an empty log
|
||||||
|
Loading…
x
Reference in New Issue
Block a user