PATCH: auditd.c should handle nonselinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently isys/auditd.c will exit the installer if anaconda is built
with USESELINUX=0. This patch should fix that.

Elliot
diff -r 7e362d8b92a3 isys/auditd.c
--- a/isys/auditd.c	Wed Jan 17 00:44:58 2007 -0500
+++ b/isys/auditd.c	Tue Jan 16 22:08:37 2007 -0500
@@ -117,8 +117,11 @@ int audit_daemonize(void) {
     fd = audit_open();
     do_auditd(fd);
     audit_close(fd);
+#ifndef STANDALONE
+    exit(0);
+#endif /* !defined(STANDALONE) */
 #endif /* USESELINUX */
-    exit(0);
+    return 0;
 }
 
 #ifdef STANDALONE

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux