summaryrefslogtreecommitdiff
path: root/sys/kern/syscalls.master
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-04-25 18:30:19 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-04-25 18:30:19 +0000
commit8841d81531b38e0ec365213db0159742de302e6a (patch)
tree347da186972c9f7b017672935e5023ef3390cb6d /sys/kern/syscalls.master
parenta5d055cd3e7192e8ab92e3d23f447d6e7e92855e (diff)
change mquery() function call signature to be the same a mmap(). It
needs the prot/flags info and passing the addresses via arg/return allows it to be traced via ktrace better than an in/out paramter. This adds a new mquery syscall and renames the old one to omquery. New kernel _MUST_ be built and installed before building ld.so with this change. ok millert@ tedu@
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r--sys/kern/syscalls.master8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index e414ac0e100..6d216318a76 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.53 2003/04/14 04:53:50 art Exp $
+; $OpenBSD: syscalls.master,v 1.54 2003/04/25 18:30:18 drahn Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -570,5 +570,7 @@
gid_t *sgid); }
284 STD { int sys_setresgid(gid_t rgid, gid_t egid, \
gid_t sgid); }
-285 STD { int sys_mquery(int flags, void **addr, size_t size, \
- int fd, off_t off); }
+285 STD { int sys_omquery(int flags, void **addr, \
+ size_t size, int fd, off_t off); }
+286 STD { void *sys_mquery(void *addr, size_t len, int prot, \
+ int flags, int fd, long pad, off_t pos); }