diff options
author | 2021-02-23 09:44:37 -0300 | |
---|---|---|
committer | 2021-03-06 16:54:22 -0300 | |
commit | 1e61463cfcd0b3e7a19ba36b8a98c64ebaac5c6e (patch) | |
tree | 856ab25b4d1d291506fb40d3bfc4096c1218ab73 /tools/include/uapi/linux/openat2.h | |
parent | tools headers UAPI: Sync drm/i915_drm.h with the kernel sources (diff) | |
download | linux-1e61463cfcd0b3e7a19ba36b8a98c64ebaac5c6e.tar.gz linux-1e61463cfcd0b3e7a19ba36b8a98c64ebaac5c6e.tar.bz2 linux-1e61463cfcd0b3e7a19ba36b8a98c64ebaac5c6e.zip |
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>
Diffstat (limited to 'tools/include/uapi/linux/openat2.h')
-rw-r--r-- | tools/include/uapi/linux/openat2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/openat2.h b/tools/include/uapi/linux/openat2.h index 58b1eb711360..a5feb7604948 100644 --- a/tools/include/uapi/linux/openat2.h +++ b/tools/include/uapi/linux/openat2.h @@ -35,5 +35,9 @@ struct open_how { #define RESOLVE_IN_ROOT 0x10 /* Make all jumps to "/" and ".." be scoped inside the dirfd (similar to chroot(2)). */ +#define RESOLVE_CACHED 0x20 /* Only complete if resolution can be + completed through cached lookup. May + return -EAGAIN if that's not + possible. */ #endif /* _UAPI_LINUX_OPENAT2_H */ |