Date: Thu, 15 Jan 2009 18:31:02 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 156220 for review Message-ID: <200901151831.n0FIV2Bu087062@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=156220 Change 156220 by rwatson@rwatson_freebsd_capabilities on 2009/01/15 18:30:27 Update use of fgetsock() to specify no capabilities required; this use of a socket is fairly odd. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/sys/compat/linux/linux_socket.c#5 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/sys/compat/linux/linux_socket.c#5 (text+ko) ==== @@ -699,7 +699,7 @@ * * XXXRW: No capability rights required here? */ - error = fgetsock(td, args->s, &so, &fflag); + error = fgetsock(td, args->s, 0, &so, &fflag); if (error == 0) { error = EISCONN; if (fflag & FNONBLOCK) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901151831.n0FIV2Bu087062>