Ahem: add new faq entry to list at top of FAQ.html
[oweals/busybox.git] / loginutils / sulogin.c
index f21b0957159078a53b4d6390dc36e17124134e0f..a458b6ed7392830157c67a50b0fa286bb1993e65 100644 (file)
@@ -153,6 +153,12 @@ extern int sulogin_main(int argc, char **argv)
        puts("Entering System Maintenance Mode\n");
        fflush(stdout);
        syslog(LOG_INFO, "System Maintenance Mode\n");
+
+#ifdef CONFIG_SELINUX
+       renew_current_security_context();
+#endif
+
        run_shell(pwent.pw_shell, 1, 0, 0);
+
        return (0);
 }