On Wed, May 02, 2012 at 02:09:55PM +0400, Dmitry V. Levin wrote: > On Tue, Apr 17, 2012 at 10:19:31PM -0400, Mike Frysinger wrote: > > 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. > > > > * defs.h (loop_ioctl): New prototype. > > (string_quote): Likewise. > > * ioctl.c (ioctl_decode): Call loop_ioctl when code is 'L'. > > * Makefile.am (strace_SOURCES): Add loop.c. > > * loop.c: New file. > > * util.c (string_quote): Delete static keyword > > On a system with quite old <linux/loop.h> file from some 2.6.18-derived > kernel headers I've got a build failure: > > loop.c:36:4: error: 'LO_FLAGS_AUTOCLEAR' undeclared here (not in a function) > loop.c: In function 'loop_ioctl': > loop.c:167:7: error: 'LOOP_SET_CAPACITY' undeclared (first use in this > function) > loop.c:167:7: note: each undeclared identifier is reported only once for each > function it appears in
I've pushed a fix. -- ldv
pgpKVRByCqCE5.pgp
Description: PGP signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
