commit | ebee04cfb009bdc46599774b4647f6615b6ce3a2 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Tue Apr 17 22:19:31 2012 -0400 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Wed Apr 18 15:27:25 2012 +0000 |
tree | c2eef690822087a0e83361585ebd95fbdfeeb406 | |
parent | 085e42886052190d3e515ca865546b527f59cdd1 [diff] |
Decode /dev/loop ioctls Needed to debug some losetup failures, and it's easier when you can see what the kernel is getting vs what you think you're sending, so add some decoders for those ioctls. * loop.c: New file. * Makefile.am (strace_SOURCES): Add loop.c. * defs.h (loop_ioctl): New prototype. (string_quote): Likewise. * ioctl.c (ioctl_decode): Call loop_ioctl when code is 'L'. * util.c (string_quote): Remove static keyword. Signed-off-by: Mike Frysinger <vapier@gentoo.org>