Re: shmget: Function not implemented?

2012-12-14 Thread Jose Salazar
Right you were! Everyday you learn something eh... Thanks for your help! Jose > > From: Rich Felker >To: uclibc@uclibc.org >Sent: Friday, 14 December 2012, 10:07 >Subject: Re: shmget: Function not implemented? > >On Fri, Dec 14, 2012 at 05:56:07PM +, J

Re: shmget: Function not implemented?

2012-12-14 Thread Rich Felker
On Fri, Dec 14, 2012 at 05:56:07PM +, Jose Salazar wrote: > Hello, > > I'm using uClibc-0.9.33.2 as the toolchain on my buildroot build and it looks > as if functions shmget and shmctl are not implemented! > > On browsing through the mailing lists, I heard of a patch that adds this > functi

shmget: Function not implemented?

2012-12-14 Thread Jose Salazar
Hello, I'm using uClibc-0.9.33.2 as the toolchain on my buildroot build and it looks as if functions shmget and shmctl are not implemented! On browsing through the mailing lists, I heard of a patch that adds this functionality. More browsing led me to uClibc-0.9.33.2/libc/misc/sysvipc/shm.c, w

Re: [PATCH V2] libc: deal with aux vect inside __uClibc_main only if !SHARED

2012-12-14 Thread Filippo ARCIDIACONO
On 12/14/2012 11:40 AM, Filippo ARCIDIACONO wrote: It's not safe to use the aux vect inside __uClibc_main if we are running with shared libraries, because it could have been already modified. For example, if some constructor plays with environment variables by using unsetenv, the modifications do

[PATCH V2] libc: deal with aux vect inside __uClibc_main only if !SHARED

2012-12-14 Thread Filippo ARCIDIACONO
It's not safe to use the aux vect inside __uClibc_main if we are running with shared libraries, because it could have been already modified. For example, if some constructor plays with environment variables by using unsetenv, the modifications done into the stack to unset an environment variable, h

[PATCH uClibc 3/3] libc/pause: Add __pause_nocancel weak alias.

2012-12-14 Thread Markos Chandras
From: Markos Chandras On architectures that don't provide __NR_pause, __pause_nocancel is needed when wanting to perform an uncancelable pause. Signed-off-by: Markos Chandras --- libc/sysdeps/linux/common/pause.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/sysdeps/linux/common/pau

[PATCH uClibc 1/3] Makerules: Respect $(SYMBOL_PREFIX) when prelinking

2012-12-14 Thread Markos Chandras
From: Markos Chandras Commit a33796043bdef5345bc00a528c942f91a87af8e9 introduced the runtime prelink support. However, the linker script that is being generated by the create-lds rule in the Makerules file, needs to respect the SYMBOL_PREFIX for architectures that need it. Signed-off-by: Markos

[PATCH uClibc 2/3] gen_bits_syscall_h.sh: undefine SYS_x too

2012-12-14 Thread Markos Chandras
From: Markos Chandras When processing #defines and #undefs from the Linux asm/unistd.h, define __NR_x produces an extra #define SYS_x, but undef __NR_x doesn't produce an extra #undef SYS_x. Add the extra #undef so that kernel header files can #undef syscall numbers. Signed-off-by: Markos Chandr