From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by sourceware.org (Postfix) with ESMTPS id 1E1A53856DDD for ; Mon, 23 May 2022 13:45:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1E1A53856DDD Received: by mail-oi1-x231.google.com with SMTP id v9so13170856oie.5 for ; Mon, 23 May 2022 06:45:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:from:to:references:in-reply-to :content-transfer-encoding; bh=mp+n9gIhpMbrc31V4Jq2QRnpVzOhGC5xCmxUbXTVxUw=; b=TkpnO1Q1R9M39/stTogAOr+42sJH1OjE24LLrXoTcO8do/kcPnH0HT18G5ntIqaPaK w2gvc9+ap58DIwWW877x0/TQPwCSfWBOnIuk5pOTPHe7/yQX4vLZ7orJItCWmr/F+GsH UpozetyKK31reXbh+jy2ylv11UCqmy6/IdVnWyjHndbBPhEXpb6InfWW6acNmPzKQvu/ 008DbBRH0MwIo6D+Gs6g/wvSoT0N04ots7oNOjE50jcdZI98f7ylC55JBsbF3Aj8pm3m Si/r5sZNBEi5c/aZz0NKdP4ROJTYw6nK6YIYOiSa746Z++uo3TIqAz2h8qD2HPDeJn5o 8Hwg== X-Gm-Message-State: AOAM532kNEkqgbWi8ceej/XgNESEhpCb0plTYF7vsesB1xA/Fj6SaA// LuErU5nf9HJP3Vh5pp40xD6c32reRVEhZw== X-Google-Smtp-Source: ABdhPJxXZNwjjdm8lKGjbA6AKGCJSNjvE/+smKs7KEAvQ096LiKTy3PTBdQNeV7md2OAe9K8dydfWw== X-Received: by 2002:a05:6808:189f:b0:32b:2948:407a with SMTP id bi31-20020a056808189f00b0032b2948407amr2869056oib.22.1653313526994; Mon, 23 May 2022 06:45:26 -0700 (PDT) Received: from ?IPV6:2804:431:c7cb:9f85:58f2:612:a11d:c380? ([2804:431:c7cb:9f85:58f2:612:a11d:c380]) by smtp.gmail.com with ESMTPSA id v23-20020a9d5a17000000b0060603221268sm3940800oth.56.2022.05.23.06.45.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 May 2022 06:45:26 -0700 (PDT) Message-ID: Date: Mon, 23 May 2022 10:45:23 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v4 1/3] linux: Add CLONE_NEWTIME from Linux 5.6 to bits/sched.h Content-Language: en-US From: Adhemerval Zanella To: libc-alpha@sourceware.org, Alexey Izbyshev , Carlos O'Donell , Florian Weimer References: <20220510191155.1998575-1-adhemerval.zanella@linaro.org> <20220510191155.1998575-2-adhemerval.zanella@linaro.org> In-Reply-To: <20220510191155.1998575-2-adhemerval.zanella@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-14.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2022 13:45:32 -0000 Although the BZ #29115 fix might result in WONTFIX, this change is unrelated. I will commit this shortly if no one opposes it. On 10/05/2022 16:11, Adhemerval Zanella wrote: > It was added in commit 769071ac9f20b6a447410c7eaa55d1a5233ef40c. > --- > sysdeps/unix/sysv/linux/bits/sched.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h > index f13c569863..d79359eaeb 100644 > --- a/sysdeps/unix/sysv/linux/bits/sched.h > +++ b/sysdeps/unix/sysv/linux/bits/sched.h > @@ -71,6 +71,10 @@ > # define CLONE_NEWPID 0x20000000 /* New pid namespace. */ > # define CLONE_NEWNET 0x40000000 /* New network namespace. */ > # define CLONE_IO 0x80000000 /* Clone I/O context. */ > + > +/* cloning flags intersect with CSIGNAL so can be used only with unshare and > + clone3 syscalls. */ > +#define CLONE_NEWTIME 0x00000080 /* New time namespace */ > #endif > > #include