mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: exynos_defconfig: Enable SECCOMP
@ 2016-08-12 12:34 Krzysztof Kozlowski
  2016-08-12 12:34 ` [PATCH 2/2] ARM: multi_v7_defconfig: " Krzysztof Kozlowski
  2016-08-12 13:02 ` [PATCH 1/2] ARM: exynos_defconfig: " Javier Martinez Canillas
  0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2016-08-12 12:34 UTC (permalink / raw)
  To: Kukjin Kim, Javier Martinez Canillas, Arnd Bergmann,
	Olof Johansson, linux-arm-kernel, linux-samsung-soc,
	linux-kernel
  Cc: Kevin Hilman, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz

Systemd already supports seccomp.  It seems some distros are building
systemd with seccomp, e.g. Arch on ARM, thus leading to boot errors:

systemd-logind.service: Failed at step SECCOMP spawning /usr/lib/systemd/systemd-logind: Invalid argument

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 arch/arm/configs/exynos_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
index 81862a77dddf..5476be3be686 100644
--- a/arch/arm/configs/exynos_defconfig
+++ b/arch/arm/configs/exynos_defconfig
@@ -17,6 +17,7 @@ CONFIG_PREEMPT=y
 CONFIG_AEABI=y
 CONFIG_HIGHMEM=y
 CONFIG_CMA=y
+CONFIG_SECCOMP=y
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
 CONFIG_ARM_APPENDED_DTB=y
-- 
1.9.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: multi_v7_defconfig: Enable SECCOMP
  2016-08-12 12:34 [PATCH 1/2] ARM: exynos_defconfig: Enable SECCOMP Krzysztof Kozlowski
@ 2016-08-12 12:34 ` Krzysztof Kozlowski
  2016-08-12 13:03   ` Javier Martinez Canillas
  2016-08-12 13:02 ` [PATCH 1/2] ARM: exynos_defconfig: " Javier Martinez Canillas
  1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2016-08-12 12:34 UTC (permalink / raw)
  To: Kukjin Kim, Javier Martinez Canillas, Arnd Bergmann,
	Olof Johansson, linux-arm-kernel, linux-samsung-soc,
	linux-kernel
  Cc: Kevin Hilman, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz

Systemd already supports seccomp.  It seems some distros are building
systemd with seccomp, e.g. Arch on ARM, thus leading to boot errors:

systemd-logind.service: Failed at step SECCOMP spawning /usr/lib/systemd/systemd-logind: Invalid argument

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 7db8dce3da5f..0ccaa519f588 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -126,6 +126,7 @@ CONFIG_SMP=y
 CONFIG_NR_CPUS=16
 CONFIG_HIGHPTE=y
 CONFIG_CMA=y
+CONFIG_SECCOMP=y
 CONFIG_ARM_APPENDED_DTB=y
 CONFIG_ARM_ATAG_DTB_COMPAT=y
 CONFIG_KEXEC=y
-- 
1.9.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] ARM: exynos_defconfig: Enable SECCOMP
  2016-08-12 12:34 [PATCH 1/2] ARM: exynos_defconfig: Enable SECCOMP Krzysztof Kozlowski
  2016-08-12 12:34 ` [PATCH 2/2] ARM: multi_v7_defconfig: " Krzysztof Kozlowski
@ 2016-08-12 13:02 ` Javier Martinez Canillas
  1 sibling, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2016-08-12 13:02 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Kukjin Kim, Arnd Bergmann, Olof Johansson,
	linux-arm-kernel, linux-samsung-soc, linux-kernel
  Cc: Kevin Hilman, Bartlomiej Zolnierkiewicz

Hello Krzysztof,

On 08/12/2016 08:34 AM, Krzysztof Kozlowski wrote:
> Systemd already supports seccomp.  It seems some distros are building
> systemd with seccomp, e.g. Arch on ARM, thus leading to boot errors:
> 
> systemd-logind.service: Failed at step SECCOMP spawning /usr/lib/systemd/systemd-logind: Invalid argument
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  arch/arm/configs/exynos_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
> index 81862a77dddf..5476be3be686 100644
> --- a/arch/arm/configs/exynos_defconfig
> +++ b/arch/arm/configs/exynos_defconfig
> @@ -17,6 +17,7 @@ CONFIG_PREEMPT=y
>  CONFIG_AEABI=y
>  CONFIG_HIGHMEM=y
>  CONFIG_CMA=y
> +CONFIG_SECCOMP=y
>  CONFIG_ZBOOT_ROM_TEXT=0x0
>  CONFIG_ZBOOT_ROM_BSS=0x0
>  CONFIG_ARM_APPENDED_DTB=y
> 

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] ARM: multi_v7_defconfig: Enable SECCOMP
  2016-08-12 12:34 ` [PATCH 2/2] ARM: multi_v7_defconfig: " Krzysztof Kozlowski
@ 2016-08-12 13:03   ` Javier Martinez Canillas
  0 siblings, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2016-08-12 13:03 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Kukjin Kim, Arnd Bergmann, Olof Johansson,
	linux-arm-kernel, linux-samsung-soc, linux-kernel
  Cc: Kevin Hilman, Bartlomiej Zolnierkiewicz

Hello Krzysztof,

On 08/12/2016 08:34 AM, Krzysztof Kozlowski wrote:
> Systemd already supports seccomp.  It seems some distros are building
> systemd with seccomp, e.g. Arch on ARM, thus leading to boot errors:
> 
> systemd-logind.service: Failed at step SECCOMP spawning /usr/lib/systemd/systemd-logind: Invalid argument
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  arch/arm/configs/multi_v7_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
> index 7db8dce3da5f..0ccaa519f588 100644
> --- a/arch/arm/configs/multi_v7_defconfig
> +++ b/arch/arm/configs/multi_v7_defconfig
> @@ -126,6 +126,7 @@ CONFIG_SMP=y
>  CONFIG_NR_CPUS=16
>  CONFIG_HIGHPTE=y
>  CONFIG_CMA=y
> +CONFIG_SECCOMP=y
>  CONFIG_ARM_APPENDED_DTB=y
>  CONFIG_ARM_ATAG_DTB_COMPAT=y
>  CONFIG_KEXEC=y
> 

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-12 13:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-12 12:34 [PATCH 1/2] ARM: exynos_defconfig: Enable SECCOMP Krzysztof Kozlowski
2016-08-12 12:34 ` [PATCH 2/2] ARM: multi_v7_defconfig: " Krzysztof Kozlowski
2016-08-12 13:03   ` Javier Martinez Canillas
2016-08-12 13:02 ` [PATCH 1/2] ARM: exynos_defconfig: " Javier Martinez Canillas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®