diff options
author | Andrei Vagin <avagin@gmail.com> | 2019-11-12 01:27:02 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-01-14 12:20:53 +0100 |
commit | 6cd889d43c40b13f81a44c41896781ce70244769 (patch) | |
tree | 74a3f0575c0f0a31eb7deaa1ec8723ed0ce9166c /fs/anon_inodes.c | |
parent | 89dd8eecfe961fab4924dcd14f80cf2ab2820044 (diff) |
timerfd: Make timerfd_settime() time namespace aware
timerfd_settime() accepts an absolute value of the expiration time if
TFD_TIMER_ABSTIME is specified. This value is in the task's time namespace
and has to be converted to the host's time namespace.
Co-developed-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191112012724.250792-14-dima@arista.com
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions