OSDN Git Service

fix regression in s390x SO_PEERSEC definition
authorRich Felker <dalias@aerifal.cx>
Tue, 23 Apr 2019 16:57:16 +0000 (12:57 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 23 Apr 2019 16:57:16 +0000 (12:57 -0400)
analogous to commit efda534b212f713fe2b92a62b06e45f656b763ce for
powerpc. commit 587f5a53bc3a68d80b239ba515d583df690a96df moved the
definition of SO_PEERSEC to bits/socket.h for archs where the SO_*
macros differ.

arch/s390x/bits/socket.h

index 2b81bfe..f2983ee 100644 (file)
@@ -38,6 +38,7 @@ struct cmsghdr {
 #define SO_RCVTIMEO     20
 #define SO_SNDTIMEO     21
 #define SO_ACCEPTCONN   30
+#define SO_PEERSEC      31
 #define SO_SNDBUFFORCE  32
 #define SO_RCVBUFFORCE  33
 #define SO_PROTOCOL     38