Gentoo Archives: gentoo-dev

From: Roy Marples <roy@×××××××.name>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Testing to see if services have crashed on hardened
Date: Fri, 21 Mar 2008 12:07:28
Message-Id: 200803211207.24347.roy@marples.name
In Reply to: Re: [gentoo-dev] Testing to see if services have crashed on hardened by Fabian Groffen
On Friday 21 March 2008 10:37:11 Fabian Groffen wrote:
> Assuming you would use libkvm, on Darwin this means as unprivileged user > (not using suid) you can't see any processes at all.
That's different from FreeBSD and NetBSD then.
> > > This isn't really an easy answer, as we could have installed OpenRC in a > > prefix where this wouldn't apply, but we don't know that either. > > > > Ideas anyone? > > Is there a way to just have some fallback method which is less > functional, but just uses some pid file with a lock or something?
Not all services use pidfiles. Also, some services re-fork and re-write their pidfiles and I'm not sure the lock would carry across in that instance. Thanks Roy -- gentoo-dev@l.g.o mailing list

Replies