[PATCH 2/3] security: Introduce security_settime64()

2016-04-22 Thread John Stultz
From: Baolin Wang security_settime() uses a timespec, which is not year 2038 safe on 32bit systems. Thus this patch introduces the security_settime64() function with timespec64 type. We also convert the cap_settime() helper function to use the 64bit types. This patch

[PATCH 2/3] security: Introduce security_settime64()

2016-04-22 Thread John Stultz
From: Baolin Wang security_settime() uses a timespec, which is not year 2038 safe on 32bit systems. Thus this patch introduces the security_settime64() function with timespec64 type. We also convert the cap_settime() helper function to use the 64bit types. This patch then moves