lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 29 Jan 2012 11:21:30 +1030
From:	Rusty Russell <rusty@...tcorp.com.au>
To:	Dave Young <dyoung@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] add kernel parameter to disable module load

On Sat, 28 Jan 2012 11:34:50 +0800, Dave Young <dyoung@...hat.com> wrote:
> Sometimes we need to test a kernel of same version with code or config
> option changes.
> 
> We already have sysctl to disable module load, but add a kernel
> parameter will be more convenient.


> +static int __init module_load_disable(char *str)
> +{
> +	modules_disabled = 1;
> +	return 1;
> +}
> +__setup("nomodule", module_load_disable);

You misspelled core_param here :)

Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ