On Sat, Jun 11, 2011 at 01:19:51AM -0400, Jason Woodward wrote:
> 

> >From 67ac68827bee211c4540b5d51e593c639764c5e3 Mon Sep 17 00:00:00 2001
> From: Jason Woodward <[email protected]>
> Date: Sat, 11 Jun 2011 01:10:46 -0400
> Subject: [PATCH 2/3] epoll_pwait x86 fix
> 
> This prevents "memory input 7 is not directly addressable" errors.
[...]
> +    int nsig = _NSIG / 8;
>       if (SINGLE_THREAD_P)
> -             return INLINE_SYSCALL(epoll_pwait, 6, epfd, events, maxevents, 
> timeout, set, _NSIG / 8);
> +             return INLINE_SYSCALL(epoll_pwait, 6, epfd, events, maxevents, 
> timeout, set, nsig);

I think the bug in the syscall macros should be fixed instead. There's
no legitimate reason they should reject non-lvalue arguments.

Rich
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to