[peruser] Possible bug with permission/kill

Sean Gabriel Heacock gabriel at telana.com
Thu May 8 13:29:18 MDT 2008


Jille wrote:
> Isn't it possible that the kill(pid, 0) fails with EPERM ?
> I haven't found out yet whether reap_children is ran as root, or this is
> only about other processes with the same uid.
> 
> It might be a bug, I don't know; I'm reporting it, just in case ;)
> (or else I will at least learn something about peruser :))

I think only the root process ever runs that code, but it's certainly 
worth checking for that error anyway.  At least it would allow us to 
give a descriptive error if someone configures apache to run as a 
non-root user while trying to run peruser.  Consider this put on the 
todo list :)

-- 
Sean Gabriel Heacock
Telana Internet Services
http://www.telana.com/


More information about the Peruser mailing list