Subject: Re: ps /proc changes (CVS commit: src)
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 03/27/1999 17:32:51
In article <19990327105151.A26941@marvin.ece.utexas.edu> firstname.lastname@example.org (Brian C. Grayson) writes:
>On Sat, Mar 27, 1999 at 10:44:19AM +0100, Bernd Ernesti wrote:
>> I think that is not enough. You have to check that /proc is an procfs.
>> It is just to easy to fake processes for an intruder without replacing ps.
> How about a getmntinfo() call, followed by a check that:
You probably want just a statfs call.