Re: cvs commit: src/lib/libutil pidfile.3

[ Available lists | Index of cvs-src | Month of Sep 2005 | Week of 19 Sep 2005 | Raw email | View thread | Wrap long lines | Reply ]
From
Jeremie Le Hen <jeremie@le-hen.org>
Date
19 Sep 2005 09:14:48
Subject
Re: cvs commit: src/lib/libutil pidfile.3
Message-ID
20050919091447.GL51142@obiwan.tataz.chchile.org


[ Hide this part ]
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 >


Elapsed time: 0.314 seconds