Thread (11 messages) flat view 11 messages, 4 authors, 2020-04-16

Re: [PATCH v2] timens: show clock symbolic names in /proc/pid/timens_offsets

From: Andrei Vagin <hidden>
Date: 2020-04-14 00:05:18
Also in: lkml

On Mon, Apr 13, 2020 at 3:47 PM Andrew Morton [off-list ref] wrote:
On Sun, 12 Apr 2020 07:51:47 +0200 "Michael Kerrisk (man-pages)" [off-list ref] wrote:
quoted
Hi Andrei,

On Sat, 11 Apr 2020 at 17:40, Andrei Vagin [off-list ref] wrote:
quoted
Michael Kerrisk suggested to replace numeric clock IDs on symbolic
names.

Now the content of these files looks like this:
$ cat /proc/774/timens_offsets
monotonic      864000         0
boottime      1728000         0
Thanks.

Assuming no-one has objections to the patch, please do mark for stable@.
`grep -r timens_offsets Documentation' comes up blank.  Is
/proc/pid/timens_offsets documented anywhere?  If not, it should be!
And this patch should update that documentation.

I assume the time namespace feature itself is documented under clone(2)?
Thanks to Michael, we have the man page for time namespaces:
https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man7/time_namespaces.7

And it will be updated according with this change.

Thanks,
Andrei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help