Page MenuHomeFreeBSD

D31559.diff
No OneTemporary

D31559.diff

diff --git a/sys/compat/linux/linux_misc.h b/sys/compat/linux/linux_misc.h
--- a/sys/compat/linux/linux_misc.h
+++ b/sys/compat/linux/linux_misc.h
@@ -136,6 +136,7 @@
#define LINUX_P_ALL 0
#define LINUX_P_PID 1
#define LINUX_P_PGID 2
+#define LINUX_P_PIDFD 3
#define LINUX_RLIMIT_LOCKS 10
#define LINUX_RLIMIT_SIGPENDING 11
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
@@ -1122,6 +1122,9 @@
return (EINVAL);
idtype = P_PGID;
break;
+ case LINUX_P_PIDFD:
+ LINUX_RATELIMIT_MSG("unsupported waitid P_PIDFD idtype");
+ return (ENOSYS);
default:
return (EINVAL);
}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 25, 4:47 PM (2 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26089056
Default Alt Text
D31559.diff (694 B)

Event Timeline