Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3001830imu; Mon, 19 Nov 2018 09:12:23 -0800 (PST) X-Google-Smtp-Source: AJdET5dnV29SNAmt5Vlu/GPDDwXOkQ3d3SP9Ij4KHgrHd/yXLRbV8NVH4MUd9oFM9CqrijxuIWAH X-Received: by 2002:a63:ea4f:: with SMTP id l15mr20401618pgk.102.1542647543562; Mon, 19 Nov 2018 09:12:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542647543; cv=none; d=google.com; s=arc-20160816; b=q200UU2Yc8IrFISj/mZ0qSkTZHNP7uqZUxZ2E7s8vN4Z5IMySge2ybM7NX24k9MC1C y8JNzZ7lswNc+gO0uANMXkBRb6auv8xLQzrS2UVEcyNBab+LKBbG40kCQPo7oqu7lf9C lTFNQ4H5LPa/3UQhDbPhx+EDGgoII+orO+v3sizo/wYytBkPTKWXAxALh05b9SWZuzJC svQ5Vzt/RGmf4aXd0djmhGUdlXdsp7fTip4xDoomL7jRuYDLFFOE+P/x2Q+pG/hKu6mw +dZfUIGYDG3PMLbO/tvFmk4SfE198Nvirs2lt7Ot9kNsBe9hiycVMscE5/X3UE9I18T9 Kirw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=JNuAho08x0jMgrEhlVxsJh70rlpqRTQELyr8l5UES5U=; b=WZ9HzEHEuW6xsA2y7WRV1ld/wFOTcb1/4jdECUdgs5D835IkJ8hwJ4G2nlD4JkT3UD DWeKGrMjpaW6kCKQOxK+jm7ULY1glNl5BehJTLO5fDQ7vGmmpkjjVNU3ZdWsSxH447QO 1FoZKamPcEVqA9QXQ+kfTq4zznteVza3VEzKRJzKdhVCUdCnB2VLowq3vPNbgtv1YS2E DInYlBu7fKaho3yIRJ0DJEXhC6UjzmursbrV/4/DBRKtLdxtbVaRNj3X0gZe8e40zbER gFs1xpE1BznE8OQ9EgD6ScAKcyKLhqBE1SLcpetMtE4HokhOi0ZDmqGHit4kiXAXAD9l /+Dg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 144-v6si27021414pfw.109.2018.11.19.09.12.06; Mon, 19 Nov 2018 09:12:23 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406876AbeKTDe4 (ORCPT + 99 others); Mon, 19 Nov 2018 22:34:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57836 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405697AbeKTDez (ORCPT ); Mon, 19 Nov 2018 22:34:55 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 945F23F72E; Mon, 19 Nov 2018 17:10:35 +0000 (UTC) Received: from asgard.redhat.com (ovpn-200-30.brq.redhat.com [10.40.200.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8EACB5D783; Mon, 19 Nov 2018 17:10:31 +0000 (UTC) Date: Mon, 19 Nov 2018 18:10:53 +0100 From: Eugene Syromiatnikov To: Christian Brauner Cc: ebiederm@xmission.com, linux-kernel@vger.kernel.org, serge@hallyn.com, jannh@google.com, luto@kernel.org, akpm@linux-foundation.org, oleg@redhat.com, cyphar@cyphar.com, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, dancol@google.com, timmurray@google.com, linux-man@vger.kernel.org, Kees Cook Subject: Re: [PATCH v1 2/2] signal: add procfd_signal() syscall Message-ID: <20181119171053.GA28067@asgard.redhat.com> References: <20181119103241.5229-1-christian@brauner.io> <20181119103241.5229-3-christian@brauner.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181119103241.5229-3-christian@brauner.io> User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 19 Nov 2018 17:10:36 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 19, 2018 at 11:32:39AM +0100, Christian Brauner wrote: > diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl > index 3cf7b533b3d1..e637eab883e9 100644 > --- a/arch/x86/entry/syscalls/syscall_32.tbl > +++ b/arch/x86/entry/syscalls/syscall_32.tbl > @@ -398,3 +398,4 @@ > 384 i386 arch_prctl sys_arch_prctl __ia32_compat_sys_arch_prctl > 385 i386 io_pgetevents sys_io_pgetevents __ia32_compat_sys_io_pgetevents > 386 i386 rseq sys_rseq __ia32_sys_rseq > +387 i386 procfd_signal sys_procfd_signal __ia32_sys_procfd_signal > diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl > index f0b1709a5ffb..e95f6741ab42 100644 > --- a/arch/x86/entry/syscalls/syscall_64.tbl > +++ b/arch/x86/entry/syscalls/syscall_64.tbl > @@ -343,6 +343,7 @@ > 332 common statx __x64_sys_statx > 333 common io_pgetevents __x64_sys_io_pgetevents > 334 common rseq __x64_sys_rseq > +335 common procfd_signal __x64_sys_procfd_signal You have wired up the syscall on x86 but have not added the syscall number to the generic syscall header (include/uapi/asm-generic/unistd.h), why?