From owner-freebsd-questions@FreeBSD.ORG Tue Feb 5 16:19:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2949216A41A for ; Tue, 5 Feb 2008 16:19:58 +0000 (UTC) (envelope-from wundram@beenic.net) Received: from mail.beenic.net (mail.beenic.net [83.246.72.40]) by mx1.freebsd.org (Postfix) with ESMTP id DA7AF13C478 for ; Tue, 5 Feb 2008 16:19:57 +0000 (UTC) (envelope-from wundram@beenic.net) Received: from [192.168.1.32] (a89-182-132-178.net-htp.de [89.182.132.178]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.beenic.net (Postfix) with ESMTP id D78E3A44529; Tue, 5 Feb 2008 17:19:55 +0100 (CET) From: "Heiko Wundram (Beenic)" Organization: Beenic Networks GmbH To: "Zane C.B." Date: Tue, 5 Feb 2008 17:21:19 +0100 User-Agent: KMail/1.9.7 References: <20080204043021.1a8ee670@vixen42> <200802041536.30469.wundram@beenic.net> <20080205082826.03224660@vixen42> In-Reply-To: <20080205082826.03224660@vixen42> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802051721.20302.wundram@beenic.net> Cc: freebsd-questions@freebsd.org Subject: Re: unix domain socket security and PID retrieval X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2008 16:19:58 -0000 Am Dienstag, 5. Februar 2008 15:28:26 schrieb Zane C.B.: > As far as I understand the code you've written, that won't work, because you're tying to send/receive the ancilliary messages as socket data, and not as a separate message. Additionally, I don't program any Perl (left that for good about eight years ago), and as such, I won't be of much help putting something together in Perl to do what you want. If you're interested in C code that works (possibly to ask someone more proficient in Perl to translate that), just tell me, and I'll hack something together. -- Heiko Wundram Product & Application Development