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

PATCH: auditd.c should handle nonselinux



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

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