diff options
| author | Martin Kaiser <martin@kaiser.cx> | 2026-04-28 16:38:47 +0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-05-11 14:16:28 -0300 |
| commit | 9a4a67dddc3d88e2e9d3cff462b943f40ea439e4 (patch) | |
| tree | b9f378641f6b3ff86c601805a05231ce0f58ae4a /tools/include/linux/types.h | |
| parent | a4cbd51862d449e487866c173f5dff46329da76c (diff) | |
perf test: Fix sys_enter_openat event test for musl
The "syscalls:sys_enter_openat event fields" test calls
openat(AT_FDCWD, "/etc/passwd", O_RDONLY | O_DIRECTORY)
and verifies that the flags of the captured event are matching.
This fails for musl, where the openat syscall wrapper always adds
O_LARGEFILE.
Update the check to allow for additional flags, the access mode flags
must be unchanged.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/include/linux/types.h')
0 files changed, 0 insertions, 0 deletions
