Print this page
3882 remove xmod & friends

@@ -17,23 +17,19 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 
-/* ONC_PLUS EXTRACT START */
-
 /*
  * Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright 2012 Milan Jurik. All rights reserved.
  * Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved.
  */
 
 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
 /*        All Rights Reserved   */
 
-/* ONC_PLUS EXTRACT END */
-
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/systm.h>
 #include <sys/systrace.h>
 #include <sys/procfs.h>

@@ -51,19 +47,17 @@
 #include <sys/sendfile.h>
 
 struct hrtsysa;
 struct mmaplf32a;
 
-/* ONC_PLUS EXTRACT START */
 /*
  * This table is the switch used to transfer to the appropriate
  * routine for processing a system call.  Each row contains the
  * number of arguments expected, a switch that tells systrap()
  * in trap.c whether a setjmp() is not necessary, and a pointer
  * to the routine.
  */
-/* ONC_PLUS EXTRACT END */
 
 int     access(char *, int);
 int     alarm(int);
 int     auditsys(struct auditcalls *, rval_t *);
 int64_t brandsys(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t,

@@ -420,11 +414,10 @@
 /*
  * Initialization macro for loadable native system calls.
  */
 #define SYSENT_LOADABLE()       \
         { 0, SE_LOADABLE, (int (*)())nosys, NULL, loadable_syscall }
-/* ONC_PLUS EXTRACT END */
 
 /*
  * Initialization macro for loadable 32-bit compatibility system calls.
  */
 #define SYSENT_LOADABLE32()     SYSENT_LOADABLE()

@@ -431,17 +424,15 @@
 
 #define SYSENT_NOSYS()          SYSENT_C("nosys", nosys, 0)
 
 struct sysent nosys_ent = SYSENT_NOSYS();
 
-/* ONC_PLUS EXTRACT START */
 /*
  * Native sysent table.
  */
 struct sysent sysent[NSYSCALL] =
 {
-/* ONC_PLUS EXTRACT END */
         /*  0 */ IF_LP64(
                         SYSENT_NOSYS(),
                         SYSENT_C("indir",       indir,          1)),
         /*  1 */ SYSENT_CI("exit",              rexit,          1),
         /*  2 */ SYSENT_LOADABLE(),                     /* (was forkall) */

@@ -562,13 +553,11 @@
         /* 101 */ SYSENT_CI("fchmodat",         fchmodat,       4),
         /* 102 */ SYSENT_CI("mkdirat",          mkdirat,        3),
         /* 103 */ SYSENT_CI("statvfs",          statvfs,        2),
         /* 104 */ SYSENT_CI("fstatvfs",         fstatvfs,       2),
         /* 105 */ SYSENT_CI("getloadavg",       getloadavg,     2),
-/* ONC_PLUS EXTRACT START */
         /* 106 */ SYSENT_LOADABLE(),            /* nfssys */
-/* ONC_PLUS EXTRACT END */
         /* 107 */ SYSENT_CI("waitsys",          waitsys,        4),
         /* 108 */ SYSENT_CI("sigsendset",       sigsendsys,     2),
         /* 109 */ IF_x86(
                         SYSENT_AP("hrtsys",     hrtsys,         5),
                         SYSENT_LOADABLE()),

@@ -763,13 +752,11 @@
         /* 251 */ SYSENT_CI("lwp_mutex_trylock", lwp_mutex_trylock,     2),
         /* 252 */ SYSENT_CI("lwp_mutex_register", lwp_mutex_register,   2),
         /* 253 */ SYSENT_CI("cladm",            cladm,          3),
         /* 254 */ SYSENT_CI("uucopy",           uucopy,         3),
         /* 255 */ SYSENT_CI("umount2",          umount2,        2)
-/* ONC_PLUS EXTRACT START */
 };
-/* ONC_PLUS EXTRACT END */
 
 
 #ifdef _SYSCALL32_IMPL
 
 extern int ulimit32(int, int);

@@ -819,18 +806,16 @@
     socklen_t);
 
 extern int privsys32(int, priv_op_t, priv_ptype_t, caddr32_t, size32_t, int);
 extern int ucredsys32(int, int, caddr32_t);
 
-/* ONC_PLUS EXTRACT START */
 /*
  * sysent table for ILP32 processes running on
  * a LP64 kernel.
  */
 struct sysent sysent32[NSYSCALL] =
 {
-/* ONC_PLUS EXTRACT END */
         /*  0 */ SYSENT_C("indir",              indir,          1),
         /*  1 */ SYSENT_CI("exit",      (int (*)())rexit,       1),
         /*  2 */ SYSENT_LOADABLE32(),                   /* (was forkall) */
         /*  3 */ SYSENT_CI("read",              read32,         3),
         /*  4 */ SYSENT_CI("write",             write32,        3),

@@ -935,13 +920,11 @@
         /* 101 */ SYSENT_CI("fchmodat",         fchmodat,       4),
         /* 102 */ SYSENT_CI("mkdirat",          mkdirat,        3),
         /* 103 */ SYSENT_CI("statvfs",          statvfs32,      2),
         /* 104 */ SYSENT_CI("fstatvfs",         fstatvfs32,     2),
         /* 105 */ SYSENT_CI("getloadavg",       getloadavg,     2),
-/* ONC_PLUS EXTRACT START */
         /* 106 */ SYSENT_LOADABLE32(),          /* nfssys */
-/* ONC_PLUS EXTRACT END */
         /* 107 */ SYSENT_CI("waitsys",          waitsys32,      4),
         /* 108 */ SYSENT_CI("sigsendset",       sigsendsys,     2),
         /* 109 */ IF_x86(
                         SYSENT_AP("hrtsys",     hrtsys,         5),
                         SYSENT_LOADABLE32()),

@@ -1094,13 +1077,11 @@
         /* 251 */ SYSENT_CI("lwp_mutex_trylock", lwp_mutex_trylock,     2),
         /* 252 */ SYSENT_CI("lwp_mutex_register", lwp_mutex_register,   2),
         /* 253 */ SYSENT_CI("cladm",            cladm,          3),
         /* 254 */ SYSENT_CI("uucopy",           uucopy,         3),
         /* 255 */ SYSENT_CI("umount2",          umount2,        2)
-/* ONC_PLUS EXTRACT START */
 };
-/* ONC_PLUS EXTRACT END */
 #endif /* _SYSCALL32_IMPL */
 
 /*
  * Space allocated and initialized in init_syscallnames().
  */