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.60 (requested by t...



details:   https://anonhg.NetBSD.org/src/rev/ceb91f8b384e
branches:  netbsd-1-6
changeset: 530937:ceb91f8b384e
user:      jmc <jmc%NetBSD.org@localhost>
date:      Wed Oct 22 03:49:37 2003 +0000

description:
Pullup rev 1.60 (requested by tv in ticket #1426)

Don't allow non-page-aligned offsets.

diffstat:

 sys/compat/linux/common/linux_oldmmap.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r fda98eb13d3d -r ceb91f8b384e sys/compat/linux/common/linux_oldmmap.c
--- a/sys/compat/linux/common/linux_oldmmap.c   Wed Oct 22 03:48:35 2003 +0000
+++ b/sys/compat/linux/common/linux_oldmmap.c   Wed Oct 22 03:49:37 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_oldmmap.c,v 1.58.4.1 2003/10/22 03:47:58 jmc Exp $       */
+/*     $NetBSD: linux_oldmmap.c,v 1.58.4.2 2003/10/22 03:49:37 jmc Exp $       */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_oldmmap.c,v 1.58.4.1 2003/10/22 03:47:58 jmc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_oldmmap.c,v 1.58.4.2 2003/10/22 03:49:37 jmc Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -45,6 +45,8 @@
 
 #include <sys/syscallargs.h>
 
+#include <uvm/uvm_param.h>
+
 #include <compat/linux/common/linux_types.h>
 #include <compat/linux/common/linux_mmap.h>
 #include <compat/linux/common/linux_oldmmap.h>



Home | Main Index | Thread Index | Old Index