Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools headers UAPI: Sync openat2.h with the kernel sources

To pick the changes in:

99668f618062816c ("fs: expose LOOKUP_CACHED through openat2() RESOLVE_CACHED")

That don't result in any change in tooling, only silences this perf
build warning:

Warning: Kernel ABI header at 'tools/include/uapi/linux/openat2.h' differs from latest version at 'include/uapi/linux/openat2.h'
diff -u tools/include/uapi/linux/openat2.h include/uapi/linux/openat2.h

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+4
+4
tools/include/uapi/linux/openat2.h
··· 35 35 #define RESOLVE_IN_ROOT 0x10 /* Make all jumps to "/" and ".." 36 36 be scoped inside the dirfd 37 37 (similar to chroot(2)). */ 38 + #define RESOLVE_CACHED 0x20 /* Only complete if resolution can be 39 + completed through cached lookup. May 40 + return -EAGAIN if that's not 41 + possible. */ 38 42 39 43 #endif /* _UAPI_LINUX_OPENAT2_H */