mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Add testcases for trunk commits 1486-1490.
This commit is contained in:
parent
5c43890b31
commit
8fd1f15ae7
15 changed files with 61 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
type=AVC msg=audit(12799========================8288.415:39): apparmor="DENIED" operation="open" parent=12332 profile="/usr/sbin/cupsd" name="/home/user/.ssh/" pid=12333 comm="ls" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
|
|
@ -0,0 +1,5 @@
|
|||
START
|
||||
File: test_multi/avc_audit_invalid_audit_id.in
|
||||
Event type: AA_RECORD_INVALID
|
||||
Epoch: 0
|
||||
Audit subid: 0
|
|
@ -0,0 +1 @@
|
|||
Sep 9 12:51:50 ubuntu-desktop kernel: [ 1612.746129] type=1400 audit(1284061910.975:672): apparmor="DENIED" operation="capable" parent=2663 profile="/home/ubuntu/bzr/apparmor/tests/regression/apparmor/syscall_setpriority" pid=7292 comm="syscall_setprio" capability=23 capname="sys_nice"
|
|
@ -0,0 +1,12 @@
|
|||
START
|
||||
File: test_multi/testcase_syslog_capability.in
|
||||
Event type: AA_RECORD_DENIED
|
||||
Audit ID: 1284061910.975:672
|
||||
Operation: capable
|
||||
Profile: /home/ubuntu/bzr/apparmor/tests/regression/apparmor/syscall_setpriority
|
||||
Name: sys_nice
|
||||
Command: syscall_setprio
|
||||
Parent: 2663
|
||||
PID: 7292
|
||||
Epoch: 1284061910
|
||||
Audit subid: 672
|
|
@ -0,0 +1 @@
|
|||
Sep 9 12:51:36 ubuntu-desktop kernel: [ 1597.774866] type=1400 audit(1284061896.005:28): apparmor="DENIED" operation="change_hat" info="unconfined" error=-1 pid=2698 comm="syscall_ptrace"
|
|
@ -0,0 +1,11 @@
|
|||
START
|
||||
File: test_multi/testcase_syslog_changehat_negative_error.in
|
||||
Event type: AA_RECORD_DENIED
|
||||
Audit ID: 1284061896.005:28
|
||||
Operation: change_hat
|
||||
Command: syscall_ptrace
|
||||
Info: unconfined
|
||||
ErrorCode: 1
|
||||
PID: 2698
|
||||
Epoch: 1284061896
|
||||
Audit subid: 28
|
|
@ -0,0 +1 @@
|
|||
Sep 9 12:58:28 ubuntu-desktop kernel: [ 2010.738449] type=1400 audit(1284062308.965:276251): apparmor="DENIED" operation="link" parent=19088 profile="/home/ubuntu/bzr/apparmor/tests/regression/apparmor/link" name="/tmp/sdtest.19088-12382-HWH57d/linkfile" pid=19142 comm="link" requested_mask="l" denied_mask="l" fsuid=0 ouid=0 target="/tmp/sdtest.19088-12382-HWH57d/target"
|
|
@ -0,0 +1,17 @@
|
|||
START
|
||||
File: test_multi/testcase_syslog_link_01.in
|
||||
Event type: AA_RECORD_DENIED
|
||||
Audit ID: 1284062308.965:276251
|
||||
Operation: link
|
||||
Mask: l
|
||||
Denied Mask: l
|
||||
fsuid: 0
|
||||
ouid: 0
|
||||
Profile: /home/ubuntu/bzr/apparmor/tests/regression/apparmor/link
|
||||
Name: /tmp/sdtest.19088-12382-HWH57d/linkfile
|
||||
Command: link
|
||||
Name2: /tmp/sdtest.19088-12382-HWH57d/target
|
||||
Parent: 19088
|
||||
PID: 19142
|
||||
Epoch: 1284062308
|
||||
Audit subid: 276251
|
|
@ -0,0 +1 @@
|
|||
Sep 8 16:42:16 jj-desktop kernel: [ 2143.902340] type=1400 audit(1283989336.064:272335): apparmor="STATUS" info="failed to unpack profile" error=-71 pid=4958 comm="apparmor_parser" name="/home/jj/master/tests/regression/apparmor/net_raw" offset=159
|
|
@ -0,0 +1,11 @@
|
|||
START
|
||||
File: test_multi/testcase_syslog_status_offset.in
|
||||
Event type: AA_RECORD_STATUS
|
||||
Audit ID: 1283989336.064:272335
|
||||
Name: /home/jj/master/tests/regression/apparmor/net_raw
|
||||
Command: apparmor_parser
|
||||
Info: failed to unpack profile
|
||||
ErrorCode: 71
|
||||
PID: 4958
|
||||
Epoch: 1283989336
|
||||
Audit subid: 272335
|
Loading…
Add table
Reference in a new issue