Module Name:    src
Committed By:   njoly
Date:           Sat May 31 08:51:19 UTC 2014

Modified Files:
        src/sys/compat/linux/arch/amd64: syscalls.master
        src/sys/compat/linux/arch/arm: syscalls.master
        src/sys/compat/linux/arch/i386: syscalls.master
        src/sys/compat/linux/arch/m68k: syscalls.master
        src/sys/compat/linux/arch/mips: syscalls.master
        src/sys/compat/linux/arch/powerpc: syscalls.master

Log Message:
Fix munmap(2) signature.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/compat/linux/arch/amd64/syscalls.master
cvs rdiff -u -r1.60 -r1.61 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -u -r1.117 -r1.118 src/sys/compat/linux/arch/i386/syscalls.master
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -u -r1.55 -r1.56 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.64 -r1.65 src/sys/compat/linux/arch/powerpc/syscalls.master

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/arch/amd64/syscalls.master
diff -u src/sys/compat/linux/arch/amd64/syscalls.master:1.51 src/sys/compat/linux/arch/amd64/syscalls.master:1.52
--- src/sys/compat/linux/arch/amd64/syscalls.master:1.51	Thu May 29 10:35:26 2014
+++ src/sys/compat/linux/arch/amd64/syscalls.master	Sat May 31 08:51:19 2014
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.51 2014/05/29 10:35:26 njoly Exp $
+	$NetBSD: syscalls.master,v 1.52 2014/05/31 08:51:19 njoly Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -85,7 +85,7 @@
 			    linux_off_t offset); }
 10	STD		{ int|linux_sys||mprotect(const void *start, \
 			    unsigned long len, int prot); }
-11	NOARGS		{ int|sys||munmap(void *addr, int len); }
+11	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
 12	STD		{ int|linux_sys||brk(char *nsize); }
 13	STD		{ int|linux_sys||rt_sigaction(int signum, \
 			    const struct linux_sigaction *nsa, \

Index: src/sys/compat/linux/arch/arm/syscalls.master
diff -u src/sys/compat/linux/arch/arm/syscalls.master:1.60 src/sys/compat/linux/arch/arm/syscalls.master:1.61
--- src/sys/compat/linux/arch/arm/syscalls.master:1.60	Thu May 29 10:35:27 2014
+++ src/sys/compat/linux/arch/arm/syscalls.master	Sat May 31 08:51:19 2014
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.60 2014/05/29 10:35:27 njoly Exp $
+	$NetBSD: syscalls.master,v 1.61 2014/05/31 08:51:19 njoly Exp $
 
 ; Derived from sys/compat/linux/arch/*/syscalls.master
 ; and from Linux 2.4.12 arch/arm/kernel/calls.S
@@ -177,7 +177,7 @@
 89	STD		{ int|linux_sys||readdir(int fd, void *dent, \
 			    unsigned int count); }
 90	STD		{ int|linux_sys||old_mmap(struct linux_oldmmap *lmp); }
-91	NOARGS		{ int|sys||munmap(void *addr, int len); }
+91	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
 92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
 			    long length); }
 93	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }

Index: src/sys/compat/linux/arch/i386/syscalls.master
diff -u src/sys/compat/linux/arch/i386/syscalls.master:1.117 src/sys/compat/linux/arch/i386/syscalls.master:1.118
--- src/sys/compat/linux/arch/i386/syscalls.master:1.117	Thu May 29 10:35:27 2014
+++ src/sys/compat/linux/arch/i386/syscalls.master	Sat May 31 08:51:19 2014
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.117 2014/05/29 10:35:27 njoly Exp $
+	$NetBSD: syscalls.master,v 1.118 2014/05/31 08:51:19 njoly Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -178,7 +178,7 @@
 89	STD		{ int|linux_sys||readdir(int fd, void *dent, \
 			    unsigned int count); }
 90	STD		{ int|linux_sys||old_mmap(struct linux_oldmmap *lmp); }
-91	NOARGS		{ int|sys||munmap(void *addr, int len); }
+91	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
 92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
 			    long length); }
 93	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }

Index: src/sys/compat/linux/arch/m68k/syscalls.master
diff -u src/sys/compat/linux/arch/m68k/syscalls.master:1.87 src/sys/compat/linux/arch/m68k/syscalls.master:1.88
--- src/sys/compat/linux/arch/m68k/syscalls.master:1.87	Thu May 29 10:35:27 2014
+++ src/sys/compat/linux/arch/m68k/syscalls.master	Sat May 31 08:51:19 2014
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.87 2014/05/29 10:35:27 njoly Exp $
+	$NetBSD: syscalls.master,v 1.88 2014/05/31 08:51:19 njoly Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -193,7 +193,7 @@
 89	STD		{ int|linux_sys||readdir(int fd, void *dent, \
 			    unsigned int count); }
 90	STD		{ int|linux_sys||old_mmap(struct linux_oldmmap *lmp); }
-91	NOARGS		{ int|sys||munmap(void *addr, int len); }
+91	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
 92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
 			    long length); }
 #if !defined(_KERNEL) || defined(COMPAT_43)

Index: src/sys/compat/linux/arch/mips/syscalls.master
diff -u src/sys/compat/linux/arch/mips/syscalls.master:1.55 src/sys/compat/linux/arch/mips/syscalls.master:1.56
--- src/sys/compat/linux/arch/mips/syscalls.master:1.55	Thu May 29 10:35:27 2014
+++ src/sys/compat/linux/arch/mips/syscalls.master	Sat May 31 08:51:19 2014
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.55 2014/05/29 10:35:27 njoly Exp $  
+	$NetBSD: syscalls.master,v 1.56 2014/05/31 08:51:19 njoly Exp $  
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -175,7 +175,7 @@
 			    unsigned int count); }
 90	NOARGS      	{ int|linux_sys||mmap(unsigned long addr, size_t len, \
 			    int prot, int flags, int fd, linux_off_t offset); }
-91	NOARGS		{ int|sys||munmap(void *addr, int len); }
+91	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
 92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
 			    long length); }
 93	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }

Index: src/sys/compat/linux/arch/powerpc/syscalls.master
diff -u src/sys/compat/linux/arch/powerpc/syscalls.master:1.64 src/sys/compat/linux/arch/powerpc/syscalls.master:1.65
--- src/sys/compat/linux/arch/powerpc/syscalls.master:1.64	Thu May 29 10:35:27 2014
+++ src/sys/compat/linux/arch/powerpc/syscalls.master	Sat May 31 08:51:19 2014
@@ -1,4 +1,4 @@
-	$NetBSD: syscalls.master,v 1.64 2014/05/29 10:35:27 njoly Exp $  
+	$NetBSD: syscalls.master,v 1.65 2014/05/31 08:51:19 njoly Exp $  
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 
@@ -203,7 +203,7 @@
 			    unsigned int count); }
 90	NOARGS		{ int|linux_sys||mmap(unsigned long addr, size_t len, \
 			    int prot, int flags, int fd, linux_off_t offset); }
-91	NOARGS		{ int|sys||munmap(void *addr, int len); }
+91	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
 92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
 			    long length); }
 93	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }

Reply via email to