mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-05 17:01:00 +01:00
126 lines
2.2 KiB
Text
126 lines
2.2 KiB
Text
#
|
|
#=DESCRIPTION Basic test that re profile names are allowed after :ns:
|
|
#=EXRESULT PASS
|
|
# vim:syntax=subdomain
|
|
# Last Modified: Sun Apr 17 19:44:44 2005
|
|
#
|
|
:ns:/** {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* rrr,
|
|
/does/not/exist r,
|
|
/var/log/messages www,
|
|
/tmp/sd*.foo rwrwwrll,
|
|
/bin/cat pxpxpxpxpx,
|
|
/bin/ls ixixixix,
|
|
/bin/echo uxuxuxuxux,
|
|
}
|
|
|
|
:ns:/* {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* rrr,
|
|
/does/not/exist r,
|
|
/var/log/messages www,
|
|
/tmp/sd*.foo rwrwwrll,
|
|
/bin/cat pxpxpxpxpx,
|
|
/bin/ls ixixixix,
|
|
/bin/echo uxuxuxuxux,
|
|
}
|
|
|
|
:ns:/? {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* rrr,
|
|
/does/not/exist r,
|
|
/var/log/messages www,
|
|
/tmp/sd*.foo rwrwwrll,
|
|
/bin/cat pxpxpxpxpx,
|
|
/bin/ls ixixixix,
|
|
/bin/echo uxuxuxuxux,
|
|
}
|
|
|
|
:ns:/[ab] {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* rrr,
|
|
/does/not/exist r,
|
|
/var/log/messages www,
|
|
/tmp/sd*.foo rwrwwrll,
|
|
/bin/cat pxpxpxpxpx,
|
|
/bin/ls ixixixix,
|
|
/bin/echo uxuxuxuxux,
|
|
}
|
|
|
|
:ns:/[^ab] {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* rrr,
|
|
/does/not/exist r,
|
|
/var/log/messages www,
|
|
/tmp/sd*.foo rwrwwrll,
|
|
/bin/cat pxpxpxpxpx,
|
|
/bin/ls ixixixix,
|
|
/bin/echo uxuxuxuxux,
|
|
}
|
|
|
|
profile :ns:** {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* rrr,
|
|
/does/not/exist r,
|
|
/var/log/messages www,
|
|
/tmp/sd*.foo rwrwwrll,
|
|
/bin/cat pxpxpxpxpx,
|
|
/bin/ls ixixixix,
|
|
/bin/echo uxuxuxuxux,
|
|
}
|
|
|
|
profile :ns:* {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* rrr,
|
|
/does/not/exist r,
|
|
/var/log/messages www,
|
|
/tmp/sd*.foo rwrwwrll,
|
|
/bin/cat pxpxpxpxpx,
|
|
/bin/ls ixixixix,
|
|
/bin/echo uxuxuxuxux,
|
|
}
|
|
|
|
profile :ns:? {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* rrr,
|
|
/does/not/exist r,
|
|
/var/log/messages www,
|
|
/tmp/sd*.foo rwrwwrll,
|
|
/bin/cat pxpxpxpxpx,
|
|
/bin/ls ixixixix,
|
|
/bin/echo uxuxuxuxux,
|
|
}
|
|
|
|
profile :ns:[ab] {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* rrr,
|
|
/does/not/exist r,
|
|
/var/log/messages www,
|
|
/tmp/sd*.foo rwrwwrll,
|
|
/bin/cat pxpxpxpxpx,
|
|
/bin/ls ixixixix,
|
|
/bin/echo uxuxuxuxux,
|
|
}
|
|
|
|
profile :ns:[^ab] {
|
|
#include <includes/base>
|
|
|
|
/usr/X11R6/lib/lib*so* rrr,
|
|
/does/not/exist r,
|
|
/var/log/messages www,
|
|
/tmp/sd*.foo rwrwwrll,
|
|
/bin/cat pxpxpxpxpx,
|
|
/bin/ls ixixixix,
|
|
/bin/echo uxuxuxuxux,
|
|
}
|
|
|