]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sock: set conn->err_code in case of EPERM next
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Tue, 21 May 2024 17:24:37 +0000 (19:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 May 2024 18:14:31 +0000 (20:14 +0200)
commit39caa20b3c9cc273f39fe704969b1d75519e424c
tree4d2e14ca4bf876334946072e12d8ce3e700cb93b
parent5f713c03bed6424fee7dc36fbb00efe368a7e95b
MINOR: sock: set conn->err_code in case of EPERM

To improve the readability of sock_handle_system_err(), let's
set explicitly conn->err_code as CO_ER_SOCK_ERR in case of EPERM
(could be returned by setns syscall).
src/sock.c