[PATCH 0/5] ioctl name for missing APIs

Gabriel Laskar gabriel at lse.epita.fr
Thu Jan 15 19:32:25 UTC 2015


This patch serie add support for various ioctl APIs :

* DRM
* omapfb
* hsi_char
* missing ioctls from :
    * input
    * uinput
    * joystick
    * hiddev
    * mixer
    * spi_ioc
* android apis
    * binder
    * android_alarm
    * ashmem
    * ion
    * sw_sync
    * sync

Some APIs, like in evdev, are parametered. In order to decode them correctly,
there is some code added in ioctl.c, in order to display the parameters.

For Android, the headers lives inside driver/staging/android/uapi, so a path
had to be added. I am not sure that it is the right way to do it.

Gabriel Laskar (5):
  Add parsing support for named ioctls APIs
  Add decoding for parametered ioctls
  Add Decoding support for android ioctls
  Update linux/ioctlent.h.in file
  Add ioctl decoding for android_alarm.

 defs.h                     |   1 +
 io.c                       |  19 ++-
 ioctl.c                    | 139 ++++++++++++++++++
 linux/ioctlent.h.in        | 346 ++++++++++++++++++++++++++++++++++++++++++++-
 linux/ioctlent.sh          |  36 ++++-
 xlat/android_alarm_type.in |   6 +
 6 files changed, 532 insertions(+), 15 deletions(-)
 create mode 100644 xlat/android_alarm_type.in

-- 
2.2.2





More information about the Strace-devel mailing list