Files
linux/drivers/char
Arnd Bergmann 919fc442cf ppdev: fix PPGETTIME/PPSETTIME ioctls
commit 998174042d upstream.

Going through the uses of timeval in the user space API,
I noticed two bugs in ppdev that were introduced in the y2038
conversion:

* The range check was accidentally moved from ppsettime to
  ppgettime

* On sparc64, the microseconds are in the other half of the
  64-bit word.

Fix both, and mark the fix for stable backports.

Cc: stable@vger.kernel.org
Fixes: 3b9ab374a1 ("ppdev: convert to y2038 safe")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20191108203435.112759-8-arnd@arndb.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-17 20:35:13 +01:00
..
2018-03-14 19:13:47 +01:00
2018-06-05 11:24:55 -07:00
2019-12-13 08:50:58 +01:00
2011-03-31 11:26:23 -03:00
2019-10-05 13:10:11 +02:00
2018-05-16 07:23:35 +02:00
2019-12-17 20:35:13 +01:00
2016-01-22 18:04:28 -05:00
2018-06-12 16:19:22 -07:00
2018-08-02 17:16:03 +02:00
2011-01-10 08:51:44 -08:00