aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 22:53:42 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 22:53:42 -0800
commitc8b2a6c50cacc98c924233a9e474c74c0370b6b8 (patch)
tree1fc8b3fe45ba61a68cd39c8ce64986d50067815b
parentdbeff12b4d2fd5943f6f03f7ed9a3ca486577bb0 (diff)
[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>
-rw-r--r--include/asm-sparc/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc/socket.h b/include/asm-sparc/socket.h
index 09575b608ad..4e0ce3a35ea 100644
--- a/include/asm-sparc/socket.h
+++ b/include/asm-sparc/socket.h
@@ -47,7 +47,7 @@
#define SO_TIMESTAMP 0x001d
#define SCM_TIMESTAMP SO_TIMESTAMP
-#define SO_PEERSEC 0x100e
+#define SO_PEERSEC 0x001e
/* Security levels - as per NRL IPv6 - don't actually do anything */
#define SO_SECURITY_AUTHENTICATION 0x5001