Unverified Commit 02036602 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!10795 Revert "security: restrict init parameters by configuration"

parents 974449b6 57eb1dd7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -574,7 +574,6 @@ static int __init unknown_bootoption(char *param, char *val,
	return 0;
}

#ifndef CONFIG_SECURITY_BOOT_INIT
static int __init init_setup(char *str)
{
	unsigned int i;
@@ -603,7 +602,6 @@ static int __init rdinit_setup(char *str)
	return 1;
}
__setup("rdinit=", rdinit_setup);
#endif

#ifndef CONFIG_SMP
static const unsigned int setup_max_cpus = NR_CPUS;
+0 −6
Original line number Diff line number Diff line
@@ -249,11 +249,5 @@ config LSM

source "security/Kconfig.hardening"

config SECURITY_BOOT_INIT
       bool "Disable init & rdinit parameters in cmdline"
       default n
       help
         No support init and rdinit parameters in cmdline

endmenu