summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/send.2
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2004-05-11 16:28:07 +0000
committercsjp <csjp@FreeBSD.org>2004-05-11 16:28:07 +0000
commit21e9818fde05309e14ee80f54def67d7010a7cc1 (patch)
tree6fed6b2bd0dd96b837c853c18bcd28ecaa703b71 /lib/libc/sys/send.2
parent0fb3fb5b41f130352b561e7c240e6294a78bb663 (diff)
downloadFreeBSD-src-21e9818fde05309e14ee80f54def67d7010a7cc1.zip
FreeBSD-src-21e9818fde05309e14ee80f54def67d7010a7cc1.tar.gz
Document the fact that in a jailed environment, sendto(2) could fail
returning EPERM if the source address specified in the IP header did not match the address bound to the prison. Approved by: bmilekic (mentor)
Diffstat (limited to 'lib/libc/sys/send.2')
-rw-r--r--lib/libc/sys/send.24
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2
index e2e0527..2d5d76f 100644
--- a/lib/libc/sys/send.2
+++ b/lib/libc/sys/send.2
@@ -189,6 +189,10 @@ receiver is not listening on the remote port.
The remote host was down.
.It Bq Er ENETDOWN
The remote network was down.
+.It Bq Er EPERM
+The process using a SOCK_RAW socket was jailed and the source
+address specified in the IP header did not match the IP
+address bound to the prison.
.It Bq Er EPIPE
The socket is unable to send anymore data (SS_CANTSENDMORE has
been set on the socket). This typically means that the socket
OpenPOWER on IntegriCloud