2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 10:07:12 +00:00

Testcases that are vaguely related to

https://bugs.launchpad.net/bugs/340183
This commit is contained in:
Steve Beattie 2009-03-13 06:39:05 +00:00
parent 0208c5b5d6
commit 19ddb3bfa4
39 changed files with 139 additions and 1 deletions

View File

@ -1,5 +1,5 @@
START
File: test_multi/testcase1.in
File: test_multi/testcase01.in
Event type: AA_RECORD_DENIED
Audit ID: 1181057184.959:7
Operation: exec

View File

@ -0,0 +1 @@
Jan 12 13:59:10 jj-amd64 kernel: [ 1157.775350] type=1503 audit(1236891550.807:870): operation="capable" name="setuid" pid=3593 profile="/bin/ping"

View File

@ -0,0 +1,10 @@
START
File: test_multi/testcase02.in
Event type: AA_RECORD_DENIED
Audit ID: 1236891550.807:870
Operation: capable
Profile: /bin/ping
Name: setuid
PID: 3593
Epoch: 1236891550
Audit subid: 870

View File

@ -0,0 +1 @@
Feb 12 13:59:10 jj-amd64 kernel: [ 1157.775350] type=1503 audit(1236891550.807:870): operation="capable" name="setuid" pid=3593 profile="/bin/ping"

View File

@ -0,0 +1,10 @@
START
File: test_multi/testcase03.in
Event type: AA_RECORD_DENIED
Audit ID: 1236891550.807:870
Operation: capable
Profile: /bin/ping
Name: setuid
PID: 3593
Epoch: 1236891550
Audit subid: 870

View File

@ -0,0 +1 @@
Mar 12 13:59:10 jj-amd64 kernel: [ 1157.775350] type=1503 audit(1236891550.807:870): operation="capable" name="setuid" pid=3593 profile="/bin/ping"

View File

@ -0,0 +1,10 @@
START
File: test_multi/testcase04.in
Event type: AA_RECORD_DENIED
Audit ID: 1236891550.807:870
Operation: capable
Profile: /bin/ping
Name: setuid
PID: 3593
Epoch: 1236891550
Audit subid: 870

View File

@ -0,0 +1 @@
Apr 12 13:59:10 jj-amd64 kernel: [ 1157.775350] type=1503 audit(1236891550.807:870): operation="capable" name="setuid" pid=3593 profile="/bin/ping"

View File

@ -0,0 +1,10 @@
START
File: test_multi/testcase05.in
Event type: AA_RECORD_DENIED
Audit ID: 1236891550.807:870
Operation: capable
Profile: /bin/ping
Name: setuid
PID: 3593
Epoch: 1236891550
Audit subid: 870

View File

@ -0,0 +1 @@
May 12 13:59:10 jj-amd64 kernel: [ 1157.775350] type=1503 audit(1236891550.807:870): operation="capable" name="setuid" pid=3593 profile="/bin/ping"

View File

@ -0,0 +1,10 @@
START
File: test_multi/testcase06.in
Event type: AA_RECORD_DENIED
Audit ID: 1236891550.807:870
Operation: capable
Profile: /bin/ping
Name: setuid
PID: 3593
Epoch: 1236891550
Audit subid: 870

View File

@ -0,0 +1 @@
Jun 12 13:59:10 jj-amd64 kernel: [ 1157.775350] type=1503 audit(1236891550.807:870): operation="capable" name="setuid" pid=3593 profile="/bin/ping"

View File

@ -0,0 +1,10 @@
START
File: test_multi/testcase07.in
Event type: AA_RECORD_DENIED
Audit ID: 1236891550.807:870
Operation: capable
Profile: /bin/ping
Name: setuid
PID: 3593
Epoch: 1236891550
Audit subid: 870

View File

@ -0,0 +1 @@
Jul 12 13:59:10 jj-amd64 kernel: [ 1157.775350] type=1503 audit(1236891550.807:870): operation="capable" name="setuid" pid=3593 profile="/bin/ping"

View File

@ -0,0 +1,10 @@
START
File: test_multi/testcase08.in
Event type: AA_RECORD_DENIED
Audit ID: 1236891550.807:870
Operation: capable
Profile: /bin/ping
Name: setuid
PID: 3593
Epoch: 1236891550
Audit subid: 870

View File

@ -0,0 +1 @@
Aug 12 13:59:10 jj-amd64 kernel: [ 1157.775350] type=1503 audit(1236891550.807:870): operation="capable" name="setuid" pid=3593 profile="/bin/ping"

View File

@ -0,0 +1,10 @@
START
File: test_multi/testcase09.in
Event type: AA_RECORD_DENIED
Audit ID: 1236891550.807:870
Operation: capable
Profile: /bin/ping
Name: setuid
PID: 3593
Epoch: 1236891550
Audit subid: 870

View File

@ -0,0 +1 @@
Sep 12 13:59:10 jj-amd64 kernel: [ 1157.775350] type=1503 audit(1236891550.807:870): operation="capable" name="setuid" pid=3593 profile="/bin/ping"

View File

@ -0,0 +1,10 @@
START
File: test_multi/testcase10.in
Event type: AA_RECORD_DENIED
Audit ID: 1236891550.807:870
Operation: capable
Profile: /bin/ping
Name: setuid
PID: 3593
Epoch: 1236891550
Audit subid: 870

View File

@ -0,0 +1 @@
Oct 12 13:59:10 jj-amd64 kernel: [ 1157.775350] type=1503 audit(1236891550.807:870): operation="capable" name="setuid" pid=3593 profile="/bin/ping"

View File

@ -0,0 +1,10 @@
START
File: test_multi/testcase11.in
Event type: AA_RECORD_DENIED
Audit ID: 1236891550.807:870
Operation: capable
Profile: /bin/ping
Name: setuid
PID: 3593
Epoch: 1236891550
Audit subid: 870

View File

@ -0,0 +1 @@
Nov 11 07:33:07 myhost kernel: [50812.879558] type=1502 audit(1236774787.169:369): operation="inode_permission" requested_mask="::r" denied_mask="::r" fsuid=1000 name="/bin/dash" pid=13726 profile="/home/jamie/foobar.sh"

View File

@ -0,0 +1,13 @@
START
File: test_multi/testcase18.in
Event type: AA_RECORD_ALLOWED
Audit ID: 1236774787.169:369
Operation: inode_permission
Mask: ::r
Denied Mask: ::r
fsuid: 1000
Profile: /home/jamie/foobar.sh
Name: /bin/dash
PID: 13726
Epoch: 1236774787
Audit subid: 369

View File

@ -0,0 +1 @@
Dec 11 07:33:07 myhost kernel: [50812.879606] type=1502 audit(1236774787.169:371): operation="file_mmap" requested_mask="::r" denied_mask="::r" fsuid=1000 name="/bin/dash" pid=13726 profile="/home/jamie/foobar.sh"

View File

@ -0,0 +1,13 @@
START
File: test_multi/testcase19.in
Event type: AA_RECORD_ALLOWED
Audit ID: 1236774787.169:371
Operation: file_mmap
Mask: ::r
Denied Mask: ::r
fsuid: 1000
Profile: /home/jamie/foobar.sh
Name: /bin/dash
PID: 13726
Epoch: 1236774787
Audit subid: 371