Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2005 11:14:47 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org>, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libutil pidfile.3
Message-ID:  <20050919091447.GL51142@obiwan.tataz.chchile.org>
In-Reply-To: <BE56835D-58E2-4F21-B2CA-FB33ED18E382@lassitu.de>
References:  <200509161119.j8GBJcS0080866@repoman.freebsd.org> <BE56835D-58E2-4F21-B2CA-FB33ED18E382@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050919091447.GL51142>