mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
![]() In commit 3649, Colin King fixed the readdir test build issue where aarch64 only supports getdetns64(), not getdents(). Realistically, however, we want to ensure mediation occurs on both syscalls where they exist. This patch changes the test to attempt performing both versions of getdents(). Because we want to catch the situation where the result of getdents differs from getdents64, we now pass in the expected result. Also add a test to verify that having write access does not grant the ability to read a directory's contents. Bug: https://bugs.launchpad.net/bugs/1674245 Signed-off-by: Steve Beattie <steve@nxnw.org> Acked-by: Seth Arnold <seth.arnold@canonical.com> Acked-by: Tyler Hicks <tyhicks@canonical.com> |
||
---|---|---|
.. | ||
regression | ||
stress | ||
Makefile |