← Commit list

88947dd05

Robert Griebl
Robert Griebl
2002-07-18
FAILED Duration: 5s

Subject

Added a compile time option to suppress the "Using fallback.." message if no busybox.conf file is existant.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

applets/applets.c+2 -0
@@ -223,12 +223,14 @@ void check_suid ( struct BB_applet *applet )
return;
}
else {
+#ifndef CONFIG_FEATURE_SUID_CONFIG_QUIET
static int onetime = 0;
if ( !onetime ) {
onetime = 1;
fprintf ( stderr, "Using fallback suid method\n" );
}
+#endif
}
#endif
sysdeps/linux/config.in+3 -0
@@ -20,6 +20,9 @@ bool 'Support for SUID/SGID handling' CONFIG_FEATURE_SUID
if [ "$CONFIG_FEATURE_SUID" = "y" ]; then
bool ' Runtime configuration via /etc/busybox.conf' CONFIG_FEATURE_SUID_CONFIG
fi
+if [ "$CONFIG_FEATURE_SUID_CONFIG" = "y" ]; then
+ bool ' Suppress message if config file is not readable' CONFIG_FEATURE_SUID_CONFIG_QUIET
+fi
endmenu
source archival/config.in