mirror of https://gitee.com/openkylin/linux.git
[SPARC]: Fixup SO_PEERSEC value on 32-bit sparc.
Sparc64 and Sparc32 have to have identical socket call numbering in order to handle compat layer stuff properly. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
dbeff12b4d
commit
c8b2a6c50c
|
@ -47,7 +47,7 @@
|
||||||
#define SO_TIMESTAMP 0x001d
|
#define SO_TIMESTAMP 0x001d
|
||||||
#define SCM_TIMESTAMP SO_TIMESTAMP
|
#define SCM_TIMESTAMP SO_TIMESTAMP
|
||||||
|
|
||||||
#define SO_PEERSEC 0x100e
|
#define SO_PEERSEC 0x001e
|
||||||
|
|
||||||
/* Security levels - as per NRL IPv6 - don't actually do anything */
|
/* Security levels - as per NRL IPv6 - don't actually do anything */
|
||||||
#define SO_SECURITY_AUTHENTICATION 0x5001
|
#define SO_SECURITY_AUTHENTICATION 0x5001
|
||||||
|
|
Loading…
Reference in New Issue