mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
This patch converts the C test program to only emit the basename(3) of the test input file under consideration, rather than the entire path as passed on the command line, and fixes up all the expected outputs to match. The reason to do this is to make it easier for other tools located in other directories (e.g. under libapparmor/swig) to use these same test cases with reduced special casing. Signed-off-by: Steve Beattie <steve@nxnw.org> Acked-by: Tyler Hicks <tyhicks@canonical.com>
22 lines
344 B
Plaintext
22 lines
344 B
Plaintext
START
|
|
File: testcase01.in
|
|
Event type: AA_RECORD_DENIED
|
|
Audit ID: 1181057184.959:7
|
|
Operation: exec
|
|
Mask: rwx
|
|
Denied Mask: x
|
|
Profile: /bin/ping
|
|
Name: /bin/ping
|
|
Name2: ping2
|
|
Attribute: attr
|
|
Task: 1
|
|
Parent: 1
|
|
Token: 29493
|
|
Info: Information
|
|
PID: 31938
|
|
Network family: family
|
|
Socket type: unknown(1234)
|
|
Protocol: tcp
|
|
Epoch: 1181057184
|
|
Audit subid: 7
|