diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-06-26 16:28:49 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-06-26 16:30:58 -0400 |
commit | efda534b212f713fe2b92a62b06e45f656b763ce (patch) | |
tree | a07077caf8e8a29fbd3c4458e83e19239d702533 | |
parent | 587f5a53bc3a68d80b239ba515d583df690a96df (diff) | |
download | musl-efda534b212f713fe2b92a62b06e45f656b763ce.tar.gz musl-efda534b212f713fe2b92a62b06e45f656b763ce.tar.bz2 musl-efda534b212f713fe2b92a62b06e45f656b763ce.tar.xz musl-efda534b212f713fe2b92a62b06e45f656b763ce.zip |
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.
-rw-r--r-- | arch/powerpc/bits/socket.h | 1 | ||||
-rw-r--r-- | arch/powerpc64/bits/socket.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 |