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? -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.