From owner-freebsd-hackers Mon Nov 25 01:55:26 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA27234 for hackers-outgoing; Mon, 25 Nov 1996 01:55:26 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA27157 for ; Mon, 25 Nov 1996 01:55:12 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA24287; Mon, 25 Nov 1996 10:52:18 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id KAA10886; Mon, 25 Nov 1996 10:52:17 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id KAA16590; Mon, 25 Nov 1996 10:35:29 +0100 (MET) From: J Wunsch Message-Id: <199611250935.KAA16590@uriah.heep.sax.de> Subject: Re: looking for an idea To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Mon, 25 Nov 1996 10:35:28 +0100 (MET) Cc: wpaul@skynet.ctr.columbia.edu (Bill Paul) In-Reply-To: <199611242122.QAA02399@skynet.ctr.columbia.edu> from Bill Paul at "Nov 24, 96 04:22:57 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Bill Paul wrote: > Now, the problem is to find a way for A to verify B's UID without > resorting to grovelling in /dev/kmem. This is necessary since A would > need privileges to open /dev/kmem, and A and B might not be run by > privileged users. /proc/$pid/status is readable by everyone, and contains the real and effective UID of the process. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)