提交 c8b2a6c5 编写于 作者: D David S. Miller

[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: NDavid S. Miller <davem@davemloft.net>
上级 dbeff12b
...@@ -47,7 +47,7 @@ ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册