]> git.baikalelectronics.ru Git - kernel.git/commit
tools headers UAPI: Sync linux/fscrypt.h with the kernel sources
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Apr 2020 12:17:22 +0000 (09:17 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Apr 2020 14:02:52 +0000 (11:02 -0300)
commit3152593ffbc8f781942ee6ad9c650f8ff55fd06e
tree601cf3ef1c5f3be56b017378e8ce77694ea1bcd6
parent0d9180979e9c8a2d02bc635732484068ed96ad7f
tools headers UAPI: Sync linux/fscrypt.h with the kernel sources

To pick the changes from:

  25933f81074c ("fscrypt: add FS_IOC_GET_ENCRYPTION_NONCE ioctl")

That don't trigger any changes in tooling.

This silences this perf build warning:

  Warning: Kernel ABI header at 'tools/include/uapi/linux/fscrypt.h' differs from latest version at 'include/uapi/linux/fscrypt.h'
  diff -u tools/include/uapi/linux/fscrypt.h include/uapi/linux/fscrypt.h

In time we should come up with something like:

  $ tools/perf/trace/beauty/fsconfig.sh
  static const char *fsconfig_cmds[] = {
   [0] = "SET_FLAG",
   [1] = "SET_STRING",
   [2] = "SET_BINARY",
   [3] = "SET_PATH",
   [4] = "SET_PATH_EMPTY",
   [5] = "SET_FD",
   [6] = "CMD_CREATE",
   [7] = "CMD_RECONFIGURE",
  };
  $

And:

  $ tools/perf/trace/beauty/drm_ioctl.sh | head
  #ifndef DRM_COMMAND_BASE
  #define DRM_COMMAND_BASE                0x40
  #endif
  static const char *drm_ioctl_cmds[] = {
   [0x00] = "VERSION",
   [0x01] = "GET_UNIQUE",
   [0x02] = "GET_MAGIC",
   [0x03] = "IRQ_BUSID",
   [0x04] = "GET_MAP",
   [0x05] = "GET_CLIENT",
  $

For fscrypt's ioctls.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Eric Biggers <ebiggers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/uapi/linux/fscrypt.h