Skip to content

Commit 1e61463

Browse files
committed
tools headers UAPI: Sync openat2.h with the kernel sources
To pick the changes in: 99668f6 ("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>
1 parent c244694 commit 1e61463

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/include/uapi/linux/openat2.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,9 @@ struct open_how {
3535
#define RESOLVE_IN_ROOT 0x10 /* Make all jumps to "/" and ".."
3636
be scoped inside the dirfd
3737
(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. */
3842

3943
#endif /* _UAPI_LINUX_OPENAT2_H */

0 commit comments

Comments
 (0)