Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 1996 10:35:28 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        wpaul@skynet.ctr.columbia.edu (Bill Paul)
Subject:   Re: looking for an idea
Message-ID:  <199611250935.KAA16590@uriah.heep.sax.de>
In-Reply-To: <199611242122.QAA02399@skynet.ctr.columbia.edu> from Bill Paul at "Nov 24, 96 04:22:57 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611250935.KAA16590>