From patchwork Fri Jan 18 16:18:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 155994 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3440569jaa; Fri, 18 Jan 2019 08:20:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Kxl5UzJG6nHUEjqv3IPDkkLC0cIrNFL42e7SMkPDGgfXQV/wFJJa+JHVzeKKQQNY6+bvG X-Received: by 2002:a17:902:be0e:: with SMTP id r14mr18768375pls.124.1547828452507; Fri, 18 Jan 2019 08:20:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547828452; cv=none; d=google.com; s=arc-20160816; b=p0zRWt/+55JTi3idLm63kjK+CZXhS+rMT1SX9AjKXT1cyprhyFMRyQGHei4sqdEMQz 7w1tXNL99sKfYuWpSMjZZek5QugXyMFih6VF5TYA5zXpPd83HU4cAo5W+NPAyxbbK+xk G76MSXj4NeT0zQzxxILlwT72x8zrUR2fwbDP98fkJGzqjY6tEqG9Mp82p4XPfwkqUC2t zkVEA1rrdIoMFsfE1iuphugm5i4zO1qwTktyCkhGYMPfPeCptZZfON7Si/HGC2f/4NRC rO0mLLTS6CA40GQ4QQppnWQmWLWI1b3A7kr81wFnPgntC2fsSkF9UkxryRTSu7UR8MSq x9nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=1A5TmTrwIjdLpC7+ZaKuK2qper4s+TkK2payvvTlt+E=; b=xNqy2TQjAtI2neo97wuOEOmBOUwui2naoKa1FrEmuYGkouHp074vK2TdVlQ/t+5N/2 4EnbCeIN+bGwfgjnRNbiKXxz5/RTbzN906EXgAqy+1cb6B4eP1bfga1zJlaG/lYs/ijt F7dawMPW1wjCJz8jwR3aLytUNXg66qPNo6okDgsfCGIsTDPO3ztjDLQANwYT85veU7IL KiTaPDI4hbvDhdWEZYb/DXxzzDp/gwv43tlDebfOSucIVNR1apXc04SMbjup4H/lJWse gOmayTpTwAvSZzM+ilLvm7NjYFFnNtiA2G9MHvLeiufA7yIPEKOLAQWoyzQWl6hMouQy AnGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r11si4819076plo.319.2019.01.18.08.20.52; Fri, 18 Jan 2019 08:20:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728449AbfARQUu (ORCPT + 13 others); Fri, 18 Jan 2019 11:20:50 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:37539 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728157AbfARQUq (ORCPT ); Fri, 18 Jan 2019 11:20:46 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1MMXYH-1gUEfJ1zt9-00JaaK; Fri, 18 Jan 2019 17:19:26 +0100 From: Arnd Bergmann To: y2038@lists.linaro.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Cc: Arnd Bergmann , mattst88@gmail.com, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, tony.luck@intel.com, fenghua.yu@intel.com, geert@linux-m68k.org, monstr@monstr.eu, paul.burton@mips.com, deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, dalias@libc.org, davem@davemloft.net, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, jcmvbkbc@gmail.com, akpm@linux-foundation.org, deepa.kernel@gmail.com, ebiederm@xmission.com, firoz.khan@linaro.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v2 08/29] m68k: assign syscall number for seccomp Date: Fri, 18 Jan 2019 17:18:14 +0100 Message-Id: <20190118161835.2259170-9-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190118161835.2259170-1-arnd@arndb.de> References: <20190118161835.2259170-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:nRQkc5WHlS8oJboXGUt0vN+cwluUfd5b8wUsgIrzs+HYZ+pMf1e KlDPG6ImfC4yLsewd6iPI+rxWD///awveawa2T2cRrrteu+vOpqU7x36dzhwukK0qkhKGgi 6o5FUnfGFritrX0fCrjK9/MfEMxotXN+yj5OkKo2LfCokW619AHEWExMDGl9I51wuC4xFe3 CUjbSuA8/BCbHi/kqsH9g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:vBxfFgMxf5I=:aS8fZ2v0hh02AT1dmHdvFW lRyqKsurUZ7vVeMKEvTzUDZ8tFvvIkP51ZhaQ+RwNLeOqJEA1iPkl9luZhApypQ++UbQ3xqOa lvBreGoiZeF4Ice7paqarLxb2UlxHQCMz7JWmrDJ0B9h8pg5KuC0HqIbURXIWx7cSlHkDjJMP qfYls++cG8D1Xf3zo8+GZ+tW2uq0g+3dbOeDCIOBx0H3lGxsCKeg70Nd9SwTJ+HSl1XiqW6nn 20yiZ0QfaiNkHwgFjRu+PY0rq4GW+K3rBep6m2HG1R51LvvieEN0cY1tKTw1/GaJm2e5PfnkR e5lJl3SpZMWIjzy9gROQblKMLJQfT6DAH07f0pwED+nCkZvXLn8FPESrhByXdKmXcOY4UVXSg E2JHYWnb2ZsjJsJs+zUdkYaxzwCd9yAYm6wPPQTerjBWnCWQxGjDI19HgvkxcX9DsM6Rirh4+ esRABApRswGqjRWVQP1ythpoUfLFVdoXiIqofHjVyQOSTpMePzo5xo5aJFQ1px3+0MEOq6a1I +zcXXMgIfA2HvbPIsgO7GsePc9iL7v+U1u4KoePnArNvO/GrFdnffdMq12kkc9iwfyf5dnn84 mxFdRAtGFF1vx1w1+dDhltYwOWJfph4V0BrbdHE7yLlNG1FEZGBHtZx3grnKdewiVh8NnrIlA hyjLVPvQuAjts/wBHOIEL0jvVLXD4J+x6G2ZHn/vP6A3+gssJ6CIN+wFiqQwCBjzOnAcbw8Bo WLUgq0iHMIFzke7PoXdi63gm9/beQ/Ri3hqeXA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Most architectures have assigned a numbers for the seccomp syscall even when they do not implement it. m68k is an exception here, so for consistency lets add the number. Unless CONFIG_SECCOMP is implemented, the system call just returns -ENOSYS. Signed-off-by: Arnd Bergmann --- arch/m68k/kernel/syscalls/syscall.tbl | 1 + 1 file changed, 1 insertion(+) -- 2.20.0 Acked-by: Geert Uytterhoeven diff --git a/arch/m68k/kernel/syscalls/syscall.tbl b/arch/m68k/kernel/syscalls/syscall.tbl index 1a95c4a1bc0d..85779d6ef935 100644 --- a/arch/m68k/kernel/syscalls/syscall.tbl +++ b/arch/m68k/kernel/syscalls/syscall.tbl @@ -387,3 +387,4 @@ 377 common preadv2 sys_preadv2 378 common pwritev2 sys_pwritev2 379 common statx sys_statx +380 common seccomp sys_seccomp