From: Rich Felker Date: Tue, 26 Jun 2018 20:28:49 +0000 (-0400) Subject: fix regression in powerpc[64] SO_PEERSEC definition X-Git-Tag: v1.1.20~59 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=efda534b212f713fe2b92a62b06e45f656b763ce;p=oweals%2Fmusl.git fix regression in powerpc[64] SO_PEERSEC definition commit 587f5a53bc3a68d80b239ba515d583df690a96df moved the definition of SO_PEERSEC to bits/socket.h for archs where the SO_* macros differ from their standard values, but failed to add copies of the generic definition for powerpc and powerpc64. --- diff --git a/arch/powerpc/bits/socket.h b/arch/powerpc/bits/socket.h index 2fee8777..a94b8bdb 100644 --- a/arch/powerpc/bits/socket.h +++ b/arch/powerpc/bits/socket.h @@ -36,6 +36,7 @@ struct cmsghdr { #define SO_PASSCRED 20 #define SO_PEERCRED 21 #define SO_ACCEPTCONN 30 +#define SO_PEERSEC 31 #define SO_SNDBUFFORCE 32 #define SO_RCVBUFFORCE 33 #define SO_PROTOCOL 38 diff --git a/arch/powerpc64/bits/socket.h b/arch/powerpc64/bits/socket.h index 2f748ae8..0f3c9aac 100644 --- a/arch/powerpc64/bits/socket.h +++ b/arch/powerpc64/bits/socket.h @@ -54,6 +54,7 @@ struct cmsghdr { #define SO_PASSCRED 20 #define SO_PEERCRED 21 #define SO_ACCEPTCONN 30 +#define SO_PEERSEC 31 #define SO_SNDBUFFORCE 32 #define SO_RCVBUFFORCE 33 #define SO_PROTOCOL 38