Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7747673ybi; Thu, 6 Jun 2019 00:32:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnwWICe0O2rxj7mL/12VjQOouUp9Pnxow4XaOTiCAgXLtjnR3w6lTtnp4WY3HGXgKDAk83 X-Received: by 2002:a63:ef0e:: with SMTP id u14mr2026958pgh.295.1559806352101; Thu, 06 Jun 2019 00:32:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559806352; cv=none; d=google.com; s=arc-20160816; b=B1p5e+jemmuPuq1m+f9UIMMLyZGQNG3PIa2ovLEPq+LDKs3r+DCSysQtmA3XGGt6Sr +RDvPCUBuawx5BpYGKQ0jctPyj+6ThWSmkwekJi7JbNDQK1SvRGaQvk9Msypch77k88U nfe5LOqd3DX6n2dWyz1xfsyfyFubQFoTv815qthqX1Y7Dvv9AagL9cc/SHJEraKOb2Nh n78XuxlDTrYCRBVdzC+kS6B6pn7mN2AJHJtkhUjGxF9btXmcEqDfAOnc81Q44jz5TTkc QXqWQvNvxPnXEb04/DfSsVxmfstiM4peEIl9ujwty1g9hIlrvl9V+CSpIdcikc+5wg2a FqqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:dkim-signature; bh=Qkp/lfM7R4/9VFytqPJOWBgUswxzuDafgwHDd1VibeQ=; b=Wgnv0ButUqhwCxLkyAZnCnq6ybkjLGNdfWWSZ4KZe/txHXlr0bz/IfoESHFD7o4ar9 ocjT8dLZVeyOcMOKfN7Tmk4GHMo484tqkf/x1VJ4Kxalkd0Z157JZJ8cNL4N1S++fFI3 EtM/W8EsCbyNTR49dEbe9DGQ9p/MJgT2NsvhDUhWPFe5ASwTijlF6qh7fHWPv0VUuAQn /NVCG4G8eHFUuhEQ4slaaFvKGrjrvEHroK8Z68FcfGBb9+Ri/lrlPBRD6YTz/GrL+l3u 7xz5Mq4IkMtTO1hIlvB5f0NMojyqT2SM8j2q03TDu6fyKpXfiWQOOf9gCTPucoMIEMTu ntEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WM7kXsdm; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c3si1351122pgi.358.2019.06.06.00.32.14; Thu, 06 Jun 2019 00:32:32 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WM7kXsdm; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726717AbfFFHan (ORCPT + 99 others); Thu, 6 Jun 2019 03:30:43 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34387 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726014AbfFFHan (ORCPT ); Thu, 6 Jun 2019 03:30:43 -0400 Received: by mail-wr1-f68.google.com with SMTP id e16so1262145wrn.1; Thu, 06 Jun 2019 00:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=Qkp/lfM7R4/9VFytqPJOWBgUswxzuDafgwHDd1VibeQ=; b=WM7kXsdm2IIbvcKh7Z43WuKK927dq/t9c1pAayHXiNqiGiEKN1/YGCLmo/j7+JvgUk Wpp24mhcJAwa+3PQSNpA0BQ+EurXUl4K56KLUqkb3MRB7jqybjz/5/4iKiTWom//4ZnO y18oF5vZiIhWR4uEQn2+fmVojUqWJXhQ1PlNnVUyuOKE+Wwh/Se/Slh3vHQyaOxOhZJM Bt5ch+FJNsWpH16pYW2B5hhIDrFu2r5miwCSSPRR3k8L6qHZ3rBl3noqESoNWAVTrjlh vj+yKFPkR91Hkp3OiCpepQkXrnzEnXFXZhU/vB1p7FK95eXu63IuIl6cVYBzZ7qBJ3Kf 2aRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=Qkp/lfM7R4/9VFytqPJOWBgUswxzuDafgwHDd1VibeQ=; b=F4o7rXH1ppXYbPbK7+8CaIdYTeKR19WMG2WpeDtWs1szpcqSdXeWCKzRWzC20T1AZc mbFqgQ5Bp4HiXPZEBfp6tmjO8maOGUQpMaMzBO/Gk98X3W1+ary6rTgPhrETHhaDcLks Y1mZgzykHLsFsArNCgQEZWQAHasQgQQ9r3g6PBs/SXpuhYRRB2KwXzFI/KocLSknsJib p9Lay3hmAXun978Y8Br6UX0Wlo2qZhERoo5PCDEI+j+TxxRjdYv4Ps4VR0f9kr0F3Q2y dMUNeO1kkqKeFtEp7BhIN7nlwu8MtHvy5egJEIoVIcWCUQPIoLvRh6mmbBbUp8SPynAo iQaA== X-Gm-Message-State: APjAAAWb9AspnvbCFsr184BPJHdv0JzJem+p/RxcnRVNh4d2+lo2YQwM P+M12xILc1AnDMQlP6vWOHvBooF8hXeuBejCL3I= X-Received: by 2002:adf:f78d:: with SMTP id q13mr28930531wrp.220.1559806241260; Thu, 06 Jun 2019 00:30:41 -0700 (PDT) MIME-Version: 1.0 References: <20190522032144.10995-1-deepa.kernel@gmail.com> <20190529161157.GA27659@redhat.com> <20190604134117.GA29963@redhat.com> <20190605155801.GA25165@redhat.com> <20190605155833.GB25165@redhat.com> <20190606072559.GA27021@redhat.com> In-Reply-To: <20190606072559.GA27021@redhat.com> Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Thu, 6 Jun 2019 09:30:29 +0200 Message-ID: Subject: Re: [PATCH -mm 1/1] signal: simplify set_user_sigmask/restore_user_sigmask To: Oleg Nesterov Cc: Andrew Morton , Deepa Dinamani , linux-kernel@vger.kernel.org, Arnd Bergmann , dbueso@suse.de, axboe@kernel.dk, dave@stgolabs.net, e@80x24.org, jbaron@akamai.com, linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, omar.kilani@gmail.com, tglx@linutronix.de, stable@vger.kernel.org, Al Viro , "Eric W. Biederman" , Linus Torvalds , David Laight Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 6, 2019 at 9:28 AM Oleg Nesterov wrote: > > On 06/05, Oleg Nesterov wrote: > > > > +int set_user_sigmask(const sigset_t __user *umask, size_t sigsetsize) > > { > > - if (!usigmask) > > - return 0; > > + sigset_t *kmask; > > Typo, this obviously should be > > sigset_t kmask; > > I'll send v2. > > > Dear Kbuild Test Robot, thank you very much, > Machines have emotions, too. - sed@ -