Patchwork linux-user: do not warn for missing pselect6

login
register
mail settings
Submitter riku.voipio@nokia.com
Date May 7, 2010, 12:28 p.m.
Message ID <1273235285-27574-1-git-send-email-riku.voipio@nokia.com>
Download mbox | patch
Permalink /patch/51967/
State New
Headers show

Comments

riku.voipio@nokia.com - May 7, 2010, 12:28 p.m.
Libc will fallback gracefully if pselect6 is not available. Thus put
pselect6 to nowarn until the atomicity issues of the original pselect6
patch are dealt with.

Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Cc: Michael Casadevall <mcasadevall@ubuntu.com>
---
 linux-user/syscall.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Aurelien Jarno - May 21, 2010, 4:47 p.m.
On Fri, May 07, 2010 at 12:28:05PM +0000, Riku Voipio wrote:
> Libc will fallback gracefully if pselect6 is not available. Thus put
> pselect6 to nowarn until the atomicity issues of the original pselect6
> patch are dealt with.
> 
> Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
> Cc: Michael Casadevall <mcasadevall@ubuntu.com>

Thanks, applied.

> ---
>  linux-user/syscall.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index 17599eb..09c16dc 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -5199,6 +5199,10 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
>          }
>          break;
>  #endif
> +#ifdef TARGET_NR_pselect6
> +    case TARGET_NR_pselect6:
> +	    goto unimplemented_nowarn;
> +#endif
>      case TARGET_NR_symlink:
>          {
>              void *p2;
> -- 
> 1.6.5
> 
> 
> 
>

Patch

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 17599eb..09c16dc 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -5199,6 +5199,10 @@  abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
         }
         break;
 #endif
+#ifdef TARGET_NR_pselect6
+    case TARGET_NR_pselect6:
+	    goto unimplemented_nowarn;
+#endif
     case TARGET_NR_symlink:
         {
             void *p2;