[PATCH] strace: Add block ioctl support

Dmitry V. Levin ldv at altlinux.org
Mon Jan 17 16:47:27 UTC 2011


Hi,

On Wed, Dec 08, 2010 at 02:47:25PM -0500, Jeff Mahoney wrote:
>  This patch adds support for blkdev_ioctl()-handled ioctls. It was initially
>  submitted last year and I lost track of it until Petr Uzel reminded me
>  about it this afternoon.
> 
>  This version addresses the comments offered during review in this thread:
>  http://www.mail-archive.com/strace-devel@lists.sourceforge.net/msg01338.html
> 
>  I've added the copyright/license header to block.c, used xlat/xlookup,
>  and provided ioctl definitions for those that may not be available on older
>  systems.

To get the feature committed without one more year of waiting in iterations,
I've just applied your patch as is (without no longer needed change to
linux/ioctlent.sh, though), and added this cleanup patch on top of it:
http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commitdiff;h=v4.5.20-56-gbe284ca

I did some testing, it seems to work as expected.
Thanks,


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20110117/b7f5518b/attachment.bin>


More information about the Strace-devel mailing list