summaryrefslogtreecommitdiff
path: root/menuselect/config.guess
diff options
context:
space:
mode:
authorSean Bright <sean.bright@gmail.com>2017-03-18 13:30:32 -0400
committerSean Bright <sean.bright@gmail.com>2017-03-20 08:55:05 -0400
commitfc71c18a9b572296e171eb6b1f87aee5c2256c8c (patch)
tree8c1123cca9cfe951f7562dcd80a4b8d24e0bb9f6 /menuselect/config.guess
parentb05d2fda0c8b3473c3d6d7bd1cc0473e2728b744 (diff)
thread safety: Don't use getprotobyname()
POSIX does not require getprotobyname() to be thread safe and some implementations use static memory which causes issues when multiple threads are used. Further, our usage of it today is just to ultimately get IPPROTO_TCP for calls to setsockopt(). So instead we just use IPPROTO_TCP directly. Change-Id: I2e14e58674808f7ce99b2f5e900d0f90d0d8da48
Diffstat (limited to 'menuselect/config.guess')
0 files changed, 0 insertions, 0 deletions