]> granicus.if.org Git - strace/commitdiff
xlat: add _OLD suffixes to SO_RCVTIMEO and SO_SNDTIMEO
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 15 May 2019 16:52:37 +0000 (16:52 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 15 May 2019 16:52:37 +0000 (16:52 +0000)
Follow the Linux kernel commit v5.1-rc1~178^2~363^2~1 and rename
these constants.

* xlat/sock_options.in (SO_RCVTIMEO): Rename to SO_RCVTIMEO_OLD.
(SO_SNDTIMEO): Rename to SO_SNDTIMEO_OLD.

xlat/sock_options.in

index 51b8157aae88080870419d76ecbd7714b9867e6e..7504adf274992ad928af9a53b310e64e1cd109dd 100644 (file)
@@ -137,27 +137,27 @@ SO_SNDLOWAT       19
 #endif
 
 #if defined __powerpc__
-SO_RCVTIMEO    18
+SO_RCVTIMEO_OLD        18
 #elif defined __hppa__ || defined __mips__
-SO_RCVTIMEO    4102
+SO_RCVTIMEO_OLD        4102
 #elif defined __alpha__
-SO_RCVTIMEO    4114
+SO_RCVTIMEO_OLD        4114
 #elif defined __sparc__
-SO_RCVTIMEO    8192
+SO_RCVTIMEO_OLD        8192
 #else
-SO_RCVTIMEO    20
+SO_RCVTIMEO_OLD        20
 #endif
 
 #if defined __powerpc__
-SO_SNDTIMEO    19
+SO_SNDTIMEO_OLD        19
 #elif defined __hppa__ || defined __mips__
-SO_SNDTIMEO    4101
+SO_SNDTIMEO_OLD        4101
 #elif defined __alpha__
-SO_SNDTIMEO    4115
+SO_SNDTIMEO_OLD        4115
 #elif defined __sparc__
-SO_SNDTIMEO    16384
+SO_SNDTIMEO_OLD        16384
 #else
-SO_SNDTIMEO    21
+SO_SNDTIMEO_OLD        21
 #endif
 
 #if defined __alpha__