[1/3] kernel: enable CONFIG_SECURITY_LOCKDOWN_LSM

Message ID c89d4e31-e8ef-362b-f713-b0c929c029c9@ipfire.org
State New
Headers show
Series
  • [1/3] kernel: enable CONFIG_SECURITY_LOCKDOWN_LSM
Related show

Commit Message

Peter Müller June 9, 2020, 6:27 p.m. UTC
Partially fixes: #12431

Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 config/kernel/kernel.config.aarch64-ipfire        | 1 +
 config/kernel/kernel.config.armv5tel-ipfire-multi | 1 +
 config/kernel/kernel.config.i586-ipfire           | 1 +
 config/kernel/kernel.config.x86_64-ipfire         | 1 +
 4 files changed, 4 insertions(+)

Comments

Arne Fitzenreiter June 10, 2020, 2:55 p.m. UTC | #1
Again not supported with kernel 4.14! was added in 5.4

Arne


Am 2020-06-09 20:27, schrieb Peter Müller:
> Partially fixes: #12431
> 
> Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
>  config/kernel/kernel.config.aarch64-ipfire        | 1 +
>  config/kernel/kernel.config.armv5tel-ipfire-multi | 1 +
>  config/kernel/kernel.config.i586-ipfire           | 1 +
>  config/kernel/kernel.config.x86_64-ipfire         | 1 +
>  4 files changed, 4 insertions(+)
> 
> diff --git a/config/kernel/kernel.config.aarch64-ipfire
> b/config/kernel/kernel.config.aarch64-ipfire
> index e0f2f6df8..5d51730f8 100644
> --- a/config/kernel/kernel.config.aarch64-ipfire
> +++ b/config/kernel/kernel.config.aarch64-ipfire
> @@ -6563,6 +6563,7 @@ CONFIG_ASYNC_XOR=m
>  CONFIG_ASYNC_PQ=m
>  CONFIG_ASYNC_RAID6_RECOV=m
>  CONFIG_CRYPTO=y
> +CONFIG_SECURITY_LOCKDOWN_LSM=y
> 
>  #
>  # Crypto core or helper
> diff --git a/config/kernel/kernel.config.armv5tel-ipfire-multi
> b/config/kernel/kernel.config.armv5tel-ipfire-multi
> index 15183300f..f5627ba31 100644
> --- a/config/kernel/kernel.config.armv5tel-ipfire-multi
> +++ b/config/kernel/kernel.config.armv5tel-ipfire-multi
> @@ -7045,6 +7045,7 @@ CONFIG_ASYNC_XOR=m
>  CONFIG_ASYNC_PQ=m
>  CONFIG_ASYNC_RAID6_RECOV=m
>  CONFIG_CRYPTO=y
> +CONFIG_SECURITY_LOCKDOWN_LSM=y
> 
>  #
>  # Crypto core or helper
> diff --git a/config/kernel/kernel.config.i586-ipfire
> b/config/kernel/kernel.config.i586-ipfire
> index 578931497..57b205ef3 100644
> --- a/config/kernel/kernel.config.i586-ipfire
> +++ b/config/kernel/kernel.config.i586-ipfire
> @@ -6709,6 +6709,7 @@ CONFIG_ASYNC_XOR=m
>  CONFIG_ASYNC_PQ=m
>  CONFIG_ASYNC_RAID6_RECOV=m
>  CONFIG_CRYPTO=y
> +CONFIG_SECURITY_LOCKDOWN_LSM=y
> 
>  #
>  # Crypto core or helper
> diff --git a/config/kernel/kernel.config.x86_64-ipfire
> b/config/kernel/kernel.config.x86_64-ipfire
> index 6a5fbbfe9..840995bfe 100644
> --- a/config/kernel/kernel.config.x86_64-ipfire
> +++ b/config/kernel/kernel.config.x86_64-ipfire
> @@ -6575,6 +6575,7 @@ CONFIG_ASYNC_XOR=m
>  CONFIG_ASYNC_PQ=m
>  CONFIG_ASYNC_RAID6_RECOV=m
>  CONFIG_CRYPTO=y
> +CONFIG_SECURITY_LOCKDOWN_LSM=y
> 
>  #
>  # Crypto core or helper

Patch

diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kernel.config.aarch64-ipfire
index e0f2f6df8..5d51730f8 100644
--- a/config/kernel/kernel.config.aarch64-ipfire
+++ b/config/kernel/kernel.config.aarch64-ipfire
@@ -6563,6 +6563,7 @@  CONFIG_ASYNC_XOR=m
 CONFIG_ASYNC_PQ=m
 CONFIG_ASYNC_RAID6_RECOV=m
 CONFIG_CRYPTO=y
+CONFIG_SECURITY_LOCKDOWN_LSM=y
 
 #
 # Crypto core or helper
diff --git a/config/kernel/kernel.config.armv5tel-ipfire-multi b/config/kernel/kernel.config.armv5tel-ipfire-multi
index 15183300f..f5627ba31 100644
--- a/config/kernel/kernel.config.armv5tel-ipfire-multi
+++ b/config/kernel/kernel.config.armv5tel-ipfire-multi
@@ -7045,6 +7045,7 @@  CONFIG_ASYNC_XOR=m
 CONFIG_ASYNC_PQ=m
 CONFIG_ASYNC_RAID6_RECOV=m
 CONFIG_CRYPTO=y
+CONFIG_SECURITY_LOCKDOWN_LSM=y
 
 #
 # Crypto core or helper
diff --git a/config/kernel/kernel.config.i586-ipfire b/config/kernel/kernel.config.i586-ipfire
index 578931497..57b205ef3 100644
--- a/config/kernel/kernel.config.i586-ipfire
+++ b/config/kernel/kernel.config.i586-ipfire
@@ -6709,6 +6709,7 @@  CONFIG_ASYNC_XOR=m
 CONFIG_ASYNC_PQ=m
 CONFIG_ASYNC_RAID6_RECOV=m
 CONFIG_CRYPTO=y
+CONFIG_SECURITY_LOCKDOWN_LSM=y
 
 #
 # Crypto core or helper
diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.config.x86_64-ipfire
index 6a5fbbfe9..840995bfe 100644
--- a/config/kernel/kernel.config.x86_64-ipfire
+++ b/config/kernel/kernel.config.x86_64-ipfire
@@ -6575,6 +6575,7 @@  CONFIG_ASYNC_XOR=m
 CONFIG_ASYNC_PQ=m
 CONFIG_ASYNC_RAID6_RECOV=m
 CONFIG_CRYPTO=y
+CONFIG_SECURITY_LOCKDOWN_LSM=y
 
 #
 # Crypto core or helper