Skip to content

Commit 48fa42c

Browse files
committed
tools headers uapi: Sync linux/fcntl.h with the kernel sources
To get the changes in: 96b2b07 ("exportfs: allow exporting non-decodeable file handles to userspace") That don't add anything that is handled by existing hard coded tables or table generation scripts. This silences this perf build warning: Warning: Kernel ABI header differences: diff -u tools/include/uapi/linux/fcntl.h include/uapi/linux/fcntl.h Cc: Adrian Hunter <[email protected]> Cc: Amir Goldstein <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jan Kara <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 8d40f74 commit 48fa42c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/include/uapi/linux/fcntl.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,9 @@
112112

113113
#define AT_RECURSIVE 0x8000 /* Apply to the entire subtree */
114114

115+
/* Flags for name_to_handle_at(2). We reuse AT_ flag space to save bits... */
116+
#define AT_HANDLE_FID AT_REMOVEDIR /* file handle is needed to
117+
compare object identity and may not
118+
be usable to open_by_handle_at(2) */
119+
115120
#endif /* _UAPI_LINUX_FCNTL_H */

0 commit comments

Comments
 (0)