Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2508605ybp; Thu, 10 Oct 2019 08:22:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxE3a3A0odPftafD3TihgOtYEHjtfKP95ggMPF2mKGeoU7NrP1xQ0z99MFy48xWCfuzixVJ X-Received: by 2002:a17:906:474b:: with SMTP id j11mr8728616ejs.325.1570720976577; Thu, 10 Oct 2019 08:22:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570720976; cv=none; d=google.com; s=arc-20160816; b=q6oH2LTBNsSvo32FvgLL5YEoUojj8OArEYe2CsoTtqYzteq7V+asck8cPxfzKrFIW+ Uudk2Er1p4XYXDNQRhK6sYMZuYNJQ7QRlM+F85olFHpb39alLLIs/UfVWdZXXA+2//hP K07MBbeH3Kjb7aWmJSjXm/tFpzsodwlBreUZ7nrb6f/lMEdX3wUhCu5O952zAmigiXop DBHOL0fFe/mO9ta8vdnr/U9CqLMbrEgp/CljHH3QzQl86w8ISwEDtsQfLDYpYGPIpP8S rLWB0csO+Zzmhecysd6LsSK6E/pq6FDU+rnHEkaWRwWDoK1ldmZ9560dYTTLb8vCc2ih qFKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=BAk0ghsYSFM9ZHw+h9pJlEhl5rq+jULIZgeKq0WWNDc=; b=BoOzKO9FjmuNZAsV187EFqVaL3O0UML1NP0NAhTCG1Wb1mg6Q9fI6EJ/yRxxEM8opv pHqUjZL8Ozcm+Z1IcWv28Ioz3bLnAppoJMhcEqXY1s0gUZqtSFjCxkn64kxNDMuXSmwc k3k/iYXS8sRburQB+PTSaZQQEnxfDt0BbIhTqE5kVRmwGQZZ2LruUPWM+ZOVLqYKGakC OjgkB8RG6yx2o2JPuOUUG2tk6xEAGpNhwNpXugDjbY6Dqors4cBWMYGu7foXY+8NYPly io4aMCiPKwEKnITT1h0LnfA3GeUIY0m54Tt5052iy/Fy3/WY2NtCyS2SOjF3qMRmnhQo sQLw== 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 w34si4255002edc.252.2019.10.10.08.22.31; Thu, 10 Oct 2019 08:22:56 -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 S1726551AbfJJPVy (ORCPT + 99 others); Thu, 10 Oct 2019 11:21:54 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:57805 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbfJJPVy (ORCPT ); Thu, 10 Oct 2019 11:21:54 -0400 Received: from [213.220.153.21] (helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iIaGE-0001BW-Vy; Thu, 10 Oct 2019 15:21:51 +0000 Date: Thu, 10 Oct 2019 17:21:49 +0200 From: Christian Brauner To: Florian Weimer Cc: linux-kernel@vger.kernel.org, Oleg Nesterov , libc-alpha@sourceware.org, Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Shuah Khan , Andrew Morton , Michal Hocko , Elena Reshetova , Thomas Gleixner , Roman Gushchin , Andrea Arcangeli , Al Viro , Aleksa Sarai , "Dmitry V. Levin" , linux-kselftest@vger.kernel.org Subject: Re: [PATCH 1/2] clone3: add CLONE3_CLEAR_SIGHAND Message-ID: <20191010152148.gdea35mi7s6ivev6@wittgenstein> References: <20191010133518.5420-1-christian.brauner@ubuntu.com> <87d0f4of7j.fsf@oldenburg2.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87d0f4of7j.fsf@oldenburg2.str.redhat.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 10, 2019 at 04:19:44PM +0200, Florian Weimer wrote: > * Christian Brauner: > > > @@ -2567,7 +2572,7 @@ static bool clone3_args_valid(const struct kernel_clone_args *kargs) > > * All lower bits of the flag word are taken. > > * Verify that no other unknown flags are passed along. > > */ > > - if (kargs->flags & ~CLONE_LEGACY_FLAGS) > > + if (kargs->flags & ~(CLONE_LEGACY_FLAGS | CLONE3_CLEAR_SIGHAND)) > > return false; > > Does the comment need updating? I feel it's a bit misleading now. Yeah, maybe just: /* Verify that no unknown flags are passed along. */ ? Thanks! Christian