Re: [RFC cip-dev][isar-cip-core][PATCH 07/14] Add kernel hardening to cip kernel build

Jan Kiszka <[email protected]> Mon, 27 Jul 2026 16:22:23 +0200
Newsgroups org.cip-project.lists.cip-dev
Message-ID <[email protected]>
On 24.07.26 14:39, Quirin Gylstorff wrote:
> From: Quirin Gylstorff <[email protected]>
> 
> This enables the use of the hardening kernel config snippet in the
> linux-cip build.
> 
> Co-Authored-by: Christoph Steiger <[email protected]>
> Signed-off-by: Quirin Gylstorff <[email protected]>
> ---
>  recipes-kernel/linux/linux-cip-common.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/recipes-kernel/linux/linux-cip-common.inc b/recipes-kernel/linux/linux-cip-common.inc
> index 6533523..2519791 100644
> --- a/recipes-kernel/linux/linux-cip-common.inc
> +++ b/recipes-kernel/linux/linux-cip-common.inc
> @@ -16,6 +16,7 @@ inherit linux-kernel
>  MAINTAINER = "cip-dev <[email protected]>"
>  
>  require recipes-kernel/linux/cip-kernel-config.inc
> +require recipes-kernel/linux/kernel-hardening.inc
>  
>  KERNEL_CONFIG_FRAGMENTS:append = "${@(' ' + d.getVar('RT_FRAGMENT')) if d.getVar('KERNEL_NAME') == 'cip-rt' else ''}"
>  

This could actually become part of the previous patch already.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center