Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4775683ybi; Tue, 28 May 2019 02:15:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRIlf0XJo3h66afXIXH0c8UDACBcITJmkttYx5U2uJJSFbbX/G8LA+uyI3ZGJUbHcAUzpC X-Received: by 2002:a63:191b:: with SMTP id z27mr131167138pgl.327.1559034948382; Tue, 28 May 2019 02:15:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559034948; cv=none; d=google.com; s=arc-20160816; b=ThmAKvFkVE9Z+pbgwf/AWBdwpcYwnMBA4FKcp0Nn692b0jMxgZiDnE+sXZ4rxiJjPY ml0jof0xkjol3jd2Dh2M9ygigRRHVtwd2gjki4Ctru2ZtyXCYvq/ORabe6Y8haI3gafX NoJ1JO+SDfIxLQk/M8LvX+1kEl2ZrhmoE4scJ4peHIn6xU6raWPQPORek0cIuY91dDkc D1qkZHqFDW7Ai9+eegZlhNWEzVCE0eZpazpixuXIbM3ZN/L+YQanXX4WpJ9UPZxHb0fu vALDR3sScpWUeXBRxPnIOR89WbMseZMVSKGa2/EBKMDqWhuLxHvF9YrL84aiRfyp8dxx M6TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=MUswcrsg00yZawM7DtrgTMLGbqbZDkJaG4+xm+1alMs=; b=nNuZpqE+jPDeVM8KM7/2a7xAW4XL3KVm/LVXJ4KCuT8yWhSzOSGrEtCccnZ6vUjXV9 neSp9P26BOCNEOBtKIcmT1gjJJdVPMa5rIYsha+z+lWm7f6+r+Ze0MnfFgJGz0gvSnsc 88QdeIIhfeM4/l1wx1MCqgEytScMqQlAbBhVqwzAzDNMuJGkUSyuXc8DbI5Bqhk350/J ZyjNm/OZqEy+lngLm8w7ylN6Ev/JGKGZ7/FKC/Y81vuZ6FwDTaDjbhmmjsm5vq7GE8Ns gMfuidldvOY9Esw2Jiqqh38nCHMi+THf6C5yblPgcKhe5UhLN6NPky7lSySpQikJCBJT /hgQ== 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 gn2si20434976plb.34.2019.05.28.02.15.32; Tue, 28 May 2019 02:15:48 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726880AbfE1JM4 (ORCPT + 99 others); Tue, 28 May 2019 05:12:56 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([146.101.78.151]:40653 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726515AbfE1JMz (ORCPT ); Tue, 28 May 2019 05:12:55 -0400 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-161-gTnKQjRxNjino90nSZuzuA-1; Tue, 28 May 2019 10:12:52 +0100 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 28 May 2019 10:12:51 +0100 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Tue, 28 May 2019 10:12:51 +0100 From: David Laight To: 'Deepa Dinamani' , Oleg Nesterov CC: 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() Thread-Topic: [PATCH v2] signal: Adjust error codes according to restore_user_sigmask() Thread-Index: AQHVELwtsgR+BAQFXk2JV68Wk/7LjKZ4aINAgABVkoCAAB2x0P///TgAgAARdkCAAZjWloAFw/iw Date: Tue, 28 May 2019 09:12:51 +0000 Message-ID: References: <20190522161407.GB4915@redhat.com> <4f7b6dbeab1d424baaebd7a5df116349@AcuMS.aculab.com> <20190523145944.GB23070@redhat.com> <345cfba5edde470f9a68d913f44fa342@AcuMS.aculab.com> <20190523163604.GE23070@redhat.com> <20190524141054.GB2655@redhat.com> <20190524163310.GG2655@redhat.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-MC-Unique: gTnKQjRxNjino90nSZuzuA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogRGVlcGEgRGluYW1hbmkNCj4gU2VudDogMjQgTWF5IDIwMTkgMTg6MDINCi4uLg0KPiBM b29rIGF0IHRoZSBjb2RlIGJlZm9yZSA4NTRhNmVkNTY4MzlhOg0KPiANCj4gICAvKg0KPiAgICAg ICAgICogSWYgd2UgY2hhbmdlZCB0aGUgc2lnbmFsIG1hc2ssIHdlIG5lZWQgdG8gcmVzdG9yZSB0 aGUgb3JpZ2luYWwgb25l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