summaryrefslogtreecommitdiff
path: root/tools/include/uapi/linux/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/uapi/linux/fcntl.h')
-rw-r--r--tools/include/uapi/linux/fcntl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/fcntl.h b/tools/include/uapi/linux/fcntl.h
index 6c80f96049bd..282e90aeb163 100644
--- a/tools/include/uapi/linux/fcntl.h
+++ b/tools/include/uapi/linux/fcntl.h
@@ -116,5 +116,8 @@
#define AT_HANDLE_FID AT_REMOVEDIR /* file handle is needed to
compare object identity and may not
be usable to open_by_handle_at(2) */
+#if defined(__KERNEL__)
+#define AT_GETATTR_NOSEC 0x80000000
+#endif
#endif /* _UAPI_LINUX_FCNTL_H */