Re: [PATCH] support C libs w/out System V shared memory/ipc

2015-12-10 Thread Mike Frysinger
On 24 Nov 2015 08:35, Dmitry V. Levin wrote: > I'm going to push your patch with the following editions, if you don't mind. i added the asm/xxxbuf.h stuff for completeness, but it wasn't strictly needed. i guess we can leave them out until we hit a use case for them. -mike signature.asc Descrip

Re: [PATCH] support C libs w/out System V shared memory/ipc

2015-11-23 Thread Dmitry V. Levin
Hi, On Sat, Oct 31, 2015 at 04:57:04PM +0300, Dmitry V. Levin wrote: > On Sat, Oct 31, 2015 at 12:47:53AM -0400, Mike Frysinger wrote: > > diff --git a/ipc_msg.c b/ipc_msg.c > > index 55747cb..2fc7470 100644 > > --- a/ipc_msg.c > > +++ b/ipc_msg.c > > @@ -31,9 +31,7 @@ > > */ > > > > #include

Re: [PATCH] support C libs w/out System V shared memory/ipc

2015-10-31 Thread Dmitry V. Levin
Hi, On Sat, Oct 31, 2015 at 12:47:53AM -0400, Mike Frysinger wrote: > diff --git a/ipc_msg.c b/ipc_msg.c > index 55747cb..2fc7470 100644 > --- a/ipc_msg.c > +++ b/ipc_msg.c > @@ -31,9 +31,7 @@ > */ > > #include "defs.h" > - > -#include > -#include > +#include "ipc_defs.h" > > #include "x

[PATCH] support C libs w/out System V shared memory/ipc

2015-10-30 Thread Mike Frysinger
Some systems (like Bionic) omit support for SysV related code. That means no C library headers for strace to include. Add configure tests to probe the headers from the kernel and use them when they're available. It might make more sense to never rely on the C library's headers as there is no gua