From efda534b212f713fe2b92a62b06e45f656b763ce Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 26 Jun 2018 16:28:49 -0400 Subject: [PATCH] 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. --- arch/powerpc/bits/socket.h | 1 + arch/powerpc64/bits/socket.h | 1 + 2 files changed, 2 insertions(+) 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 -- 2.25.1