Page MenuHomeFreeBSD

D27012.diff
No OneTemporary

D27012.diff

Index: head/sys/compat/linux/linux_socket.c
===================================================================
--- head/sys/compat/linux/linux_socket.c
+++ head/sys/compat/linux/linux_socket.c
@@ -222,6 +222,8 @@
return (SO_LINGER);
case LINUX_SO_REUSEPORT:
return (SO_REUSEPORT_LB);
+ case LINUX_SO_PASSCRED:
+ return (LOCAL_CREDS_PERSISTENT);
case LINUX_SO_PEERCRED:
return (LOCAL_PEERCRED);
case LINUX_SO_RCVLOWAT:
@@ -1445,6 +1447,9 @@
case SOL_SOCKET:
name = linux_to_bsd_so_sockopt(args->optname);
switch (name) {
+ case LOCAL_CREDS_PERSISTENT:
+ level = SOL_LOCAL;
+ break;
case SO_RCVTIMEO:
/* FALLTHROUGH */
case SO_SNDTIMEO:
@@ -1522,6 +1527,9 @@
case SOL_SOCKET:
name = linux_to_bsd_so_sockopt(args->optname);
switch (name) {
+ case LOCAL_CREDS_PERSISTENT:
+ level = SOL_LOCAL;
+ break;
case SO_RCVTIMEO:
/* FALLTHROUGH */
case SO_SNDTIMEO:

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 8:56 AM (20 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15976149
Default Alt Text
D27012.diff (915 B)

Event Timeline