History

Merge branch 'work.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into for-5.12/io_uring

Merge RESOLVE_CACHED bits from Al, as the io_uring changes will build on top of that. * 'work.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fs: expose LOOKUP_CACHED through openat2() RESOLVE_CACHED fs: add support for LOOKUP_CACHED saner calling conventions for unlazy_child() fs: make unlazy_walk() error handling consistent fs/namei.c: Remove unlikely of status being -ECHILD in lookup_fast() do_tmpfile(): don't mess with finish_open()

Jens Axboe committed 5 years ago

Commit b2d86c72 parents 1048ba8 99668f65 files · +55 −46Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/openat2.h+4−0
@@ -35,5 +35,9 @@ struct open_how { · 34 unmodified lines
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 */