Index: Lib/plat-linux2/DLFCN.py =================================================================== --- ./Lib/plat-linux2/DLFCN.py (Revision 77754) +++ ./Lib/plat-linux2/DLFCN.py (Arbeitskopie) @@ -77,7 +77,7 @@ RTLD_LAZY = 0x00001 RTLD_NOW = 0x00002 RTLD_BINDING_MASK = 0x3 -RTLD_NOLOAD = 0x00004 -RTLD_GLOBAL = 0x00100 +RTLD_NOLOAD = 0x00008 +RTLD_GLOBAL = 0x00004 RTLD_LOCAL = 0 RTLD_NODELETE = 0x01000 Index: Lib/plat-linux2/IN.py =================================================================== --- ./Lib/plat-linux2/IN.py (Revision 77754) +++ ./Lib/plat-linux2/IN.py (Arbeitskopie) @@ -436,33 +436,33 @@ # Included from asm/socket.h # Included from asm/sockios.h -FIOSETOWN = 0x8901 -SIOCSPGRP = 0x8902 -FIOGETOWN = 0x8903 -SIOCGPGRP = 0x8904 -SIOCATMARK = 0x8905 +FIOSETOWN = 0x8004667c +SIOCSPGRP = 0x80047308 +FIOGETOWN = 0x4004667b +SIOCGPGRP = 0x40047309 +SIOCATMARK = 0x40047307 SIOCGSTAMP = 0x8906 -SOL_SOCKET = 1 -SO_DEBUG = 1 -SO_REUSEADDR = 2 -SO_TYPE = 3 -SO_ERROR = 4 -SO_DONTROUTE = 5 -SO_BROADCAST = 6 -SO_SNDBUF = 7 -SO_RCVBUF = 8 -SO_KEEPALIVE = 9 -SO_OOBINLINE = 10 +SOL_SOCKET = 0xffff +SO_DEBUG = 0x0001 +SO_REUSEADDR = 0x0004 +SO_TYPE = 0x1008 +SO_ERROR = 0x1007 +SO_DONTROUTE = 0x0010 +SO_BROADCAST = 0x0020 +SO_SNDBUF = 0x1001 +SO_RCVBUF = 0x1002 +SO_KEEPALIVE = 0x0008 +SO_OOBINLINE = 0x0100 SO_NO_CHECK = 11 SO_PRIORITY = 12 -SO_LINGER = 13 +SO_LINGER = 0x0080 SO_BSDCOMPAT = 14 -SO_PASSCRED = 16 -SO_PEERCRED = 17 -SO_RCVLOWAT = 18 -SO_SNDLOWAT = 19 -SO_RCVTIMEO = 20 -SO_SNDTIMEO = 21 +SO_PASSCRED = 17 +SO_PEERCRED = 18 +SO_RCVLOWAT = 0x1004 +SO_SNDLOWAT = 0x1003 +SO_RCVTIMEO = 0x1006 +SO_SNDTIMEO = 0x1005 SO_SECURITY_AUTHENTICATION = 22 SO_SECURITY_ENCRYPTION_TRANSPORT = 23 SO_SECURITY_ENCRYPTION_NETWORK = 24 @@ -472,9 +472,9 @@ SO_PEERNAME = 28 SO_TIMESTAMP = 29 SCM_TIMESTAMP = SO_TIMESTAMP -SO_ACCEPTCONN = 30 -SOCK_STREAM = 1 -SOCK_DGRAM = 2 +SO_ACCEPTCONN = 0x1009 +SOCK_STREAM = 2 +SOCK_DGRAM = 1 SOCK_RAW = 3 SOCK_RDM = 4 SOCK_SEQPACKET = 5