--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team

On 10/12/2020 03:49 PM, Kirill Tkhai wrote:
@@ -1233,8 +1279,13 @@ SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, 
which_clock, int, flags,
if (!timespec64_valid(&t))
                return -EINVAL;
+
        if (flags & TIMER_ABSTIME)
Is this string going to be deleted?
Very strange, even no compilation warning. :\
Will updated the patch surely, thank you for noticing.


+
+       if (flags & TIMER_ABSTIME) {
+               monotonic_ve_to_abs(which_clock, &t);
                rmtp = NULL;
+       }
        current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE;
        current->restart_block.nanosleep.rmtp = rmtp;

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to