Skip to contentSkip to conversation

linux-user: do not warn for missing pselect6

PATCH Applied Riku Voipio 2 participants 2 messages May 7, 2010 – May 21, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-user: do not warn for missing pselect6

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.

Cc Michael Casadevall <[email protected]>
---
 linux-user/syscall.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
linux-user/syscall.c +4 -0
index 17599eb..09c16dc 100644
@@ -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;
Signature · 1 line
1.6.5
#1 lore raw
Quoted 6 lines · Riku Voipio

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.

Cc Michael Casadevall <[email protected]>

Thanks, applied.

Quoted 25 lines
---
 linux-user/syscall.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
linux-user/syscall.c +4 -0
index 17599eb..09c16dc 100644
@@ -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;
Signature · 1 line
1.6.5
Signature · 2 lines
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net