diff --git a/man2/connect.2 b/man2/connect.2 index 41296cf4e..d051d1c28 100644 --- a/man2/connect.2 +++ b/man2/connect.2 @@ -155,6 +155,13 @@ in the path prefix. The user tried to connect to a broadcast address without having the socket broadcast flag enabled or the connection request failed because of a local firewall rule. + +.B EACCES +can also be returned if a SELinux policy denied a connection (for +example, if there is a policy saying that an HTTP proxy can only +connect to ports associated with HTTP servers, and the proxy tries to +connect to a different port). + .TP .B EADDRINUSE Local address is already in use. @@ -297,4 +304,5 @@ is shown in .BR getsockname (2), .BR listen (2), .BR socket (2), -.BR path_resolution (7) +.BR path_resolution (7), +.BR selinux (8)