X-Git-Url: http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=blobdiff_plain;f=tools%2Finclude%2Fuapi%2Flinux%2Fopenat2.h;h=a5feb7604948791c7a34ec0876c24a97eb5a375b;hp=58b1eb71136007727e8535eaeb19e2ea4a00fb9a;hb=1e61463cfcd0b3e7a19ba36b8a98c64ebaac5c6e;hpb=93f3321f650c5e700478ee8ed2e118d8255095cd 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 */