Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4327146imu; Fri, 30 Nov 2018 15:14:06 -0800 (PST) X-Google-Smtp-Source: AFSGD/UL5omPvLPUBfUcB7uLCOTISsBNCaUvn/sl14NA542HE/O9AcaS2fRHwEryKmbEg0JEN02W X-Received: by 2002:a17:902:820d:: with SMTP id x13mr7684152pln.229.1543619646462; Fri, 30 Nov 2018 15:14:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543619646; cv=none; d=google.com; s=arc-20160816; b=QMIg8o5Ok0xPwwEEbq63vzY4TyNS/t9X21UKrX85/t65uOkDKNKeKIaa2cUX1HYdvM MZSynBTXxLyHk1wypVCnalRsQKTJzHU2iK5VJT4XPDMmo3LKxxt//lRjqXVrIbzqKNN6 N7onBh/Nb+yDRg/FlCRuXJICQ15yqYx2edrCklCJHfHFxSPkc/JFpfl+axnqOD7ta8sf OIsYK3lDyU2cv45Q7aHa9fwFlG85RlaHiW5pMPFZtuIFTtQ24QhsCdVULvcgwe1sgt0i bo04Awy0+Ndua/+RPaZqbbxiF8kVoxHpR+K5jZE11Jqy10NkoCJCR3uLxxr+nRoBMMWJ JbDQ== 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=QaLz8ODVLMxViUveo+rH1O7Au79GQa7TKiOUq/dhjT4=; b=nX5XbcXzbzuJABSUTK9dieOaWPNnueVqqfbm1iQEMrkQp83BajsHz7Y02xmZl20Mey eloBf0HVHmT0OdkB+sXBAaK7TTTEnQlU9gYkahul/OnZXSvtKMKX1MFTjGZB3s93iQX/ SQGjq1JJzgx27vRDknvqBnp5DCQaNmhxRcmiusoVckK6nUuhVTG7VjLypyrXtset1xaF FCBdILNtz6HL3fEysQpV5l1zT8Xmpmkgt/zUkXsi+RpsE97Q5FqVza6+2Tg4rmZNPCjw eYz4/MRQg2+YKILZPQsx+BzNCY3mSSGTZcaFCSp/OSODgkPM/QVFLCNIxk8B+NQnxVbx 1TKg== 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 x64si6713900pfx.87.2018.11.30.15.13.50; Fri, 30 Nov 2018 15:14:06 -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 S1726454AbeLAKYG (ORCPT + 99 others); Sat, 1 Dec 2018 05:24:06 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:39119 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725749AbeLAKYF (ORCPT ); Sat, 1 Dec 2018 05:24:05 -0500 Received: by mail-qt1-f194.google.com with SMTP id n21so7791312qtl.6; Fri, 30 Nov 2018 15:13:11 -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=QaLz8ODVLMxViUveo+rH1O7Au79GQa7TKiOUq/dhjT4=; b=Qqcr8cMunDU/uzmNOSPC0EcMVSul5OddCChvf+7x0sqOzXvoB+9EpnJOMhHiedm2vn ixg1JdNNlfuo1sIvx9zYOLIxnHo6e97CT99+CimQnfm38C1EkkBIRR8QeWzsNYJwC935 HiRsV7o/F0BXe0rgrnUbAs4ljXq1zxoFS9lmm4dkNGZy1EJelRGx606j8OZmFrs5gRZ6 vsdmsP4OhrV808ledX6nFnY3lvbyL0kNDma9reH9FU8ss8mBriWkZm36r8Bly5jXppWK TOEsgpNVgZ6P120JBcAtL5OIZqPO/4lHyjz8iVOXz1/5VaNnxLVLOi6uNzvpBGyZYXNC uMuQ== X-Gm-Message-State: AA+aEWaJWCpA8lIKxVtHphjqydy2gBGDnd1zsSiWi2VBV8uOQBV3v+ZD DBe7bzj30hTuThGV03iFQAT1alC+g4cqURjC4W0= X-Received: by 2002:ac8:1d12:: with SMTP id d18mr7214474qtl.343.1543619590558; Fri, 30 Nov 2018 15:13:10 -0800 (PST) MIME-Version: 1.0 References: <20181120105124.14733-1-christian@brauner.io> <87in0g5aqo.fsf@oldenburg.str.redhat.com> <36323361-90BD-41AF-AB5B-EE0D7BA02C21@amacapital.net> <993B98AC-51DF-4131-AF7F-7DA2A7F485F1@brauner.io> <20181129195551.woe2bl3z3yaysqb6@brauner.io> <6E21165F-2C76-4877-ABD9-0C86D55FD6AA@amacapital.net> <87y39b2lm2.fsf@xmission.com> <20181130065606.kmilbbq46oeycjp5@brauner.io> In-Reply-To: From: Arnd Bergmann Date: Sat, 1 Dec 2018 00:12:53 +0100 Message-ID: Subject: Re: [PATCH v2] signal: add procfd_signal() syscall To: Daniel Colascione Cc: christian@brauner.io, Andy Lutomirski , "Eric W . Biederman" , Florian Weimer , Linux Kernel Mailing List , "Serge E. Hallyn" , Jann Horn , Andrew Morton , Oleg Nesterov , cyphar@cyphar.com, Al Viro , Linux FS-devel Mailing List , Linux API , Tim Murray , 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 Sat, Dec 1, 2018 at 12:05 AM Daniel Colascione wrote: > On Fri, Nov 30, 2018 at 2:26 PM Christian Brauner wrote: > > On December 1, 2018 11:09:58 AM GMT+13:00, Arnd Bergmann wrote: > > > > One humble point I would like to make is that what I care about most is a sensible way forward without having to redo essential parts of how syscalls work. > > I don't want to introduce a sane, small syscall that ends up breaking all over the place because we decided to fix past mistakes that technically have nothing to do with the patch itself. > > However, I do sympathize and understand these concerns. > > IMHO, it's fine to just replicate all the splits we have for the > existing signal system calls. It's ugly, but once it's done, it'll be > done for a long time. I can't see a need to add even more signal > system calls after this one. We definitely need waitid_time64() and rt_sigtimedwait_time64() in the very near future. Arnd