From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-f67.google.com ([209.85.166.67]:40332 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726648AbeLAMcC (ORCPT ); Sat, 1 Dec 2018 07:32:02 -0500 Received: by mail-io1-f67.google.com with SMTP id n9so6050160ioh.7 for ; Fri, 30 Nov 2018 17:20:47 -0800 (PST) Date: Sat, 01 Dec 2018 14:20:37 +1300 In-Reply-To: References: <20181120105124.14733-1-christian@brauner.io> <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> <7C5B4CBD-6364-4DCE-9EFD-3657C67DACEB@brauner.io> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v2] signal: add procfd_signal() syscall To: Andy Lutomirski CC: Arnd Bergmann , Daniel Colascione , Andrew Lutomirski , "Eric W. Biederman" , Florian Weimer , LKML , "Serge E. Hallyn" , Jann Horn , Andrew Morton , Oleg Nesterov , Aleksa Sarai , Al Viro , Linux FS Devel , Linux API , Tim Murray , linux-man , Kees Cook From: Christian Brauner Message-ID: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On December 1, 2018 12:46:22 PM GMT+13:00, Andy Lutomirski wrote: >On Fri, Nov 30, 2018 at 3:40 PM Christian Brauner > wrote: >> >> On December 1, 2018 12:12:53 PM GMT+13:00, Arnd Bergmann > wrote: >> >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=2E >> >> > 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=2E >> >> > However, I do sympathize and understand these concerns=2E >> >> >> >> IMHO, it's fine to just replicate all the splits we have for the >> >> existing signal system calls=2E It's ugly, but once it's done, it'll >be >> >> done for a long time=2E I can't see a need to add even more signal >> >> system calls after this one=2E >> > >> >We definitely need waitid_time64() and rt_sigtimedwait_time64() >> >in the very near future=2E >> >> Right, I remember you pointing this out in a prior mail=2E >> Thanks for working on this for such a long time now, Arnd! >> Can we agree to move on with the procfd syscall given the current >constraints? >> I just don't want to see the syscall being >> blocked by a generic problem whose >> ultimate solution is to get rid of weird >> architectural constraints=2E > >Creating and using a copy_siginfo_from_user64() function would work >for everyone, no? Meaning, no compat syscalls, introduce=20 new struct siginfo64_t and the copy=20 function you named above?