diff options
author | Baolin Wang <[email protected]> | 2016-04-08 14:02:11 +0800 |
---|---|---|
committer | John Stultz <[email protected]> | 2016-04-22 11:48:30 -0700 |
commit | 457db29bfcfd1d9cc717587c446a89d60499d4a9 (patch) | |
tree | 2416285b5a4c69e386e136df9e649825c5fab6fd /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 02fad5e9b433da3829d39f0afb3c51b4b6409ed5 (diff) |
security: Introduce security_settime64()
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 security_settime() to the header file as an
inline helper function so that existing users can be iteratively
converted.
None of the existing hooks is using the timespec argument and therefor
the patch is not making any functional changes.
Cc: Serge Hallyn <[email protected]>,
Cc: James Morris <[email protected]>,
Cc: "Serge E. Hallyn" <[email protected]>,
Cc: Paul Moore <[email protected]>
Cc: Stephen Smalley <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Reviewed-by: James Morris <[email protected]>
Signed-off-by: Baolin Wang <[email protected]>
[jstultz: Reworded commit message]
Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions