diff options
author | jkh <jkh@FreeBSD.org> | 1998-07-10 22:30:08 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-07-10 22:30:08 +0000 |
commit | e75406ce05e20ff1bae957eb5f5bc8fe218d112e (patch) | |
tree | 13c89723777c586020cff777c120445b13bfcea5 /sys/i386/linux/linux_sysent.c | |
parent | 4cddfb10b4f9eda58950974cd4e64bf200d28a47 (diff) | |
download | FreeBSD-src-e75406ce05e20ff1bae957eb5f5bc8fe218d112e.zip FreeBSD-src-e75406ce05e20ff1bae957eb5f5bc8fe218d112e.tar.gz |
Quick and dirty support for Linux's mremap. Not used by anything
but quake2 AFAIK.
Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>
Diffstat (limited to 'sys/i386/linux/linux_sysent.c')
-rw-r--r-- | sys/i386/linux/linux_sysent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/linux/linux_sysent.c b/sys/i386/linux/linux_sysent.c index 3768f57..da9ac24 100644 --- a/sys/i386/linux/linux_sysent.c +++ b/sys/i386/linux/linux_sysent.c @@ -177,7 +177,7 @@ struct sysent linux_sysent[] = { { 1, (sy_call_t *)sched_get_priority_min }, /* 160 = sched_get_priority_min */ { 2, (sy_call_t *)sched_rr_get_interval }, /* 161 = sched_rr_get_interval */ { 2, (sy_call_t *)nanosleep }, /* 162 = nanosleep */ - { 0, (sy_call_t *)nosys }, /* 163 = mremap */ + { 4, (sy_call_t *)linux_mremap }, /* 163 = linux_mremap */ { 0, (sy_call_t *)nosys }, /* 164 = setresuid */ { 0, (sy_call_t *)nosys }, /* 165 = getresuid */ { 0, (sy_call_t *)nosys }, /* 166 = new_vm86 */ |