Date: Wed, 6 Jan 2010 20:07:18 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet in.c Message-ID: <201001062007.o06K7Qsl021704@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2010-01-06 20:07:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netinet in.c Log: SVN rev 201663 on 2010-01-06 20:07:18Z by bz MFC r186948 (w/o the IPv6 parts): Make SIOCGIFADDR and related, jail-aware. Up to now we returned the first address of the interface for SIOCGIFADDR w/o an ifr_addr in the query. This caused problems for programs querying for an address but running inside a jail, as the address returned usually did not belong to the jail. If there was an ifr_addr given on v4, you could probe for more addresses on the interfaces that you were not allowed to see from inside a jail. Return an error (EADDRNOTAVAIL) in that case now unless the address is on the given interface and valid for the jail. PR: kern/114325 Thanks to: Axel Scheepers (axel.scheepers nl.clara.net) Revision Changes Path 1.85.2.12 +9 -1 src/sys/netinet/in.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001062007.o06K7Qsl021704>