From: James Morris <jmorris@namei.org> To: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Cc: linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov, kernel-hardening@lists.openwall.com Subject: Re: [RFC v2 PATCH 1/2] security: introduce CONFIG_SECURITY_WRITABLE_HOOKS Date: Wed, 15 Feb 2017 09:55:25 +1100 (AEDT) [thread overview] Message-ID: <alpine.LRH.2.20.1702150952360.6813@namei.org> (raw) In-Reply-To: <201702142324.IFB95862.MOSJLOVFQFtFHO@I-love.SAKURA.ne.jp> On Tue, 14 Feb 2017, Tetsuo Handa wrote: > > diff --git a/security/Kconfig b/security/Kconfig > > index 118f454..f6f90c4 100644 > > --- a/security/Kconfig > > +++ b/security/Kconfig > > @@ -31,6 +31,11 @@ config SECURITY > > > > If you are unsure how to answer this question, answer N. > > > > +config SECURITY_WRITABLE_HOOKS > > + depends on SECURITY > > + bool > > + default n > > + > > This configuration option must not be set to N without big fat explanation > about implications of setting this option to N. It's not visible in the config menu, it's only there to support SELinux runtime disablement, otherwise it wouldn't even be an option. > > Honestly, I still don't like this option, regardless of whether SELinux > needs this option or not. > I agree, it would be better to just enable RO hardening without an option to disable it. -- James Morris <jmorris@namei.org>
WARNING: multiple messages have this Message-ID (diff)
From: James Morris <jmorris@namei.org> To: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Cc: linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov, kernel-hardening@lists.openwall.com Subject: [kernel-hardening] Re: [RFC v2 PATCH 1/2] security: introduce CONFIG_SECURITY_WRITABLE_HOOKS Date: Wed, 15 Feb 2017 09:55:25 +1100 (AEDT) [thread overview] Message-ID: <alpine.LRH.2.20.1702150952360.6813@namei.org> (raw) In-Reply-To: <201702142324.IFB95862.MOSJLOVFQFtFHO@I-love.SAKURA.ne.jp> On Tue, 14 Feb 2017, Tetsuo Handa wrote: > > diff --git a/security/Kconfig b/security/Kconfig > > index 118f454..f6f90c4 100644 > > --- a/security/Kconfig > > +++ b/security/Kconfig > > @@ -31,6 +31,11 @@ config SECURITY > > > > If you are unsure how to answer this question, answer N. > > > > +config SECURITY_WRITABLE_HOOKS > > + depends on SECURITY > > + bool > > + default n > > + > > This configuration option must not be set to N without big fat explanation > about implications of setting this option to N. It's not visible in the config menu, it's only there to support SELinux runtime disablement, otherwise it wouldn't even be an option. > > Honestly, I still don't like this option, regardless of whether SELinux > needs this option or not. > I agree, it would be better to just enable RO hardening without an option to disable it. -- James Morris <jmorris@namei.org>
next prev parent reply other threads:[~2017-02-14 22:56 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-02-14 13:17 [RFC v2 PATCH 1/2] security: introduce CONFIG_SECURITY_WRITABLE_HOOKS James Morris 2017-02-14 13:17 ` [kernel-hardening] " James Morris 2017-02-14 14:24 ` Tetsuo Handa 2017-02-14 14:24 ` [kernel-hardening] " Tetsuo Handa 2017-02-14 22:55 ` James Morris [this message] 2017-02-14 22:55 ` James Morris 2017-02-15 14:42 ` Tetsuo Handa 2017-02-15 14:42 ` [kernel-hardening] " Tetsuo Handa 2017-02-15 16:15 ` Casey Schaufler 2017-02-15 16:15 ` [kernel-hardening] " Casey Schaufler 2017-02-16 11:00 ` Tetsuo Handa 2017-02-16 11:00 ` [kernel-hardening] " Tetsuo Handa 2017-02-16 19:49 ` Casey Schaufler 2017-02-16 20:02 ` Daniel Micay 2017-02-17 15:05 ` Tetsuo Handa 2017-02-17 17:29 ` Casey Schaufler 2017-02-17 15:30 ` Stephen Smalley 2017-02-17 15:30 ` [kernel-hardening] " Stephen Smalley
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.20.1702150952360.6813@namei.org \ --to=jmorris@namei.org \ --cc=kernel-hardening@lists.openwall.com \ --cc=linux-security-module@vger.kernel.org \ --cc=penguin-kernel@I-love.SAKURA.ne.jp \ --cc=selinux@tycho.nsa.gov \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.