[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101114123517.GA11808@elte.hu>
Date: Sun, 14 Nov 2010 13:35:17 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Dan Rosenberg <drosenberg@...curity.com>,
James Morris <jmorris@...ei.org>,
Joe Perches <joe@...ches.com>,
LKML <linux-kernel@...r.kernel.org>,
Eugene Teo <eugeneteo@...nel.org>,
Kees Cook <kees.cook@...onical.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] Fix dmesg_restrict build failure with CONFIG_EMBEDDED=y
and CONFIG_PRINTK=n
* Linus Torvalds <torvalds@...ux-foundation.org> wrote:
> (The diffstat says that this adds more lines than it removes, but that
> is misleading: it is due to actually commenting the rule that checks
> are done open-time for /proc/kmsg)
>
> Linus
>
> include/linux/security.h | 11 +++++------
> kernel/printk.c | 15 ++++++++++++---
> kernel/sysctl.c | 2 +-
> security/commoncap.c | 7 +------
> security/security.c | 4 ++--
> security/selinux/hooks.c | 4 ++--
> security/smack/smack_lsm.c | 4 ++--
> 7 files changed, 25 insertions(+), 22 deletions(-)
I gave it some testing in -tip and your patch also solves the !EMBEDDED build bug
(and it also still restricts unprivileged dmesg output when desired), so:
Acked-by: Ingo Molnar <mingo@...e.hu>
Tested-by: Ingo Molnar <mingo@...e.hu>
Thanks,
Ingo
--
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