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
This commit is contained in:
Konstantin Belousov 2012-08-14 12:09:09 +00:00
parent 7707ccabfb
commit f90fabce5a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239248

View File

@ -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); }