Re: "Default Linux Capabilities" default in 2.6.24

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: James Morris <jmorris@...>
Cc: Matt LaPlante <kernel1@...>, <linux-kernel@...>, <linux-security-module@...>
Date: Tuesday, January 29, 2008 - 9:08 am

Quoting James Morris (jmorris@namei.org):

True, it was made the default when CONFIG_SECURITY=n a few years ago,
and switching it off when toggling CONFIG_SECURITY is probably unsafe
for unsuspecting users/testers.

Thanks Matt.

-serge

From 0528f582de5534b972abddbb3294a3fb11435a21 Mon Sep 17 00:00:00 2001
From: sergeh@us.ibm.com <hallyn@kernel.(none)>
Date: Tue, 29 Jan 2008 05:04:43 -0800
Subject: [PATCH 1/1] security: compile capabilities by default

Capabilities have long been the default when CONFIG_SECURITY=n,
and its help text suggests turning it on when CONFIG_SECURITY=y.
But it is set to default n.

Default it to y instead.

Signed-off-by: Serge Hallyn <serue@us.ibm.com>
---
 security/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/security/Kconfig b/security/Kconfig
index 8086e61..389e151 100644
--- a/security/Kconfig
+++ b/security/Kconfig
@@ -76,6 +76,7 @@ config SECURITY_NETWORK_XFRM
 config SECURITY_CAPABILITIES
 	bool "Default Linux Capabilities"
 	depends on SECURITY
+	default y
 	help
 	  This enables the "default" Linux capabilities functionality.
 	  If you are unsure how to answer this question, answer Y.
-- 
1.5.1

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
"Default Linux Capabilities" default in 2.6.24, Matt LaPlante, (Thu Jan 24, 9:12 pm)
Re: "Default Linux Capabilities" default in 2.6.24, Matt LaPlante, (Mon Jan 28, 10:10 pm)
Re: "Default Linux Capabilities" default in 2.6.24, James Morris, (Mon Jan 28, 10:48 pm)
Re: "Default Linux Capabilities" default in 2.6.24, Serge E. Hallyn, (Tue Jan 29, 9:08 am)
Re: "Default Linux Capabilities" default in 2.6.24, Matt LaPlante, (Tue Jan 29, 12:44 pm)