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] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.00.1003030916460.14492@tundra.namei.org>
Date:	Wed, 3 Mar 2010 09:17:03 +1100 (EST)
From:	James Morris <jmorris@...ei.org>
To:	wzt.wzt@...il.com
cc:	linux-kernel@...r.kernel.org,
	linux-security-module@...r.kernel.org, sds@...ho.nsa.gov
Subject: Re: [PATCH] Security: Add __init to register_security to disable
 load a security module on runtime

On Fri, 26 Feb 2010, wzt.wzt@...il.com wrote:

> Signed-off-by: Zhitong Wang <zhitong.wangzt@...baba-inc.com>
> 


Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next-queue


> ---
>  security/security.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/security/security.c b/security/security.c
> index 122b748..7da630a 100644
> --- a/security/security.c
> +++ b/security/security.c
> @@ -110,7 +110,7 @@ int __init security_module_enable(struct security_operations *ops)
>   * If there is already a security module registered with the kernel,
>   * an error will be returned.  Otherwise %0 is returned on success.
>   */
> -int register_security(struct security_operations *ops)
> +int __init register_security(struct security_operations *ops)
>  {
>  	if (verify(ops)) {
>  		printk(KERN_DEBUG "%s could not verify "
> -- 
> 1.6.5.3
> 

-- 
James Morris
<jmorris@...ei.org>
--
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