From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 5 Sep 2001 05:52:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 5 Sep 2001 05:52:02 -0400 Received: from ns.suse.de ([213.95.15.193]:60420 "HELO Cantor.suse.de") by vger.kernel.org with SMTP id ; Wed, 5 Sep 2001 05:51:50 -0400 To: Florian Weimer Cc: linux-kernel@vger.kernel.org Subject: Re: getpeereid() for Linux In-Reply-To: From: Andi Kleen Date: 05 Sep 2001 11:52:09 +0200 In-Reply-To: Florian Weimer's message of "5 Sep 2001 11:22:44 +0200" Message-ID: User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Florian Weimer writes: > Would anyone like to give me a helping hand in implementing the > getpeereid() syscall for Linux? See the following page for the > documentation of the OpenBSD implementation: It is implemented for unix sockets (see unix(7)) For TCP it is rather useless because it would work only locally. If you trust the localhost you're probably better off using the ident protocol for it. -Andi