From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1099CC04AB5 for ; Thu, 6 Jun 2019 07:30:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DCDD420868 for ; Thu, 6 Jun 2019 07:30:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WM7kXsdm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726636AbfFFHan (ORCPT ); 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-Google-Smtp-Source: APXvYqzDQF9AtA/eA6w8ELmIHnhcOffQB0KRrcdedaPzSfFcPn1FEaxo7KqBd8kEnLy5p7QPH1sq+nK/AaRqyKPAnAQ= 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-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@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@ -