summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2023-01-09 22:10:30 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2023-01-13 00:37:38 -0500
commit2246731177cdc0a8325dd3d58a17f508604303b0 (patch)
tree182a53574a6051687d262b50dfec40b3226d276b /CMakeLists.txt
parent08d2cda776490db1cd95b14b98e062e3e9ff44ac (diff)
downloadlighttpd-git-2246731177cdc0a8325dd3d58a17f508604303b0.tar.gz
[core] avoid accept4() on ARM unless detected
accept4() was added in Linux x86 in kernel 2.6.28 accept4() was added in Linux ARM in kernel 2.6.36 Depending on the build environment, this patch may result in lighttpd using accept() on some ARM systems where accept4() is available, but should avoid the prior situation on ancient systems where accept4() fails at runtime due to libc support present but kernel support missing. x-ref: "Not need for new syscall" https://lwn.net/Articles/789961/ "accept4 returns EPERM instead of ENOSYS on some platforms" https://redmine.lighttpd.net/issues/2998 "cross-compilation for blackfin processor" https://redmine.lighttpd.net/boards/2/topics/10772
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions