From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0124.outbound.protection.outlook.com [65.55.169.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id E91561A0889 for ; Wed, 11 Feb 2015 19:36:34 +1100 (AEDT) From: Bogdan Purcareata To: , , Subject: [PATCH v2 0/3] powerpc: Enable seccomp filter support Date: Wed, 11 Feb 2015 08:36:15 +0000 Message-ID: <1423643778-32525-1-git-send-email-bogdan.purcareata@freescale.com> MIME-Version: 1.0 Content-Type: text/plain Cc: pmoore@redhat.com, linux-kernel@vger.kernel.org, Bogdan Purcareata , strosake@linux.vnet.ibm.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Add the missing pieces in order to enable SECCOMP_FILTER on PowerPC architectures, and enable this support. Testing has been pursued using libseccomp with the latest ppc support patches [1], on Freescale platforms for both ppc and ppc64. ppc64le support is untested. [1] https://groups.google.com/forum/#!topic/libseccomp/ktR-bQr1tGw v2: - move setting ENOSYS from syscall entry assembly to do_syscall_trace_enter Bogdan Purcareata (3): powerpc: Don't force ENOSYS as error on syscall fail powerpc: Relax secure computing on syscall entry trace powerpc: Enable HAVE_ARCH_SECCOMP_FILTER arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/entry_32.S | 2 +- arch/powerpc/kernel/entry_64.S | 1 - arch/powerpc/kernel/ptrace.c | 8 ++++++-- 4 files changed, 8 insertions(+), 4 deletions(-) -- 2.1.4