mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
![]() Bug: https://bugs.launchpad.net/bugs/1235478 This is a test to check the label on file descriptors returned from socketpair(). In its simple form, it simply calls socketpair() and checks the labels on both fds. In its complex form, it has the ability to do the simple test, then set up an exec transition using aa_change_onexec(), and re-exec itself to check the labeling after the file descriptors have been passed across an exec transition. The complex form is meant to test revalidation at exec. AppArmor currently keeps the original labeling in place across the exec transition. Note that this test does not currently test read/write access to the file descriptors. It only checks the label, as returned by aa_getpeercon(2). Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Acked-by: John Johansen <john.johansen@canonical.com> |
||
---|---|---|
.. | ||
regression | ||
stress | ||
Makefile |