diff options
author | Stefan Metzmacher <metze@samba.org> | 2022-08-08 15:33:24 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2022-08-15 15:03:37 +0000 |
commit | f7618dd31a9f8f6c0dbfdedd1a664eed25e2e449 (patch) | |
tree | 9ea390a76bb93657633f0052b9e424674660b3da /docs-xml | |
parent | b89001e9226ecb0f4e5c906f7195f0e53cd7d608 (diff) | |
download | samba-f7618dd31a9f8f6c0dbfdedd1a664eed25e2e449.tar.gz |
lib/replace: add fallback defines for __NR_openat2
sys/syscall.h might be older than the runtime kernel.
If the kernel has support for openat2() we should
try to use if anyway.
The callers have to deal with ENOSYS anyway,
so there's no difference if we get that from syscall(__NR_openat2)
or directly from rep_openat2().
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'docs-xml')
0 files changed, 0 insertions, 0 deletions