[PATCH] syscallent.h

Mike Frysinger vapier at gentoo.org
Fri Nov 13 16:28:58 UTC 2009


On Friday 13 November 2009 10:51:37 Dmitry V. Levin wrote:
> On Sat, Nov 07, 2009 at 09:21:11AM -0500, Mike Frysinger wrote:
> > On Saturday 07 November 2009 08:13:42 Dmitry V. Levin wrote:
> > > Yes, linux/syscallent.h is used on x86.  Also, this file is included by
> > > linux/x86_64/syscallent1.h and linux/ia64/syscallent.h files.
> >
> > so basically there's x86-specific files stuck in common code location ?
> 
> Yes, it could be said so.
> 
> > wouldnt it make sense to move those to an x86/ subdir then ?
> 
> To linux/i386/ then.  That would be quite a big move:
> 
> linux/x86_64/syscallent1.h:#include "../syscallent.h"
> linux/x86_64/ioctlent1.h:#include "../ioctlent.h"
> linux/x86_64/errnoent1.h:#include "../errnoent.h"
> linux/x86_64/signalent1.h:#include "../signalent.h"
> linux/ia64/syscallent.h:#include "../syscallent.h"
> linux/ia64/syscallent.h:#include "../dummy.h"
> linux/arm/ioctlent1.h:#include "../ioctlent.h"
> linux/arm/errnoent1.h:#include "../errnoent.h"
> linux/arm/signalent1.h:#include "../signalent.h"

i only said 'syscallent.h' on purpose.  the errno/signal list is largely 
common as most ports use that.  the ioctl list could under go work to unify 
it, but that would be a large endeavor.

all in all, relocating syscallent.h should be trivial
-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/20091113/ef7459f5/attachment.bin>


More information about the Strace-devel mailing list