public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: libc-alpha@sourceware.org, Alexey Izbyshev <izbyshev@ispras.ru>,
	Carlos O'Donell <carlos@redhat.com>,
	Florian Weimer <fweimer@redhat.com>
Subject: Re: [PATCH v4 1/3] linux: Add CLONE_NEWTIME from Linux 5.6 to bits/sched.h
Date: Mon, 23 May 2022 10:45:23 -0300	[thread overview]
Message-ID: <e0612857-88cd-e896-6538-637fa335291d@linaro.org> (raw)
In-Reply-To: <20220510191155.1998575-2-adhemerval.zanella@linaro.org>

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 <bits/types/struct_sched_param.h>

  reply	other threads:[~2022-05-23 13:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-10 19:11 [PATCH v4 0/3] Linux: Fix posix_spawn when user with time namespaces Adhemerval Zanella
2022-05-10 19:11 ` [PATCH v4 1/3] linux: Add CLONE_NEWTIME from Linux 5.6 to bits/sched.h Adhemerval Zanella
2022-05-23 13:45   ` Adhemerval Zanella [this message]
2022-05-10 19:11 ` [PATCH v4 2/3] support: Add support_enter_time_namespace Adhemerval Zanella
2022-05-10 19:11 ` [PATCH v4 3/3] linux: Add fallback for clone failure on posix_spawn (BZ #29115) Adhemerval Zanella
2022-05-10 19:18 ` [PATCH v4 0/3] Linux: Fix posix_spawn when user with time namespaces Florian Weimer
2022-05-11  9:21   ` Christian Brauner
2022-05-11 16:01     ` Alexey Izbyshev
2022-05-25 12:24     ` Florian Weimer
2022-05-27 15:53       ` Andrei Vagin
2022-05-28  0:03         ` Andrei Vagin
2022-05-29 14:33           ` Christian Brauner
2022-05-30 12:58         ` Florian Weimer
2022-06-08  7:21           ` Andrei Vagin
2022-06-08  8:35             ` Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e0612857-88cd-e896-6538-637fa335291d@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=carlos@redhat.com \
    --cc=fweimer@redhat.com \
    --cc=izbyshev@ispras.ru \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).