<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <pre class="moz-signature" cols="179">--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team
</pre>
    <div class="moz-cite-prefix">On 10/12/2020 03:49 PM, Kirill Tkhai
      wrote:<br>
    </div>
    <blockquote cite="mid:77a4d13b-26ba-da0f-2a18-351b9043fa4b@virtuozzo.com" type="cite">
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">@@ -1233,8 +1279,13 @@ SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags,
 
         if (!timespec64_valid(&amp;t))
                 return -EINVAL;
+
         if (flags &amp; TIMER_ABSTIME)
</pre>
      </blockquote>
      <pre wrap="">Is this string going to be deleted?</pre>
    </blockquote>
    Very strange, even no compilation warning. :\<br>
    Will updated the patch surely, thank you for noticing.<br>
    <br>
    <blockquote cite="mid:77a4d13b-26ba-da0f-2a18-351b9043fa4b@virtuozzo.com" type="cite">
      <pre wrap="">

</pre>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">+
+        if (flags &amp; TIMER_ABSTIME) {
+                monotonic_ve_to_abs(which_clock, &amp;t);
                 rmtp = NULL;
+        }
         current-&gt;restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE;
         current-&gt;restart_block.nanosleep.rmtp = rmtp;</pre>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>