summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux.h
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2006-12-20 20:17:35 +0000
committerjkim <jkim@FreeBSD.org>2006-12-20 20:17:35 +0000
commit3b05cb0c58ed250c60f7321838347a39face122f (patch)
tree40841c4230fafceca6bed9870e7bee86d23f61b9 /sys/i386/linux/linux.h
parent32be6116587f790003891e0bb8b64be55589ed4e (diff)
downloadFreeBSD-src-3b05cb0c58ed250c60f7321838347a39face122f.zip
FreeBSD-src-3b05cb0c58ed250c60f7321838347a39face122f.tar.gz
MFP4: 109655
- Move linux_nanosleep() from src/sys/amd64/linux32/linux32_machdep.c to src/sys/compat/linux/linux_time.c. - Validate timespec ranges before use as Linux kernel does. - Fix l_timespec structure. - Clean up style(9) nits.
Diffstat (limited to 'sys/i386/linux/linux.h')
-rw-r--r--sys/i386/linux/linux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/linux/linux.h b/sys/i386/linux/linux.h
index 9ad9353..314fd35 100644
--- a/sys/i386/linux/linux.h
+++ b/sys/i386/linux/linux.h
@@ -146,8 +146,8 @@ struct l_rlimit {
* stat family of syscalls
*/
struct l_timespec {
- l_ulong tv_sec;
- l_ulong tv_nsec;
+ l_time_t tv_sec;
+ l_long tv_nsec;
};
struct l_newstat {
OpenPOWER on IntegriCloud