mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
Update libapparmor testsuite profiles with owner rules
Several log examples result in rules where the 'owner' conditional should be added. With logparser.py fixed to handle owner-only events, we need to add the owner conditional to several test_multi/*.profile files. I verified all log files for the changed profiles and made sure that - the log line contains fsuid= and ouid= - fsuid == ouid I also did a quick check on all log events containing ouid= and for those with fsuid == ouid, I checked that the profile has the owner conditional. Acked-by: Seth Arnold <seth.arnold@canonical.com> for trunk and 2.11 (see mail from 2017-07-31)
This commit is contained in:
parent
56b55aa0dd
commit
861d8b4349
@ -1,4 +1,4 @@
|
|||||||
/usr/sbin/cupsd {
|
/usr/sbin/cupsd {
|
||||||
/boot/ r,
|
owner /boot/ r,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/home/ubuntu/bzr/apparmor/tests/regression/apparmor/mkdir {
|
/home/ubuntu/bzr/apparmor/tests/regression/apparmor/mkdir {
|
||||||
/tmp/sdtest.7283-14445-r31VAP/tmpdir/ w,
|
owner /tmp/sdtest.7283-14445-r31VAP/tmpdir/ w,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/home/ubuntu/bzr/apparmor/tests/regression/apparmor/link {
|
/home/ubuntu/bzr/apparmor/tests/regression/apparmor/link {
|
||||||
/tmp/sdtest.19088-12382-HWH57d/linkfile l,
|
owner /tmp/sdtest.19088-12382-HWH57d/linkfile l,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
"/home/steve/tmp/my prog.sh" {
|
"/home/steve/tmp/my prog.sh" {
|
||||||
"/home/steve/tmp/my prog.sh" r,
|
owner "/home/steve/tmp/my prog.sh" r,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
profile "test space" {
|
profile "test space" {
|
||||||
/lib/x86_64-linux-gnu/libdl-2.13.so r,
|
owner /lib/x86_64-linux-gnu/libdl-2.13.so r,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/home/ubuntu/bzr/apparmor/tests/regression/apparmor/link {
|
/home/ubuntu/bzr/apparmor/tests/regression/apparmor/link {
|
||||||
/tmp/sdtest.19088-12382-HWH57d/linkfile l,
|
owner /tmp/sdtest.19088-12382-HWH57d/linkfile l,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/usr/sbin/vsftpd {
|
/usr/sbin/vsftpd {
|
||||||
/home/bane/foo r,
|
owner /home/bane/foo r,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user