lkml.org 
[lkml]   [2020]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: RFC: time_namespaces(7) manual page
Date
"Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> writes:
> I've tried to capture this info, as well some other relevant errors
> in the following text. Does it look okay?
>
> Writes to the timens_offsets file can fail with the following
> errors:
>
> EINVAL An offset-nanosecs value is greater than 999,999,999.
>
> EINVAL A clock-id value is not valid.
>
> EPERM The caller does not have the the CAP_SYS_TIME capability.
>
> ERANGE An offset-secs value is out of range. In particular;
>
> · offset-secs can't be set to a value which would make the
> current time on the corresponding clock inside the names‐
> pace a negative value; and
>
> · offset-secs can't be set to a value such that the time on
> the corresponding clock inside the namespace would exceed
> half of the value of the kernel constant KTIME_SEC_MAX
> (this limits the clock value to a maximum of approxi‐
> mately 146 years).

Yes.

Thanks,

tglx

\
 
 \ /
  Last update: 2020-04-07 16:21    [W:0.039 / U:1.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site