[PATCH] audit-testsuite: look for both open(2) and openat(2)

Paul Moore paul at paul-moore.com
Thu Jun 15 16:01:18 UTC 2017


On Thu, Jun 15, 2017 at 11:56 AM, Paul Moore <pmoore at redhat.com> wrote:
> From: root <root at rawhide-1.lan>

Ooops, I guess you can tell what system I used for testing ;)

Fixed in the commit.

> More and more tools and libraries are using openat(2) whenever
> possible so we need to make sure we check for both syscalls.
>
> This fixes the test suite on current versions of Fedora Rawhide.
>
> Signed-off-by: Paul Moore <paul at paul-moore.com>
> ---
>  tests/file_create/test      |    4 +++-
>  tests/filter_sessionid/test |    2 +-
>  tests/syscalls_file/test    |    8 ++++----
>  3 files changed, 8 insertions(+), 6 deletions(-)

-- 
paul moore
www.paul-moore.com




More information about the Linux-audit mailing list