Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3318928imu; Fri, 18 Jan 2019 08:22:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN58ys9aruxi68VXkVfW74AiiOkrh2DlUs1WRjjwrJTMHVjXi2fRvWb2EgNrSero2OCGesZT X-Received: by 2002:a17:902:4081:: with SMTP id c1mr20105004pld.87.1547828559669; Fri, 18 Jan 2019 08:22:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547828559; cv=none; d=google.com; s=arc-20160816; b=XeR3Y6fYpCx9xJpZA1k6KpapFXIJ2b+NzXz5PmiosALAVZYSKS6dT8+xy5hZRstYGI FTxs4W3ODlXOV93wZEaC+RtH3a8/jnFO/GAqYlCCCv3kyM97qFt5MMK0iGJP7wtaPdCg Fw3/jWD4uzibEQJb81tlkuTWof5a9G24/VLJAEwi7XBkZubwSdnptXXBxHRJy+0M+49t 6aDC8Jt8/QRKqClkTtVrr07hVEAEFv6BBTrllahBqYic3y/AqYD7JrsJ1HhNhnjPldgx jvQ7j06/oVIYPOF3c013Z7ywadivfIXni+1jOF2/kf4wcwFY49REu1vuPrTYKZxhhvmS YLhQ== 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 h10si1396153pgi.562.2019.01.18.08.22.24; Fri, 18 Jan 2019 08:22:39 -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 S1728446AbfARQUu (ORCPT + 99 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 Content-Transfer-Encoding: 8bit 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(+) 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 -- 2.20.0