summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-08-14 12:09:09 +0000
committerkib <kib@FreeBSD.org>2012-08-14 12:09:09 +0000
commitbc5359fb02cdf7fbbfe45394f25c7981d2ed4c38 (patch)
tree7649b5a06b9e8268f9bf5e3dd86da317331c2b32 /sys/compat
parent0d46b4715373f74bfedce6d75f31d50b7ab81c48 (diff)
downloadFreeBSD-src-bc5359fb02cdf7fbbfe45394f25c7981d2ed4c38.zip
FreeBSD-src-bc5359fb02cdf7fbbfe45394f25c7981d2ed4c38.tar.gz
Implement the old mmap syscall for compat32, when COMPAT_43 option is
enabled. The syscall is used by FreeBSD 1.1.5.1 dynamic linker. MFC after: 1 week
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/freebsd32/syscalls.master3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master
index 0891e41..a095b82 100644
--- a/sys/compat/freebsd32/syscalls.master
+++ b/sys/compat/freebsd32/syscalls.master
@@ -168,7 +168,8 @@
68 AUE_NULL OBSOL vwrite
69 AUE_SBRK NOPROTO { int sbrk(int incr); }
70 AUE_SSTK NOPROTO { int sstk(int incr); }
-71 AUE_MMAP OBSOL ommap
+71 AUE_MMAP COMPAT|NOPROTO { int mmap(void *addr, int len, \
+ int prot, int flags, int fd, int pos); }
72 AUE_O_VADVISE NOPROTO { int ovadvise(int anom); } vadvise \
ovadvise_args int
73 AUE_MUNMAP NOPROTO { int munmap(void *addr, size_t len); }
OpenPOWER on IntegriCloud