tools headers: Sync uapi/linux/fcntl.h with the kernel sources
Arnaldo Carvalho de Melo
maintainerPATCH 1/1 tools headers: Sync uapi/linux/fcntl.h with the kernel sources
tldr; Just FYI, I'm carrying this on the perf tools tree.
Full explanation:
There used to be no copies, with tools/ code using kernel headers directly. From time to time tools/perf/ broke due to legitimate kernel hacking. At some point Linus complained about such direct usage. Then we adopted the current model.
See further details at:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/include/uapi/README
To pick up the changes in this cset:
e83f0b5d10dcf628 ("nsfs: support exhaustive file handles")
That doesn't introduce anything of interest for tools/, just addresses these perf build warnings:
Warning: Kernel ABI header differences:
diff -u tools/perf/trace/beauty/include/uapi/linux/fcntl.h include/uapi/linux/fcntl.h
Please see tools/include/uapi/README for further details.
--- tools/perf/trace/beauty/include/uapi/linux/fcntl.h | 1 + 1 file changed, 1 insertion(+)
tools/perf/trace/beauty/include/uapi/linux/fcntl.h +1 -0
@@ -111,6 +111,7 @@#define PIDFD_SELF_THREAD_GROUP -10001/* Current thread group leader. */ #define FD_PIDFS_ROOT -10002/* Root of the pidfs filesystem */ +#define FD_NSFS_ROOT -10003/* Root of the nsfs filesystem */ #define FD_INVALID -10009/* Invalid file descriptor: -10000 - EBADF = -10009 */ /* Generic flags for the *at(2) family of syscalls. */
Signature · 1 line
2.51.0