Skip to content

Commit b0dc992

Browse files
committed
tools headers UAPI: Sync linux/fcntl.h with the kernel sources
To get the changes in: 8a924db ("fs: Pass AT_GETATTR_NOSEC flag to getattr interface function") 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: Christian Brauner <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Stefan Berger <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 1743726 commit b0dc992

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/include/uapi/linux/fcntl.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,8 @@
116116
#define AT_HANDLE_FID AT_REMOVEDIR /* file handle is needed to
117117
compare object identity and may not
118118
be usable to open_by_handle_at(2) */
119+
#if defined(__KERNEL__)
120+
#define AT_GETATTR_NOSEC 0x80000000
121+
#endif
119122

120123
#endif /* _UAPI_LINUX_FCNTL_H */

0 commit comments

Comments
 (0)