strace/xlat/mtd_file_mode_options.in
Dmitry V. Levin eddefd64c3 mtd.c: enhance mtd and ubi ioctl parsers
Decode as much data on entering syscall as possible.

* xlat/mtd_file_mode_options.in: New file.
* mtd.c: Include <linux/ioctl.h> instead of <sys/ioctl.h>.
Include "xlat/mtd_file_mode_options.h".
Update for RVAL_DECODED.
(mtd_ioctl, ubi_ioctl): Use printnum_int and umove_or_printaddr.
2015-07-10 22:52:58 +00:00

6 lines
103 B
Plaintext

#unconditional
MTD_FILE_MODE_NORMAL
MTD_FILE_MODE_OTP_FACTORY
MTD_FILE_MODE_OTP_USER
MTD_FILE_MODE_RAW