mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
If the test ran under a fs mounted with nosuid option, then these bits would be ignored and the test would fail. In that case, detect it and run the test in a tmpfs mountpoint without nosuid. Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com> MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1285 Approved-by: John Johansen <john@jjmx.net> Merged-by: John Johansen <john@jjmx.net> (cherry picked from commit bc68bc51caf3346d74dfd5b14dea45e76b347073) Signed-off-by: John Johansen <john.johansen@canonical.com>