Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/compat/linux/common Pullup rev 1.15 (via patch) (re...
details: https://anonhg.NetBSD.org/src/rev/434d495b706e
branches: netbsd-1-6
changeset: 530941:434d495b706e
user: jmc <jmc%NetBSD.org@localhost>
date: Wed Oct 22 04:03:58 2003 +0000
description:
Pullup rev 1.15 (via patch) (requested by tv in ticket #1427)
Proper support for mmap2
diffstat:
sys/compat/linux/common/linux_mmap.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 964b26eb5571 -r 434d495b706e sys/compat/linux/common/linux_mmap.h
--- a/sys/compat/linux/common/linux_mmap.h Wed Oct 22 04:03:51 2003 +0000
+++ b/sys/compat/linux/common/linux_mmap.h Wed Oct 22 04:03:58 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_mmap.h,v 1.13 2002/03/22 15:21:29 christos Exp $ */
+/* $NetBSD: linux_mmap.h,v 1.13.4.1 2003/10/22 04:03:58 jmc Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -87,9 +87,16 @@
syscallarg(linux_off_t) offset;
};
+/*
+ * Same arguments, but different meaning for "offset".
+ * See linux_misc.c:linux_sys_mmap2().
+ */
+#define linux_sys_mmap2_args linux_sys_mmap_args
+
#ifdef _KERNEL
__BEGIN_DECLS
int linux_sys_mmap __P((struct proc *p, void *v, register_t *retval));
+int linux_sys_mmap2 __P((struct proc *p, void *v, register_t *retval));
__END_DECLS
#endif /* !_KERNEL */
Home |
Main Index |
Thread Index |
Old Index