Page MenuHomeFreeBSD

D31554.id93749.diff
No OneTemporary

D31554.id93749.diff

Index: sys/compat/linux/linux_misc.c
===================================================================
--- sys/compat/linux/linux_misc.c
+++ sys/compat/linux/linux_misc.c
@@ -1090,12 +1090,13 @@
idtype_t idtype;
int error, options;
+ if (args->options & ~(LINUX_WNOHANG | LINUX_WNOWAIT | LINUX_WEXITED |
+ LINUX_WSTOPPED | LINUX_WCONTINUED | __WCLONE | __WNOTHREAD | __WALL))
+ return (EINVAL);
+
options = 0;
linux_to_bsd_waitopts(args->options, &options);
- if (options & ~(WNOHANG | WNOWAIT | WEXITED | WUNTRACED | WCONTINUED))
- return (EINVAL);
-
switch (args->idtype) {
case LINUX_P_ALL:
idtype = P_ALL;

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 15, 4:34 AM (11 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29701529
Default Alt Text
D31554.id93749.diff (637 B)

Event Timeline