Date: Tue, 5 Feb 2008 17:25:52 +0100 From: "Heiko Wundram (Beenic)" <wundram@beenic.net> To: "Zane C.B." <v.velox@vvelox.net> Cc: freebsd-questions@freebsd.org Subject: Re: unix domain socket security and PID retrieval Message-ID: <200802051725.52837.wundram@beenic.net> In-Reply-To: <20080205082826.03224660@vixen42> References: <20080204043021.1a8ee670@vixen42> <200802041536.30469.wundram@beenic.net> <20080205082826.03224660@vixen42>
next in thread | previous in thread | raw e-mail | index | archive | help
Am Dienstag, 5. Februar 2008 15:28:26 schrieb Zane C.B.: > <snip> And, on another note, you might be interested in /usr/src/lib/libc/gen/getpeereid.c which implements a function that (internally) uses a socket option (no need= to=20 mess with ancilliary messages) to retrieve the value you're looking for.=20 getsockopt() is surely directly exposed in Perl. =2D-=20 Heiko Wundram Product & Application Development =2D------------------------------------ Office Germany - EXPO PARK HANNOVER =20 Beenic Networks GmbH Mail=E4nder Stra=DFe 2 30539 Hannover =20 =46on +49 511 / 590 935 - 15 =46ax +49 511 / 590 935 - 29 Mobil +49 172 / 43 737 34 Mail wundram@beenic.net Beenic Networks GmbH =2D------------------------------------ Sitz der Gesellschaft: Hannover Gesch=E4ftsf=FChrer: Jorge Delgado Registernummer: HRB 61869 Registergericht: Amtsgericht Hannover
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802051725.52837.wundram>