From: Daniel J Walsh <dwalsh@redhat.com>
To: Colin Walters <walters@verbum.org>
Cc: eparis@redhat.com, selinux@tycho.nsa.gov
Subject: Re: [PATCH 41/73] policycoreutils: mcstransd: write a pid file FIXME
Date: Wed, 28 Mar 2012 13:23:15 -0400 [thread overview]
Message-ID: <4F734903.3000605@redhat.com> (raw)
In-Reply-To: <1332951864.15547.29.camel@lenny>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/28/2012 12:24 PM, Colin Walters wrote:
> The naming here is confusing...the C variable should be called "daemonize" or "do_fork" or something.
>
> + if (foreground && daemon(0, 0)) {
>
> Would then be:
>
> if (!foreground && daemon(0, 0))
>
> Right?
>
>
Ok using do_fork.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9zSQIACgkQrlYvE4MpobNJeQCeMJJLClSc7KgtNxtEp9SRRgrm
gscAoJGil/oYdK+agV3OSDF/eUm8nixW
=0jm0
-----END PGP SIGNATURE-----
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
prev parent reply other threads:[~2012-03-28 17:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 15:49 [PATCH 41/73] policycoreutils: mcstransd: write a pid file FIXME Daniel J Walsh
2012-03-27 15:53 ` Colin Walters
2012-03-27 18:02 ` Daniel J Walsh
2012-03-28 16:24 ` Colin Walters
2012-03-28 17:23 ` Daniel J Walsh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F734903.3000605@redhat.com \
--to=dwalsh@redhat.com \
--cc=eparis@redhat.com \
--cc=selinux@tycho.nsa.gov \
--cc=walters@verbum.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.