Date: Wed, 28 Mar 2007 10:23:27 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Steve Watt <steve@watt.com> Cc: freebsd-hackers@freebsd.org Subject: Re: sendto() giving EPERM outside a jail Message-ID: <200703281023.35665.doconnor@gsoft.com.au> In-Reply-To: <200703231617.l2NGHDlu074159@wattres.watt.com> References: <200703231617.l2NGHDlu074159@wattres.watt.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1795497.Prg59siEbL Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 24 March 2007 02:47, Steve Watt wrote: > >According to my reading of the man page it is not possible to get this > > error unless I'm using jails (which I'm not). The code in question does= =2E. > That's probably a buglet in the man page. I guess it would be nice if the man page(s) mentioned that a firewall could= =20 cause EPERM. I have seen it before with other apps but the sendto() confuse= d=20 me. > >Can someone shed light on what the problem is? The application appears to > > work fine even with this error though. > > man setsockopt, search for SO_BROADCAST. It doesn't say anything about EPERM. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1795497.Prg59siEbL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBGCbyP5ZPcIHs/zowRArn1AKCWAKgABl3I/56NLFdhYcgyIoUPfgCeIQut InJt75uUUZ3W3sn8kyXIKuQ= =R1fq -----END PGP SIGNATURE----- --nextPart1795497.Prg59siEbL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703281023.35665.doconnor>