Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp232835ybi; Fri, 24 May 2019 03:01:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgZV2W1EaEZPKBETPeuW9SBWdFKoAGcxHeGgE4WxlvqUYe+i75jZJVzPOER2Dxn8MBDM9L X-Received: by 2002:aa7:93bb:: with SMTP id x27mr1570635pff.104.1558692113163; Fri, 24 May 2019 03:01:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558692113; cv=none; d=google.com; s=arc-20160816; b=OYjDkKP3mPSeSrrIs+58xUeEKmxetfcOGRhV3GlDUhTwl7MEwytyKaL8lxxSTM5e5j hg9cbd1eUpiTPosYeKxhqmiRuy6Jtn9VYKo/3znrHTNCbEXirK8yAtvd2P7vJxwnbI+O QvVYETJ9G+ZpD08gE3z13yHbMJr5ZcUQw6pl06YIlqCMgwFjf7k595WPtu01scw17/E8 lUu79EYUPKAEmih0nnp+MO8UvNTLl5ap3FgmlXVsI5FSHmD1CchOPkmAzKqTa3QC0krv 8g4gMtmt8f+3kb4PoUkfRCaPdrpTZhhkWXcmTKkJdnJ1VKplgpmWbH2oZZjAd1TTBDKy J+cg== 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=EoLlJ4lLcVs1oHySNzO/l0xLHoCCmEuc6JCfcK/UNmg=; b=JZ9VQw+Oz6mYtNvHSuAPZhe/IoNvxkgUhFDqK9KGWvwO8QqbzBgpA06VhLkThHRKFJ 9qtJ36o7M7I9CXhJLlawNrZQn5Dsy3rCILLteBe2o4Gl3P5kQQG+cQ65kcGtd9PHbm0D RhS56rmClxC/0Yr5rzxrA33bs1mg2As4YWS8U9ibghFADCObDgqPbO3vJ/rOebnz1xY3 yD/f0N8Fc+6aXPcM3p/SAg2jeNr871j7ZbydrfYOaHwYwT5E2HCwYUsLQeS/ht3knYcn BLFgTqLVfnUvJZYZz89xs1gmQPHvb7aqp1fkZ8tHd/s0Q9ZRBd0QPBUWCqprnSrauZZn SFiQ== 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 p24si3161802plr.269.2019.05.24.03.01.33; Fri, 24 May 2019 03:01: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390144AbfEXJ6d (ORCPT + 99 others); Fri, 24 May 2019 05:58:33 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:39412 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389758AbfEXJ6c (ORCPT ); Fri, 24 May 2019 05:58:32 -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-4-v0DLxGEwM9yGbvCb2AhJBQ-1; Fri, 24 May 2019 10:58:27 +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; Fri, 24 May 2019 10:58:26 +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; Fri, 24 May 2019 10:58:26 +0100 From: David Laight To: 'Deepa Dinamani' CC: Oleg Nesterov , 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///TgAgAARdkCAAAfWgIABCrvA Date: Fri, 24 May 2019 09:58:26 +0000 Message-ID: <761e28606d344963a32eda6195a4e899@AcuMS.aculab.com> References: <20190522032144.10995-1-deepa.kernel@gmail.com> <20190522150505.GA4915@redhat.com> <20190522161407.GB4915@redhat.com> <4f7b6dbeab1d424baaebd7a5df116349@AcuMS.aculab.com> <20190523145944.GB23070@redhat.com> <345cfba5edde470f9a68d913f44fa342@AcuMS.aculab.com> <20190523163604.GE23070@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: v0DLxGEwM9yGbvCb2AhJBQ-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 RnJvbTogRGVlcGEgRGluYW1hbmkNCj4gU2VudDogMjMgTWF5IDIwMTkgMTk6MDcNCj4gT2ssIHNp bmNlIHRoZXJlIGhhcyBiZWVuIHF1aXRlIGEgYml0IG9mIGFyZ3VtZW50IGhlcmUsIEkgd2lsbA0K PiBiYWNrdHJhY2sgYSBsaXR0bGUgYml0IGFuZCBtYXliZ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