From: James Morris <jmorris@namei.org>
To: wzt.wzt@gmail.com
Cc: linux-kernel@vger.kernel.org,
linux-security-module@vger.kernel.org, sds@tycho.nsa.gov
Subject: Re: [PATCH] Security: Add __init to register_security to disable load a security module on runtime
Date: Wed, 3 Mar 2010 09:17:03 +1100 (EST) [thread overview]
Message-ID: <alpine.LRH.2.00.1003030916460.14492@tundra.namei.org> (raw)
In-Reply-To: <20100226144955.GB2778@localhost.localdomain>
On Fri, 26 Feb 2010, wzt.wzt@gmail.com wrote:
> Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-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@namei.org>
prev parent reply other threads:[~2010-03-02 22:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-26 14:49 wzt.wzt
2010-02-27 1:52 ` Tetsuo Handa
2010-02-27 3:02 ` wzt wzt
2010-02-27 6:30 ` Tetsuo Handa
2010-02-28 5:56 ` wzt wzt
2010-02-28 6:35 ` Tetsuo Handa
2010-03-02 22:17 ` James Morris [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LRH.2.00.1003030916460.14492@tundra.namei.org \
--to=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=sds@tycho.nsa.gov \
--cc=wzt.wzt@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®