linux/ioctlent: unify them all
Mike Frysinger
vapier at gentoo.org
Tue Mar 1 10:54:44 UTC 2011
On Tuesday, March 01, 2011 05:31:40 Dmitry V. Levin wrote:
> On Mon, Feb 28, 2011 at 08:21:17PM -0500, Mike Frysinger wrote:
> > 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?
i think we'd want to update ioctlent.sh to auto scan all arches
> > 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
i havent tested all the arches yet ... i wanted to get the basic idea down
before i verified it all
so if you're happy with this, i can start that process
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20110301/58baad31/attachment.bin>
More information about the Strace-devel
mailing list