Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5988394imu; Mon, 21 Jan 2019 00:58:38 -0800 (PST) X-Google-Smtp-Source: ALg8bN7SDl0OK8ECaJXpapggVvQtoIWgnxbPpuSchCsQq6ZXvHc6khUIov0BaMKL5HL9P5gw55yw X-Received: by 2002:a62:64d7:: with SMTP id y206mr29070019pfb.84.1548061118353; Mon, 21 Jan 2019 00:58:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548061118; cv=none; d=google.com; s=arc-20160816; b=XsXz9WhwRuAN/0dYm1VTBURES1R2YuGj/2H9SDKqk/Ty1KE1eHsT1f7OHy6y0Nid6a QFCQ6KtG7Er6Gi2LhyMnN1M7RpCNzUQny+0AdSf/HriGjLkE5hE2iaxlmSHX5KqbNzQm MAYxmMsjI+uYrW27rYgvdaWXGjJTvWZAWUK7/xUM93b/hizHJs8cZarl/8yCxGcCXyCK pvjwVXDx7zIhEOK8YC/i7gp8VAuC26VTEdorVWLfXKF9Ya/C1Sgg18Df9p8oBHZN3xMy NpmSH9eGamm77Vm/uIuE3SYI1h7t4Mi+Iy/zXmwdlNA8y8jqZFof5b6C1HzKkFZ+W4OI sfCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=OJScdj9p18oAEvTl9TNP9AzhiR3NeXZIyKQOy3xgTy8=; b=0SlGKRaCl/yOmPO9JPM8qMtsTNKlc0SdNt/qnPkHDxqI0XMdbwiPkU+Lqpwb/z0CLw Cv1cACPlMzu+XW8k/rJG8HPZbUl3pxpGDda/bNiXpk6l6F/lgySSl+TMBIKYqM0O70Gc zhbjCvC/J2RUi3eDeOi6TR20BrlISYIC1/6ecyDxQpA2gT23l22R0o7GJc0N8W02W0tY AOwcEYwM3rTpQnzH0RsVTxDuzs2v/74WKzG5McFR9y8YXBLuPcHpInYS7QtUUCzdDvFi kQnIVxFZjn5upX66HAj7S+aH+Q7//Q9wqaio+isIXbIQUnX/57q1XAay0nLgTK33xkNh YQfg== 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 s17si11541140pgi.513.2019.01.21.00.58.23; Mon, 21 Jan 2019 00:58:38 -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 S1729793AbfAUI4E (ORCPT + 99 others); Mon, 21 Jan 2019 03:56:04 -0500 Received: from mail-ua1-f65.google.com ([209.85.222.65]:43884 "EHLO mail-ua1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729417AbfAUI4C (ORCPT ); Mon, 21 Jan 2019 03:56:02 -0500 Received: by mail-ua1-f65.google.com with SMTP id z11so6652689uaa.10; Mon, 21 Jan 2019 00:56:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OJScdj9p18oAEvTl9TNP9AzhiR3NeXZIyKQOy3xgTy8=; b=sm7UdR7+OQ0Ar8QgmbYdCAoxsTemEPC5AumhUeqc5KyfmeXT2Yy8MSYfhqRJghQOmW Q6YsuPhRMVRJBFtDUMRbdBgQ4XazTDkS9OXtKs31zpaS4sFcziyKkp/DPdXPRq9TlGQJ zL+z/qUXY/8XaSAf0s6EEKjo+iWv9kV8px2D0ikIntk2lZ2ISMej19JuPXf4yXZgOL/F z5c1tNnU8YE+rS33LuXuAL4Zaaoc/BYLBP/cWsmKWH2c7wiLVn3gZg/pySrCSmEm3i4s CbyGL0N+MTObVHBhNX8IqhmdRha7czFHOzdKQhOJKeQHLJAEBK14TME8FK0/yNO03L9q szPQ== X-Gm-Message-State: AJcUukcB7/BZDJF49J99W58563FwdAMzDDfH4CcqxS+EMngNwU3FnnWF Z9waKt1LyOLZ0Qji99YCX5eTzHrUuD65YYNM53c= X-Received: by 2002:ab0:7251:: with SMTP id d17mr11840905uap.0.1548060960356; Mon, 21 Jan 2019 00:56:00 -0800 (PST) MIME-Version: 1.0 References: <20190118161835.2259170-1-arnd@arndb.de> <20190118161835.2259170-15-arnd@arndb.de> In-Reply-To: <20190118161835.2259170-15-arnd@arndb.de> From: Geert Uytterhoeven Date: Mon, 21 Jan 2019 09:55:48 +0100 Message-ID: Subject: Re: [PATCH v2 14/29] arch: add pkey and rseq syscall numbers everywhere To: Arnd Bergmann Cc: y2038 Mailman List , Linux API , Linux Kernel Mailing List , Linux-Arch , Matt Turner , Russell King , Catalin Marinas , Will Deacon , Tony Luck , Fenghua Yu , Michal Simek , Paul Burton , Helge Deller , Benjamin Herrenschmidt , Michael Ellerman , Martin Schwidefsky , Heiko Carstens , Rich Felker , "David S. Miller" , Andy Lutomirski , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "the arch/x86 maintainers" , Max Filippov , Andrew Morton , Deepa Dinamani , "Eric W. Biederman" , Firoz Khan , alpha , Linux ARM , "linux-ia64@vger.kernel.org" , linux-m68k , linux-mips@vger.kernel.org, Parisc List , linuxppc-dev , linux-s390 , Linux-sh list , sparclinux , netdev , Linux FS Devel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 18, 2019 at 5:20 PM Arnd Bergmann wrote: > Most architectures define system call numbers for the rseq and pkey system > calls, even when they don't support the features, and perhaps never will. > > Only a few architectures are missing these, so just define them anyway > for consistency. If we decide to add them later to one of these, the > system call numbers won't get out of sync then. > > Signed-off-by: Arnd Bergmann > arch/m68k/kernel/syscalls/syscall.tbl | 4 ++++ > --- a/arch/m68k/kernel/syscalls/syscall.tbl > +++ b/arch/m68k/kernel/syscalls/syscall.tbl > @@ -388,6 +388,10 @@ > 378 common pwritev2 sys_pwritev2 > 379 common statx sys_statx > 380 common seccomp sys_seccomp > +381 common pkey_alloc sys_pkey_alloc > +382 common pkey_free sys_pkey_free > +383 common pkey_mprotect sys_pkey_mprotect > +384 common rseq sys_rseq Note that all architectures that already define pkey syscalls, list pkey_mprotect first. Regardless, for m68k: Acked-by: Geert Uytterhoeven > # room for arch specific calls > 393 common semget sys_semget > 394 common semctl sys_semctl Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds