Re: New library: libpidfile.
From: Stefan Bethke (stb_at_lassitu.de)
Date: 08/23/05
- Previous message: Pawel Jakub Dawidek: "Re: New library: libpidfile."
- In reply to: Pawel Jakub Dawidek: "New library: libpidfile."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 23 Aug 2005 10:25:09 +0200 To: Pawel Jakub Dawidek <pjd@freebsd.org>
Random thoughts:
Am 22.08.2005 um 23:30 schrieb Pawel Jakub Dawidek:
> if (pidfile_open("/var/run/daemon.pid", 0644, &otherpid) == -1) {
> pidfile_write();
> pidfile_close();
I can't really think of a case that would need it, but wouldn't it
make sense to have pidfile_open return a handle, and use that in the
subsequent calls? Just in case anyone would ever need more than one...
Does this API have any implications for privsep'ed daemons?
Stefan
-- Stefan Bethke <stb@lassitu.de> Fon +49 170 346 0140 _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Pawel Jakub Dawidek: "Re: New library: libpidfile."
- In reply to: Pawel Jakub Dawidek: "New library: libpidfile."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: System processes recognition.
... On Tuesday 15 March 2005 07:51 am, Pawel Jakub Dawidek wrote: ... Ask bde@,
he might say that P_SYSTEM should be removed ... from init. ... To unsubscribe,
... (freebsd-arch) - Re: Mounting root...
... On Monday 23 August 2004 03:05 pm, Pawel Jakub Dawidek wrote: ... > If it
will be started in degraded mode, it can be mounted and modified ... shoving it
back in again? ... To unsubscribe, ... (freebsd-arch) - Re: performance of jailed processes
... Pawel Jakub Dawidek writes: ... hmm, interesting, that worked fine...
... DES ... To unsubscribe, ... (freebsd-current) - [stephane.wirtel@belgacom.net: Re: [current tinderbox] failure on i386/i386]
... The patch of Pawel Jakub Dawidek, fixes the problem. ... To unsubscribe,
... (freebsd-current) - Re: VIA/ACE PadLock integration with crypto(9).
... Pawel Jakub Dawidek wrote: ... It probably worth a security advisory.
... To unsubscribe, ... (freebsd-current)