Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1195799imu; Wed, 28 Nov 2018 06:08:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/WRYE/wudpfe8kiY/Sf5dtZHkYR8Vb20hpBnXL27S15IaakW3p19MuXzomQ4NiU7o3cmmMy X-Received: by 2002:a17:902:110a:: with SMTP id d10-v6mr37405548pla.85.1543414093239; Wed, 28 Nov 2018 06:08:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543414093; cv=none; d=google.com; s=arc-20160816; b=Apjgqkl+wbIphI8Cg8kUKX3vFNTHYL6DImJXT6FH1YBlF03fas58x7IEdbttvKZSX7 0IzzVXXoc/caI1GyxT2bjjXknTnV9FpohpOaB9dj+R9Lo8rL/O0ETuGpYXlXSKkD8E8P mwhjGqubDEuXFgCzvbbk2ANE29O6WrPDbJWzV6SpSXZblOabxNn9UFnaMNZio965n+P4 a43CbYGZ0XfxXxS7dMprnhWpcmF6sRE2KQkDgNS5sl2qXpAdE4lYuPZKezfm2E7Nc89r Qmn4zEwfHITmtzHlr7YIw7Vcl3xbkllNUPtWhZWPW6ZIaM92a+qm4Pb474zYz1OLs1ts mPCw== 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=Rzq5N94s70tXhIMAw3ttjqt1+LFE5cKMB+Wk9rvOGcM=; b=gWvsqi6IjXGe4M11tl9R6LsW5J0FtOISpXhNDTr7fnAop0xb5hyXYWaroK7+ShTFaU LoD8JYC5QS17qHfVLLpB4uI1bO5sGduy277dRoM/fev+tdymu/ERD8PD4GBK1aWvvzq1 lApSxmv2XpJiV9OaKeQaObJzT1QgiPS8zHvMAj+if+j5+iqfDB7uWypPW0ZEGJXWQ8wj z/FzNMDExf6N6t2LC6+/PZRwk7yva/a5d+s+9orXcSICP8SqnXj9JJrIgWa4x/BVXtw6 T7GoZ+gOit78toH+IchtKCR1WtWCOm7SUoDmc53I406bnGMs84FXHIcPfUQ8p5xFI0M8 7qqw== 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 21si6989774pgk.74.2018.11.28.06.07.41; Wed, 28 Nov 2018 06:08:13 -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 S1728550AbeK2BHZ (ORCPT + 99 others); Wed, 28 Nov 2018 20:07:25 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:44365 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728523AbeK2BHY (ORCPT ); Wed, 28 Nov 2018 20:07:24 -0500 Received: by mail-qt1-f196.google.com with SMTP id n32so25893388qte.11; Wed, 28 Nov 2018 06:05:37 -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=Rzq5N94s70tXhIMAw3ttjqt1+LFE5cKMB+Wk9rvOGcM=; b=uMIbT6tr79OGkNVQTpgs1qpdeZYVHvfZDJOiR2hJdWDStk7AGrVNwexExvUUR+wCdV XTxnODZYnsUBLKD69gQUKXjlPuHhnqkeezc3+dGNxmpDgdHRJdSz8fv60bI9IDsGevkq TB7eY21pJRqHPMG0ObZrV3l62WcagmY8Cs/ISWVuiS4L7XjwdsioeANkGjrrx+ndPveJ pzJ6cTDgvme9xWq67F/Wot+jJfHgugE1EOS5D/n8O87tU2s6Ohc1fSUsBX2qcg5zrOxE wRVy/yBekisZdlgXT8rOh0grTAhpNIAp0xFE8+eJDnTJDwdv1aS7QAUtLb7EsiCRUByb JcFw== X-Gm-Message-State: AGRZ1gKt22o5APbR2LkjDbqWOWDSly694Y2sMZCgM5NJzjJlj/+adJz/ DweBaiFbKNiJKzuJSbgXoPVXSb8wroU+EAzJ7bo= X-Received: by 2002:aed:35c5:: with SMTP id d5mr34911227qte.212.1543413937310; Wed, 28 Nov 2018 06:05:37 -0800 (PST) MIME-Version: 1.0 References: <20181120105124.14733-1-christian@brauner.io> In-Reply-To: <20181120105124.14733-1-christian@brauner.io> From: Arnd Bergmann Date: Wed, 28 Nov 2018 15:05:19 +0100 Message-ID: Subject: Re: [PATCH v2] signal: add procfd_signal() syscall To: christian@brauner.io Cc: "Eric W . Biederman" , Linux Kernel Mailing List , "Serge E. Hallyn" , Jann Horn , Andy Lutomirski , Andrew Morton , Oleg Nesterov , cyphar@cyphar.com, Al Viro , Linux FS-devel Mailing List , Linux API , Daniel Colascione , timmurray@google.com, linux-man@vger.kernel.org, Kees Cook 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 Tue, Nov 20, 2018 at 11:54 AM Christian Brauner wrote: > --- > arch/x86/entry/syscalls/syscall_32.tbl | 1 + > arch/x86/entry/syscalls/syscall_64.tbl | 2 + > fs/proc/base.c | 11 ++- > fs/proc/internal.h | 5 - > include/linux/proc_fs.h | 12 +++ > include/linux/syscalls.h | 2 + > include/uapi/asm-generic/unistd.h | 4 +- > kernel/signal.c | 127 +++++++++++++++++++++++-- > 8 files changed, 151 insertions(+), 13 deletions(-) For asm-generic: Acked-by: Arnd Bergmann I checked that the system call wired up correctly in a way that works on all architectures using the generic syscall table.