aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux/taskstats.h
diff options
context:
space:
mode:
authorNathan Lynch <nathan_lynch@mentor.com>2015-02-24 17:21:07 -0600
committerMister Oyster <oysterized@gmail.com>2017-12-14 16:32:24 +0100
commit824b42220de00beb64b55830aba4966c70927476 (patch)
treef82ccd162e558af2dd9376b71be679ad680062c2 /include/uapi/linux/taskstats.h
parent46647258ee0aa6778b9175878e224e27081f4f2b (diff)
UPSTREAM: arm64: vdso: minor ABI fix for clock_getres
(cherry picked from commit e1b6b6ce55a0a25c8aa8af019095253b2133a41a) The vdso implementation of clock_getres currently returns 0 (success) whenever a null timespec is provided by the caller, regardless of the clock id supplied. This behavior is incorrect. It should fall back to syscall when an unrecognized clock id is passed, even when the timespec argument is null. This ensures that clock_getres always returns an error for invalid clock ids. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Bug: 20045882 Bug: 63737556 Bug: 69626243 Change-Id: I93caac645d807403cab85245a33faf6439c6f3c1 Signed-off-by: Mister Oyster <oysterized@gmail.com>
Diffstat (limited to 'include/uapi/linux/taskstats.h')
0 files changed, 0 insertions, 0 deletions