Page MenuHomeFreeBSD

D31554.id104410.diff
No OneTemporary

D31554.id104410.diff

diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
--- a/sys/compat/linux/linux_misc.c
+++ b/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
Thu, Jul 30, 5:27 PM (2 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35751260
Default Alt Text
D31554.id104410.diff (612 B)

Event Timeline