diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-20 02:38:00 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-20 21:48:47 +0100 |
commit | 6684ba202b5ab2f36d574c72fe50c207d99b3e35 (patch) | |
tree | 58f692f4f827bba86120c0af385fb8c768889591 /Documentation | |
parent | compat: Introduce COMPAT_USE_64BIT_TIME (diff) | |
download | linux-6684ba202b5ab2f36d574c72fe50c207d99b3e35.tar.xz linux-6684ba202b5ab2f36d574c72fe50c207d99b3e35.zip |
compat: Add helper functions to read/write struct timeval, timespec
Add helper functions to read and write struct timeval and struct
timespec from userspace. We already had helper functions for reading
and writing struct compat_timespec; add a set of functions to do the
same with struct timeval, and add a second suite of functions which
can be sensitive to COMPAT_USE_64BIT_TIME and access either 32- or
64-bit time structures.
This also exports these helper functions to modules.
Rename the existing inlines for converting between struct
compat_timeval and native struct timespec so we can have a saner
naming convention for the exported functions.
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions