diff options
author | kib <kib@FreeBSD.org> | 2012-08-14 12:09:09 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-08-14 12:09:09 +0000 |
commit | bc5359fb02cdf7fbbfe45394f25c7981d2ed4c38 (patch) | |
tree | 7649b5a06b9e8268f9bf5e3dd86da317331c2b32 /sys/compat/freebsd32 | |
parent | 0d46b4715373f74bfedce6d75f31d50b7ab81c48 (diff) | |
download | FreeBSD-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/freebsd32')
-rw-r--r-- | sys/compat/freebsd32/syscalls.master | 3 |
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); } |