linux/ioctlent: unify them all

Dmitry V. Levin ldv at altlinux.org
Tue Mar 1 10:31:40 UTC 2011


On Mon, Feb 28, 2011 at 08:21:17PM -0500, Mike Frysinger wrote:
> This unifies all the ioctlent.h's in the linux subdir while still
> allowing each arch to maintain its own minor list.

Thanks.

> The basic method is:
>  - each arch has linux/<arch>/ioctlent.h.in which defines only the
>    arch-specific ioctls
>  - linux/ioctlent.h.in which defines only the common ioctls
>  - at build time, these two headers are combined & sorted to produce
>    the linux/ioctlent.h file

I wonder how to update these *.h.in files after the change?
linux/ioctlent.sh still generates old stuff, so whether
./configure --enable-maintainer-mode && make
would work properly?

[...]
> ive deleted all the delete hunks from this patch.  to reproduce:
> 		git rm linux/*/ioctlent.h
> 	The ioctlent.h.in files were created by:
> 		grep asm ioctlent.h > ioctlent.h.in

Something went wrong with this commit:
$ find linux/ -size 0
linux/s390x/ioctlent.h.in
linux/sparc64/ioctlent.h.in
linux/hppa/ioctlent.h.in


-- 
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/20110301/c821c3d9/attachment.bin>


More information about the Strace-devel mailing list