Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp621532ybi; Fri, 24 May 2019 08:47:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqygRO9mL2sD1rCEtZoyfDgxGmkO9il3DmPEIY45hM1C5lDChxP89h8kh7K7zHh3WroC7gYV X-Received: by 2002:aa7:8f2f:: with SMTP id y15mr102625779pfr.124.1558712873736; Fri, 24 May 2019 08:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558712873; cv=none; d=google.com; s=arc-20160816; b=icJh1xaXoSh3CAqldFN4s7k358GGumDkwV1/3osypbVbnPYnwGHEjPxCpbRj4Yc4Yt dDmMIGknTduvfzUF2ig30p8etyFpgt8xBx8FlD6nDXoVCFfwJLFg2DwYC31oiqTRZNMM PreziwijP0+UeePyt+8p4mG2CJ78iTFaxjxAXWg/RmLsg3YCVSYMrmftWATSAoFJw/Y/ TVZqnxAxWBImFeQ4q6PioSFpjTH7hc68HdrRgHFAdnZ/JNHjCoRZDyXmwZKUu9/cuYOt 0sacMaC1L3nTCL8hUd+ZIgru38A4Qnuv6hayHD2eny6LwDCRv1uehQ5mYHqGUtE/HSWC rQPg== 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=2T/cugdaivUpKiWSxgd/UK/CYDSSSpXg3g23jRAhWME=; b=ALTVLXU2K3PVxXjX1rBNYm4E8mztOoj8GyzYKrFS8gndeqYWeLM2UPH2XThFOAEVu4 mo4igAiyYfBcu3v1eA6BgqJ3xc7rDttTRk1f/3tbRCUlvg4/oH4GemYHsnMJZ98WSVFs 3yXGcx/y2aCbrKXw99Fbth6n1uZPaxXWLKCsj8C6d6cACEf2Eb/SAg5BwNx9d4bY2yhk HO0htaFh1Jv2/OZ2QSXVBPIfJuHXAmXdTPrUrVrllrZmg+15k4nfQtQS8lsRfPKg8n1S uJ+ZS6Knc0STyvXq6L2E7YdTgbduZImXlblDyC2P7Qd8J5bpN4gA78YNlt+HUfzbEGNK O7pQ== 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 d24si4897589pgj.18.2019.05.24.08.47.36; Fri, 24 May 2019 08:47:53 -0700 (PDT) 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 S2390053AbfEXPqT (ORCPT + 99 others); Fri, 24 May 2019 11:46:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44976 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389496AbfEXPqT (ORCPT ); Fri, 24 May 2019 11:46:19 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B1B04308795E; Fri, 24 May 2019 15:46:13 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.43.17.159]) by smtp.corp.redhat.com (Postfix) with SMTP id C170A17DF3; Fri, 24 May 2019 15:46:09 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Fri, 24 May 2019 17:46:13 +0200 (CEST) Date: Fri, 24 May 2019 17:46:09 +0200 From: Oleg Nesterov To: David Laight Cc: 'Deepa Dinamani' , Linux Kernel Mailing List , Andrew Morton , Alexander Viro , Arnd Bergmann , "dbueso@suse.de" , "axboe@kernel.dk" , Davidlohr Bueso , Eric Wong , Jason Baron , Linux FS-devel Mailing List , linux-aio , Omar Kilani , Thomas Gleixner , "stable@vger.kernel.org" Subject: Re: [PATCH v2] signal: Adjust error codes according to restore_user_sigmask() Message-ID: <20190524154608.GF2655@redhat.com> References: <20190522161407.GB4915@redhat.com> <4f7b6dbeab1d424baaebd7a5df116349@AcuMS.aculab.com> <20190523145944.GB23070@redhat.com> <345cfba5edde470f9a68d913f44fa342@AcuMS.aculab.com> <20190523163604.GE23070@redhat.com> <20190524132911.GA2655@redhat.com> <766510cbbec640b18fd99f3946b37475@AcuMS.aculab.com> <91b68aa69ab642c3a3cb327776ebda11@AcuMS.aculab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <91b68aa69ab642c3a3cb327776ebda11@AcuMS.aculab.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Fri, 24 May 2019 15:46:19 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/24, David Laight wrote: > > From: David Laight > > Sent: 24 May 2019 16:00 > ... > > I've had horrid thoughts about SIG_SUSPEND :-) > > Not to mention exiting signal handlers with longjmp(). that is why we have siglongjmp(). Oleg.