Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4765028ybi; Tue, 28 May 2019 02:04:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEiW1O+rojbVSQmDIC2MJeJPCa8oYjhdUtFdeqRqxy5XtNHHXINiVE6cKe8lJ/RzkfvEzY X-Received: by 2002:a63:2118:: with SMTP id h24mr132247872pgh.320.1559034291393; Tue, 28 May 2019 02:04:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559034291; cv=none; d=google.com; s=arc-20160816; b=TvHt/3L9Vmn/iRg7Q7NVdPoewDEka2w5rmUrNFpl9+vZLPG1UTArERG99rTfAgAWie KZWcDVqj5HDYDTobioj3gay5O57b7rwGOdr6wUe8stZO3behSrlI6twy+FyVA7fF94Mp 9R9W5g5ir2x65e7z/PawHawv7tC16VlV67h/6Q1rdDrhnBKjSFQAspo9aaH9sBpqrUVo z8kNEl/ETwCQalTDVa7SxuT48oRuVHY5yH/I/KbLzvrUeQUj8vDHdkubvfnCgyJDD9xv ZlCz2tCduIWy1JQa9zkMnzxALPka2pVlLkIq4Nimi+Ej+2iEx7bBdXydrymq7J2czeJS +fbw== 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=0VOkkPRvcIDEw3JRezqDpyi+2Yri6wbGNDurtS8sci0=; b=MY044iL3u9xjIVX0wWh8+ht4JbQUzxg/JcqXSTT8VpBv2q/sMQTYbLwS42YAOM5Vn9 jBWRcaDfRw9Yme0ZCpjBHmgzXVuRB0/gz4byT0Rk9uP8o9PAd6dYJMVERxrIJoyzYOEU J2aYE6UxkSNU1Ap0sx5jiGgC5kDj0G/RfdF6KkvDPrFv4MX66yDYD1Me8e5vjo5gHmT3 WUg1OFPc+38ii8llZ1nzljsnTPGdgy5eu1BGhfY45sh5W43kGyvfcwCyJlnzFF+2MeJo 2jmR4oez/o8ohzhQz8c8WVsJGH0TPR1Gln8HtGwJ/CnOSWP6Vw/YyWW+JMcTfLkr5LMC K+CA== 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 11si21375852pgn.297.2019.05.28.02.04.33; Tue, 28 May 2019 02:04:51 -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 S1726762AbfE1JCh (ORCPT + 99 others); Tue, 28 May 2019 05:02:37 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:39821 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726684AbfE1JCg (ORCPT ); Tue, 28 May 2019 05:02:36 -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-92-RqQYt7MHN5K4Xjo0lCZlLQ-1; Tue, 28 May 2019 10:02:33 +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:02:32 +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:02:32 +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///TgAgAARdkCAAZjWloAFvmIA Date: Tue, 28 May 2019 09:02:32 +0000 Message-ID: <72e07794bcba476f9cad948df2723362@AcuMS.aculab.com> 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: RqQYt7MHN5K4Xjo0lCZlLQ-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 RnJvbTogRGVlcGEgRGluYW1hbmkNCj4gU2VudDogMjQgTWF5IDIwMTkgMTg6MDINCi4uLg0KPiBN YXliZSBhIGNydWRlIHVzZXJzcGFjZSBhcHBsaWNhdGlvbiBjb3VsZCBkbyBzb21ldGhpbmcgbGlr ZSB0aGlzOg0KPiANCj4gc2lnX2hhbmRsZXIoKQ0KPiB7DQo+ICAgc2V0IGdsb2JhbCBhYm9ydCA9 IDENCj4gfQ0KPiANCj4gcG9sbF90aGVfZmRzKCkNCj4gew0KPiAgICAgICAgIHJldCA9IGVwb2xs X3B3YWl0KCkNCj4gICAgICAgICBpZiAocmV0KQ0KPiAgICAgICAgICAgICAgICAgcmV0dXJuIHJl dA0KPiAgICAgICAgIGlmIChhYm9ydCkNCj4gICAgICAgICAgICAgICAgIC8vIGJ1dCB0aGlzIGFi b3J0IHNob3VsZCBiZSBpZ25vcmVkIGlmIHJldCB3YXMgMC4NCj4gICAgICAgICAgICAgICAgIHJl dHVybiB0cnlfYWdhaW4NCj4gDQo+IH0NCg0KQXMgYW4gYXBwbGljYXRpb24gd3JpdGVyIEknZCB3 YW50IHRvIHNlZSAnYWJvcnQgPT0gMScgZXZlbg0KaWYgZXBvbGxfcHdhaXQoKSByZXR1cm5lZCB0 aGF0IGFuIGZkIHdhcyAncmVhZHknLg0KDQpTbyB0aGUgY29kZSBhYm92ZSBzaG91bGQgcHJvYmFi bHkgYmU6DQogICAgd2FpdF9hZ2FpbjoNCiAgICAgICAgcmV0ID0gZXBvbGxfcHdhaXQoKTsNCiAg ICAgICAgaWYgKGFib3J0KQ0KICAgICAgICAgICAgcHJvY2Vzc19hYm9ydCgpOw0KICAgICAgICBp ZiAocmV0IDw9IDApIHsNCiAgICAgICAgICAgIGlmIChyZXQgPT0gMCkNCiAgICAgICAgICAgICAg ICBwcm9jZXNzX3RpbWVvdXQoKTsNCiAgICAgICAgICAgIGlmIChyZXQgPT0gMCB8fCBlcnJubyA9 PSBFSU5UUikNCiAgICAgICAgICAgICAgICBnb3RvIHdhaXRfYWdhaW47DQogICAgICAgICAgICAv LyBTb21ldGhpbmcgd2VudCBob3JyaWJseSB3cm9uZyBpbiBlcG9sbF9wd2FpdCgpDQogICAgICAg ICAgICByZXR1cm4gcmV0Ow0KICAgICAgICB9DQogICAgICAgIC8vIHByb2Nlc3MgdGhlICdyZWFk eScgZmRzDQoNCkl0IHdvdWxkIGJlIG5vbi11bnJlYXNvbmFibGUgZm9yIHRoZSBhcHBsaWNhdGlv biB0byBoYXZlDQphbGwgc2lnbmFscyBibG9ja2VkIGV4Y2VwdCBkdXJpbmcgdGhlIGVwb2xsX3B3 YWl0KCkuDQpTbyB0aGUgYXBwbGljYXRpb24gbmVlZHMgdGhlIHNpZ25hbCBoYW5kbGVyIGZvciBT SUdfSU5UIChldGMpDQp0byBiZSBjYWxsZWQgZXZlbiBpZiBvbmUgb2YgdGhlIGZkIGlzIGFsd2F5 cyAncmVhZHknLg0KDQogICAgRGF2aWQNCg0KLQ0KUmVnaXN0ZXJlZCBBZGRyZXNzIExha2VzaWRl LCBCcmFtbGV5IFJvYWQsIE1vdW50IEZhcm0sIE1pbHRvbiBLZXluZXMsIE1LMSAxUFQsIFVLDQpS ZWdpc3RyYXRpb24gTm86IDEzOTczODYgKFdhbGVzKQ0K