Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4936308ybi; Tue, 28 May 2019 05:06:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2fOlhJjT9Uf7yY0aBNt07eJlmFBXNp8MoKjM5y1Buo6HKMvP37XKP3JvzlfzlPFqyEv9I X-Received: by 2002:a17:90a:207:: with SMTP id c7mr5452844pjc.94.1559045188390; Tue, 28 May 2019 05:06:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559045188; cv=none; d=google.com; s=arc-20160816; b=Uh+mu/pAoXuWOAYPcCb8Se8/NLdM88HeRRlz6+N/VsAVTWF++ud8HPQ8gyraaHMKOH joAzkandsZWN+ZewOKx122eeZe+m5kpw28YkhmOD2zo9AnEnNX4C2a0m+wmvSKBBC2mA GoKFw4DjU5WKgLL3CfDAgcTuhzFdbXNrebz1gZ1IICRzgmmQN/QOp1kfCydZEHCQU50U 9PHzsj5CWkCiGUx8LdE2OIviHSnQenSwGh6MJdIvfjB3ZYVqFbQuJTt6cgbG+Yg6DUEl ZZzVXFeF1I0foniQseZBwlYj1gwWplVU0sQ4womeEwhMU1uEI2lq4U5uCkxgGPad1Ru/ GatA== 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=Sqp70b8ysRXqAt6O/m6642yoNjR8b5dagRtFCI77iAk=; b=fQk/wvas3rup5MIWr0WJOW4izcbUKiEhoGe/auQdUVg+k8u+NmL+NMdXRG3ve1+9nW /K/21A0afxHDpbBSTSgrWGGz2ZzimkCDflhynzxXZUdR7qYu4onxMznaeSBXpwgVNfcm vhVYfKRZ2ABw/JeUhsvLilFvJ9E5oPGgXCwZL/Q1ioQu7zEx7zbuBDbNSOMARC6Pr57E qDtXnK7TvibQMRA/Ag3oYmoE/zYBF/R5iDQsVR66mtRBqMjkFf6P9XA64jusyxqCxdjE 50gLPFQ2VCpt+Vl7Lj+fuNhnAPa4Kt31xlxo1wzkjbp0dwLNG8wY9h6clwdRPHPEwr/x riPQ== 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 k14si23022517pgr.413.2019.05.28.05.06.10; Tue, 28 May 2019 05:06:28 -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 S1726999AbfE1MEV (ORCPT + 99 others); Tue, 28 May 2019 08:04:21 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:57865 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726580AbfE1MEV (ORCPT ); Tue, 28 May 2019 08:04:21 -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-2-p5vBR3z9NBis8WdfYPVZEA-1; Tue, 28 May 2019 13:04:18 +0100 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b::d117) by AcuMS.aculab.com (fd9f:af1c:a25b::d117) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 28 May 2019 13:04:17 +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 13:04:17 +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///TgAgAARdkCAAZjWloAFw/iwgAAaDACAABYO8A== Date: Tue, 28 May 2019 12:04:17 +0000 Message-ID: <0eb2b10294f64ddbae0113cea55db639@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: p5vBR3z9NBis8WdfYPVZEA-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 RnJvbTogRGVlcGEgRGluYW1hbmkNCj4gU2VudDogMjggTWF5IDIwMTkgMTI6MzgNCj4gPiBPbiBN YXkgMjgsIDIwMTksIGF0IDI6MTIgQU0sIERhdmlkIExhaWdodCA8RGF2aWQuTGFpZ2h0QGFjdWxh Yi5jb20+IHdyb3RlOg0KPiA+DQo+ID4gRnJvbTogRGVlcGEgRGluYW1hbmkNCj4gPj4gU2VudD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