public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] linux: Add CLONE_NEWTIME from Linux 5.6 to bits/sched.h
Date: Mon, 23 May 2022 20:49:31 +0000 (GMT)	[thread overview]
Message-ID: <20220523204931.B42BA3857831@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=04b30fe4f85d6e4c0390581a5e90db066a0b2f1f

commit 04b30fe4f85d6e4c0390581a5e90db066a0b2f1f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Tue May 10 13:59:48 2022 -0300

    linux: Add CLONE_NEWTIME from Linux 5.6 to bits/sched.h
    
    It was added in commit 769071ac9f20b6a447410c7eaa55d1a5233ef40c.

Diff:
---
 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 20:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20220523204931.B42BA3857831@sourceware.org \
    --to=azanella@sourceware.org \
    --cc=glibc-cvs@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).