cvs commit: src/lib/libutil pidfile.3

Jeremie Le Hen jeremie at le-hen.org
Mon Sep 19 02:14:48 PDT 2005


Hi,

> >pjd         2005-09-16 11:19:38 UTC
> >
> >  FreeBSD src repository
> >
> >  Modified files:
> >    lib/libutil          pidfile.3
> >  Log:
> >  Pidfiles should be created with permission preventing users from  
> >opening
> >  them for reading. When user can open file for reading, he can also
> >  flock(2) it, which can lead to confusions.
> 
> This means that a monitoring tool would need to run with elevated  
> privileges to determine the PID of the process to monitor, correct?

I can't see what's the problem with disclosing daemons' PID to all
users, given they won't be able to signal it or such anyway.

Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >


More information about the cvs-all mailing list