Skip to content

Commit 76977ba

Browse files
committed
tools headers uapi: Update fs.h with the kernel sources
To pick up changes from: db2ab24 ("Add RWF_NOSIGNAL flag for pwritev2") These are used to beautify fs syscall arguments, albeit the changes in this update are not affecting those beautifiers. This addresses these tools/ build warnings: Warning: Kernel ABI header differences: diff -u tools/perf/trace/beauty/include/uapi/linux/fs.h include/uapi/linux/fs.h Please see tools/include/uapi/README for details (it's in the first patch of this series). Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Christian Brauner <brauner@kernel.org> Cc: Ian Rogers <irogers@google.com> Cc: James Clark <james.clark@linaro.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Lauri Vasama <git@vasama.org> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 3f67355 commit 76977ba

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • tools/perf/trace/beauty/include/uapi/linux

tools/perf/trace/beauty/include/uapi/linux/fs.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,10 +430,13 @@ typedef int __bitwise __kernel_rwf_t;
430430
/* buffered IO that drops the cache after reading or writing data */
431431
#define RWF_DONTCACHE ((__force __kernel_rwf_t)0x00000080)
432432

433+
/* prevent pipe and socket writes from raising SIGPIPE */
434+
#define RWF_NOSIGNAL ((__force __kernel_rwf_t)0x00000100)
435+
433436
/* mask of flags supported by the kernel */
434437
#define RWF_SUPPORTED (RWF_HIPRI | RWF_DSYNC | RWF_SYNC | RWF_NOWAIT |\
435438
RWF_APPEND | RWF_NOAPPEND | RWF_ATOMIC |\
436-
RWF_DONTCACHE)
439+
RWF_DONTCACHE | RWF_NOSIGNAL)
437440

438441
#define PROCFS_IOCTL_MAGIC 'f'
439442

0 commit comments

Comments
 (0)