Re: [PATCH] fix test for vfork function

2012-04-27 Thread Mark Salter
On Thu, 2012-04-26 at 22:50 -0400, Mike Frysinger wrote: On Thursday 26 April 2012 10:14:30 Mark Salter wrote: A few places in the code check for existence of vfork by testing if __NR_vfork is defined. Newer kernels don't have a vfork syscall in which case, the library implements the vfork

Re: [PATCH] fix test for vfork function

2012-04-26 Thread Mike Frysinger
On Thursday 26 April 2012 23:08:36 Rich Felker wrote: On Thu, Apr 26, 2012 at 10:50:57PM -0400, Mike Frysinger wrote: This patch adds a test for __UCLIBC_VFORK_USES_CLONE__ feature definition which an architecture may define if vfork is implemented using clone. err, if your kernel

Re: [PATCH] fix test for vfork function

2012-04-26 Thread Mike Frysinger
On Friday 27 April 2012 01:07:42 Rich Felker wrote: On Fri, Apr 27, 2012 at 12:58:33AM -0400, Mike Frysinger wrote: On Thursday 26 April 2012 23:08:36 Rich Felker wrote: On Thu, Apr 26, 2012 at 10:50:57PM -0400, Mike Frysinger wrote: This patch adds a test for

Re: [PATCH] fix test for vfork function

2012-04-26 Thread Mike Frysinger
On Thursday 26 April 2012 10:14:30 Mark Salter wrote: A few places in the code check for existence of vfork by testing if __NR_vfork is defined. Newer kernels don't have a vfork syscall in which case, the library implements the vfork function using __NR_clone. This patch adds a test for