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:08:33
Message-Id: 200803211208.30919.roy@marples.name
In Reply to: Re: [gentoo-dev] Testing to see if services have crashed on hardened by Natanael Copa
On Friday 21 March 2008 10:44:12 Natanael Copa wrote:
> err... run rc-status as root? > > I mean if you are not supposed to see if a process is running or not as > normal user, then hardned is doin it's job when does not allow rc-status > to show this info to the unprivileged user. > > if (!HARDENED || (HARDENED && euid=0) { > /* show if process is running or not */ > }
Ideally I'd like a runtime catch rather than a define for this though, but that's probably the best idea thus far. Thanks Roy -- gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Testing to see if services have crashed on hardened Natanael Copa <natanael.copa@×××××.com>