List Archive: gentoo-dev
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On 21-03-2008 12:07:24 +0000, Roy Marples wrote:
> 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.
Indeed. And I just found out that Leopard (10.5) dropped the entire kvm
which wasn't working to funky anyway. I just made some implementation
of walking through all running processes for portage-utils' `qlop -c`
using sysctl calls -- the way to do it on Darwin, and that works even as
normal unprivileged user, so I guess we can just use that.
> > 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.
I was thinking of a wrapping process, but I only later realised that
this isn't working since many/most daemons fork into the background, so
you loose the control over it anyway.
Gentoo on a different level
firstname.lastname@example.org mailing list