From: bugzilla-daemon@kernel.org
To: linux-man@vger.kernel.org
Subject: [Bug 217547] The shell example in time_namespaces doesn't behave as documented
Date: Sun, 25 Jun 2023 12:06:24 +0000 [thread overview]
Message-ID: <bug-217547-11311-W3Pn2jEsM9@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-217547-11311@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=217547
Thomas Weißschuh (kernel@t-8ch.de) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kernel@t-8ch.de
--- Comment #1 from Thomas Weißschuh (kernel@t-8ch.de) ---
It seems in commit 2b5f9dad32ed ("fs/exec: switch timens when a task gets a new
mm")
the time namespace is frozen on exec().
begin_new_exec()
exec_task_namespaces()
timens_on_fork()
timens_commit()
timens_set_vvar_page()
ns->frozen_offsets = true
As a workaround you could use "unshare -T --monotonic $((2*24*60*60))" to let
unshare set the offsets directly.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2023-06-25 12:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-13 15:00 [Bug 217547] New: The shell example in time_namespaces doesn't behave as documented bugzilla-daemon
2023-06-25 12:06 ` bugzilla-daemon [this message]
2023-06-25 15:59 ` [Bug 217547] " bugzilla-daemon
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=bug-217547-11311-W3Pn2jEsM9@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linux-man@vger.kernel.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