Skip to contentSkip to conversation

"Default Linux Capabilities" default in 2.6.24

DISCUSSION Matt LaPlante 3 participants 5 messages Jan 25, 2008 – Jan 29, 2008 Security (LSM)

lore
Share & tools
lore
#0 lore raw

I'm doing a make oldconfig with the new 2.6.24 kernel. I came to the prompt for "Default Linux Capabilities" which defaults to No:

---
Default Linux Capabilities (SECURITY_CAPABILITIES) [N/y/?] (NEW) ?
---

However the help text recommends saying Yes.

---
This enables the "default" Linux capabilities functionality. If you are unsure how to answer this question, answer Y.
---

Does this seem incongruous? Also, what's the "question"? :)

Thanks,
Matt LaPlante

#1 lore raw
Quoted 14 lines · On Thu, 24 Jan 2008 19:12:01 -0600 Matt LaPlante <[email protected]>…

I'm doing a make oldconfig with the new 2.6.24 kernel. I came to the prompt for "Default Linux Capabilities" which defaults to No:

---
Default Linux Capabilities (SECURITY_CAPABILITIES) [N/y/?] (NEW) ?
---

However the help text recommends saying Yes.

---
This enables the "default" Linux capabilities functionality. If you are unsure how to answer this question, answer Y.
---

Quoted 4 lines

Does this seem incongruous? Also, what's the "question"? :)

Thanks,
Matt LaPlante

Anyone?

maintainer
#2 lore raw
Quoted 17 lines · Matt LaPlante
Quoted 14 lines · On Thu, 24 Jan 2008 19:12:01 -0600 Matt LaPlante <[email protected]>…

I'm doing a make oldconfig with the new 2.6.24 kernel. I came to the prompt for "Default Linux Capabilities" which defaults to No:

---
Default Linux Capabilities (SECURITY_CAPABILITIES) [N/y/?] (NEW) ?
---

However the help text recommends saying Yes.

---
This enables the "default" Linux capabilities functionality. If you are unsure how to answer this question, answer Y.
---

Quoted 6 lines
Quoted 4 lines

Does this seem incongruous? Also, what's the "question"? :)

Thanks,
Matt LaPlante

Anyone?

I think this should be default y.

Signature · 2 lines
James Morris
<[email protected]>
#3 lore raw
Quoted 19 lines · James Morris
Quoted 17 lines · Matt LaPlante
Quoted 14 lines · On Thu, 24 Jan 2008 19:12:01 -0600 Matt LaPlante <[email protected]>…

I'm doing a make oldconfig with the new 2.6.24 kernel. I came to the prompt for "Default Linux Capabilities" which defaults to No:

---
Default Linux Capabilities (SECURITY_CAPABILITIES) [N/y/?] (NEW) ?
---

However the help text recommends saying Yes.

---
This enables the "default" Linux capabilities functionality. If you are unsure how to answer this question, answer Y.
---

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Does this seem incongruous? Also, what's the "question"? :)

Thanks,
Matt LaPlante

Anyone?

I think this should be default y.

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

Quoted 1 line

From 0528f582de5534b972abddbb3294a3fb11435a21 Mon Sep 17 00:00:00 2001

From: [email protected] <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.

---
 security/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
security/Kconfig +1 -0
index 8086e61..389e151 100644
@@ -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.
Signature · 1 line
1.5.1
author Acked-by
#4 lore raw
Quoted 68 lines · On Tue, 29 Jan 2008 07:08:25 -0600 "Serge E. Hallyn" <[email protected]> wrote:
Quoted 19 lines · James Morris
Quoted 17 lines · Matt LaPlante
Quoted 14 lines · On Thu, 24 Jan 2008 19:12:01 -0600 Matt LaPlante <[email protected]>…

I'm doing a make oldconfig with the new 2.6.24 kernel. I came to the prompt for "Default Linux Capabilities" which defaults to No:

---
Default Linux Capabilities (SECURITY_CAPABILITIES) [N/y/?] (NEW) ?
---

However the help text recommends saying Yes.

---
This enables the "default" Linux capabilities functionality. If you are unsure how to answer this question, answer Y.
---

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Does this seem incongruous? Also, what's the "question"? :)

Thanks,
Matt LaPlante

Anyone?

I think this should be default y.

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: [email protected] <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.

---
 security/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
security/Kconfig +1 -0
index 8086e61..389e151 100644
@@ -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.
Signature · 1 line
1.5.1