[Bug 217547] The shell example in time_namespaces doesn't behave as documented

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=217547

Thomas Weißschuh (kernel@xxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kernel@xxxxxxxx

--- Comment #1 from Thomas Weißschuh (kernel@xxxxxxxx) ---
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.



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux