commit | 3cfabeb8815811b42691fe626862073e75aec8cb | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Sat Jul 04 17:40:02 2015 +0300 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu Jul 09 02:04:34 2015 +0000 |
tree | 86f04d4de7db99927d2a8a3d176cf3cd8e62a817 | |
parent | 97317d9d838272ad26a860e12137a7099f5f02ad [diff] |
loop.c: enhance loop ioctl parser Decode as much data on entering syscall as possible. * loop.c: Include <linux/ioctl.h> instead of <sys/ioctl.h>. Update for RVAL_DECODED. (decode_loop_info, decode_loop_info64): New functions. (loop_ioctl): Use them. Decode LOOP_SET_STATUS, LOOP_SET_STATUS64, LOOP_SET_FD, LOOP_CHANGE_FD, LOOP_CTL_ADD and LOOP_CTL_REMOVE on entering syscall. Print LOOP_SET_FD and LOOP_CHANGE_FD arguments using printfd.