/* Clear dangerous stuff, set PATH */
sanitize_env_if_suid();
-// bb_askpass() already handles this
+// bb_ask() already handles this
// signal(SIGALRM, catchalarm);
pwd = getpwuid(0);
int r;
/* cp points to a static buffer that is zeroed every time */
- cp = bb_askpass(timeout,
+ cp = bb_ask(STDIN_FILENO, timeout,
"Give root password for system maintenance\n"
"(or type Control-D for normal startup):");
bb_info_msg("System Maintenance Mode");
- USE_SELINUX(renew_current_security_context());
+ IF_SELINUX(renew_current_security_context());
shell = getenv("SUSHELL");
if (!shell)