summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/sysent.c
diff options
context:
space:
mode:
authorMichael Corcoran <Michael.Corcoran@Sun.COM>2008-11-24 17:12:06 -0800
committerMichael Corcoran <Michael.Corcoran@Sun.COM>2008-11-24 17:12:06 -0800
commit0616c1c344750b61fbfd80b1185254b28a9fe60d (patch)
treeb73bff6b61a4213c28a88a5fd6234764fda27fc6 /usr/src/uts/common/os/sysent.c
parent394ab0cbe9de0b3be5bf232d9224a9d050999ae5 (diff)
downloadillumos-gate-0616c1c344750b61fbfd80b1185254b28a9fe60d.tar.gz
PSARC/2008/226 mmapobj(2) - mmap object
6502792 Same dynamic libraries should be mapped at the same virtual addresses in different processes
Diffstat (limited to 'usr/src/uts/common/os/sysent.c')
-rw-r--r--usr/src/uts/common/os/sysent.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr/src/uts/common/os/sysent.c b/usr/src/uts/common/os/sysent.c
index eeb3b7edde..87c8a77a6a 100644
--- a/usr/src/uts/common/os/sysent.c
+++ b/usr/src/uts/common/os/sysent.c
@@ -30,8 +30,6 @@
/* ONC_PLUS EXTRACT END */
-#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.51 */
-
#include <sys/param.h>
#include <sys/types.h>
#include <sys/systm.h>
@@ -90,6 +88,7 @@ int link();
off32_t lseek32();
off_t lseek64();
int lgrpsys();
+int mmapobjsys();
int mknod();
int mount();
int nice();
@@ -601,7 +600,7 @@ struct sysent sysent[NSYSCALL] =
IF_i386(
SYSENT_CI("xmknod", xmknod, 4),
SYSENT_NOSYS())),
- /* 127 */ SYSENT_LOADABLE(), /* was clocal */
+ /* 127 */ SYSENT_CI("mmapobj", mmapobjsys, 5),
/* 128 */ IF_LP64(
SYSENT_CI("setrlimit", setrlimit64, 2),
SYSENT_CI("setrlimit", setrlimit32, 2)),
@@ -988,7 +987,7 @@ struct sysent sysent32[NSYSCALL] =
/* 126 */ IF_386_ABI(
SYSENT_CI("xmknod", xmknod, 4),
SYSENT_NOSYS()),
- /* 127 */ SYSENT_LOADABLE32(), /* was clocal */
+ /* 127 */ SYSENT_CI("mmapobj", mmapobjsys, 5),
/* 128 */ SYSENT_CI("setrlimit", setrlimit32, 2),
/* 129 */ SYSENT_CI("getrlimit", getrlimit32, 2),
/* 130 */ SYSENT_CI("lchown", lchown, 3),