From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id B42BA3857831; Mon, 23 May 2022 20:49:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B42BA3857831 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] linux: Add CLONE_NEWTIME from Linux 5.6 to bits/sched.h X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/master X-Git-Oldrev: a7629b1c1b5ceb1e6e7629931ce037a476553d4b X-Git-Newrev: 04b30fe4f85d6e4c0390581a5e90db066a0b2f1f Message-Id: <20220523204931.B42BA3857831@sourceware.org> Date: Mon, 23 May 2022 20:49:31 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2022 20:49:31 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=04b30fe4f85d6e4c0390581a5e90db066a0b2f1f commit 04b30fe4f85d6e4c0390581a5e90db066a0b2f1f Author: Adhemerval Zanella 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