1*7c478bd9Sstevel@tonic-gate 2*7c478bd9Sstevel@tonic-gateCDDL HEADER START 3*7c478bd9Sstevel@tonic-gate 4*7c478bd9Sstevel@tonic-gateThe contents of this file are subject to the terms of the 5*7c478bd9Sstevel@tonic-gateCommon Development and Distribution License, Version 1.0 only 6*7c478bd9Sstevel@tonic-gate(the "License"). You may not use this file except in compliance 7*7c478bd9Sstevel@tonic-gatewith the License. 8*7c478bd9Sstevel@tonic-gate 9*7c478bd9Sstevel@tonic-gateYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*7c478bd9Sstevel@tonic-gateor http://www.opensolaris.org/os/licensing. 11*7c478bd9Sstevel@tonic-gateSee the License for the specific language governing permissions 12*7c478bd9Sstevel@tonic-gateand limitations under the License. 13*7c478bd9Sstevel@tonic-gate 14*7c478bd9Sstevel@tonic-gateWhen distributing Covered Code, include this CDDL HEADER in each 15*7c478bd9Sstevel@tonic-gatefile and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*7c478bd9Sstevel@tonic-gateIf applicable, add the following below this CDDL HEADER, with the 17*7c478bd9Sstevel@tonic-gatefields enclosed by brackets "[]" replaced with your own identifying 18*7c478bd9Sstevel@tonic-gateinformation: Portions Copyright [yyyy] [name of copyright owner] 19*7c478bd9Sstevel@tonic-gate 20*7c478bd9Sstevel@tonic-gateCDDL HEADER END 21*7c478bd9Sstevel@tonic-gate 22*7c478bd9Sstevel@tonic-gateCopyright 2000 Sun Microsystems, Inc. All rights reserved. 23*7c478bd9Sstevel@tonic-gateUse is subject to license terms. 24*7c478bd9Sstevel@tonic-gate 25*7c478bd9Sstevel@tonic-gateident "%Z%%M% %I% %E% SMI" 26*7c478bd9Sstevel@tonic-gate 27*7c478bd9Sstevel@tonic-gateSystem Call Files 28*7c478bd9Sstevel@tonic-gate------ ---- ----- 29*7c478bd9Sstevel@tonic-gate 30*7c478bd9Sstevel@tonic-gateThe universal dumping grounds for system calls in Solaris 2.x, 31*7c478bd9Sstevel@tonic-gatecommon/os/scalls.c and common/fs/vncalls.c, have been sub-divided into 32*7c478bd9Sstevel@tonic-gatesmaller files. 33*7c478bd9Sstevel@tonic-gate 34*7c478bd9Sstevel@tonic-gateThe old files had become quite large, and contained much completely 35*7c478bd9Sstevel@tonic-gateunrelated code. From a software engineering standpoint, it didn't seem 36*7c478bd9Sstevel@tonic-gatelike a good idea to permit system calls or underlying routines 37*7c478bd9Sstevel@tonic-gateto be cognizant of the internal interfaces and underlying routines 38*7c478bd9Sstevel@tonic-gateof unrelated system calls. 39*7c478bd9Sstevel@tonic-gate 40*7c478bd9Sstevel@tonic-gateFrom a practical standpoint, recompiling all of scalls.c or vncalls.c 41*7c478bd9Sstevel@tonic-gateafter making only a small change in one system call seemed like 42*7c478bd9Sstevel@tonic-gatecruel and unusual punishment. Also, running "bringover" after 43*7c478bd9Sstevel@tonic-gatechanging scalls.c or vncalls.c in one's own environment had a 44*7c478bd9Sstevel@tonic-gatehigh probability of encountering a conflict. 45*7c478bd9Sstevel@tonic-gate 46*7c478bd9Sstevel@tonic-gateIn an attempt to improve maintainability, we have split these files 47*7c478bd9Sstevel@tonic-gateand created new directories to hold the results. One hopes that this 48*7c478bd9Sstevel@tonic-gatenew organization will prove easier to maintain and change. 49*7c478bd9Sstevel@tonic-gate 50*7c478bd9Sstevel@tonic-gateThe principles listed below guided the split-up. Please try to adhere 51*7c478bd9Sstevel@tonic-gateto them if you add new system calls. 52*7c478bd9Sstevel@tonic-gate 53*7c478bd9Sstevel@tonic-gate 54*7c478bd9Sstevel@tonic-gate1) System calls now live in directories called "syscall". Architecture 55*7c478bd9Sstevel@tonic-gate independant system calls live in common/syscall and architecture 56*7c478bd9Sstevel@tonic-gate dependant system calls live in sparc/syscall or i86/syscall. 57*7c478bd9Sstevel@tonic-gate 58*7c478bd9Sstevel@tonic-gate2) Most system calls have their own separate file. We try to keep 59*7c478bd9Sstevel@tonic-gate these files as small as possible. 60*7c478bd9Sstevel@tonic-gate 61*7c478bd9Sstevel@tonic-gate3) Unrelated system calls should NEVER be put in the same file. Do 62*7c478bd9Sstevel@tonic-gate not consider any of these files "dumping grounds" for new system 63*7c478bd9Sstevel@tonic-gate call work. 64*7c478bd9Sstevel@tonic-gate 65*7c478bd9Sstevel@tonic-gate4) Some files DO contain more than one system call. This occurs 66*7c478bd9Sstevel@tonic-gate under the following restricted conditions: 67*7c478bd9Sstevel@tonic-gate 68*7c478bd9Sstevel@tonic-gate o System calls that are internally related, either because 69*7c478bd9Sstevel@tonic-gate they alone call a set of static functions to do the dirty 70*7c478bd9Sstevel@tonic-gate work, or because they access locally-defined static data. 71*7c478bd9Sstevel@tonic-gate The system calls in sigqueue.c and lwpsys.c are examples 72*7c478bd9Sstevel@tonic-gate of the first case; lwp_sobj.c is an example of the second. 73*7c478bd9Sstevel@tonic-gate 74*7c478bd9Sstevel@tonic-gate o Fairly trivial pairs of "get-" and "set-" operation system 75*7c478bd9Sstevel@tonic-gate calls. The file rlimit.c, containing getrlimit() and 76*7c478bd9Sstevel@tonic-gate setrlimit() is a case in point. 77*7c478bd9Sstevel@tonic-gate 78*7c478bd9Sstevel@tonic-gate o System calls that are basically "variations on a theme," 79*7c478bd9Sstevel@tonic-gate such as the the different forms of stat in stat.c. 80*7c478bd9Sstevel@tonic-gate 81*7c478bd9Sstevel@tonic-gate5) If a number of system calls make use of a local function, or, 82*7c478bd9Sstevel@tonic-gate if a function is used more widely than in a few system calls, 83*7c478bd9Sstevel@tonic-gate then perhaps this function needs to be moved to one of the 84*7c478bd9Sstevel@tonic-gate kernel-implementation files in common/os or common/fs. For 85*7c478bd9Sstevel@tonic-gate example, this was done with the functions namesetattr and 86*7c478bd9Sstevel@tonic-gate fdsetattr, which were used by several different system calls. 87*7c478bd9Sstevel@tonic-gate These functions were moved into common/os/fio.c, where they 88*7c478bd9Sstevel@tonic-gate seemed to fit better. 89*7c478bd9Sstevel@tonic-gate 90*7c478bd9Sstevel@tonic-gate------------------------------------------------------------------- 91*7c478bd9Sstevel@tonic-gateSystem Call Reorganization 92*7c478bd9Sstevel@tonic-gate------ ---- -------------- 93*7c478bd9Sstevel@tonic-gate 94*7c478bd9Sstevel@tonic-gateThe system calls in common/os/scalls.c, common/fs/vncalls.c 95*7c478bd9Sstevel@tonic-gatehave been broken up into smaller files. In addition, system 96*7c478bd9Sstevel@tonic-gatecalls that previously resided in <arch>/os/archdep.c have 97*7c478bd9Sstevel@tonic-gatebeen removed from that file. The table below describes the 98*7c478bd9Sstevel@tonic-gatemanner in which the files have been split up. 99*7c478bd9Sstevel@tonic-gate 100*7c478bd9Sstevel@tonic-gateThe original syscall files have not been deleted, but have been 101*7c478bd9Sstevel@tonic-gaterenamed to reflect their diminished contents. The file scalls.c 102*7c478bd9Sstevel@tonic-gatehas been renamed to ssig.c, and vncalls.c has been renamed to 103*7c478bd9Sstevel@tonic-gatepoll.c. 104*7c478bd9Sstevel@tonic-gate 105*7c478bd9Sstevel@tonic-gate 106*7c478bd9Sstevel@tonic-gateSyscall Entry Point Old File New File 107*7c478bd9Sstevel@tonic-gate------------------- --- ---- --- ---- 108*7c478bd9Sstevel@tonic-gategtime scalls.c common/syscall/time.c 109*7c478bd9Sstevel@tonic-gatestime scalls.c common/syscall/time.c 110*7c478bd9Sstevel@tonic-gate 111*7c478bd9Sstevel@tonic-gateadjtime scalls.c common/syscall/adjtime.c 112*7c478bd9Sstevel@tonic-gate 113*7c478bd9Sstevel@tonic-gatetimes scalls.c common/syscall/times.c 114*7c478bd9Sstevel@tonic-gate 115*7c478bd9Sstevel@tonic-gatesysconfig scalls.c common/syscall/sysconfig.c 116*7c478bd9Sstevel@tonic-gate 117*7c478bd9Sstevel@tonic-gatesetuid scalls.c common/syscall/uid.c 118*7c478bd9Sstevel@tonic-gategetuid scalls.c common/syscall/uid.c 119*7c478bd9Sstevel@tonic-gateseteuid scalls.c common/syscall/uid.c 120*7c478bd9Sstevel@tonic-gate 121*7c478bd9Sstevel@tonic-gatesetgid scalls.c common/syscall/gid.c 122*7c478bd9Sstevel@tonic-gategetgid scalls.c common/syscall/gid.c 123*7c478bd9Sstevel@tonic-gatesetegid scalls.c common/syscall/gid.c 124*7c478bd9Sstevel@tonic-gate 125*7c478bd9Sstevel@tonic-gategetpid scalls.c common/syscall/getpid.c 126*7c478bd9Sstevel@tonic-gate 127*7c478bd9Sstevel@tonic-gatesetgroups scalls.c common/syscall/groups.c 128*7c478bd9Sstevel@tonic-gategetgroups scalls.c common/syscall/groups.c 129*7c478bd9Sstevel@tonic-gate 130*7c478bd9Sstevel@tonic-gatesetpgrp scalls.c common/syscall/pgrpsys.c 131*7c478bd9Sstevel@tonic-gate 132*7c478bd9Sstevel@tonic-gatepause scalls.c common/syscall/pause.c 133*7c478bd9Sstevel@tonic-gate 134*7c478bd9Sstevel@tonic-gatessig scalls.c common/syscall/ssig.c 135*7c478bd9Sstevel@tonic-gate 136*7c478bd9Sstevel@tonic-gatesigtimedwait scalls.c common/syscall/sigtimedwait.c 137*7c478bd9Sstevel@tonic-gate 138*7c478bd9Sstevel@tonic-gatesigsuspend scalls.c common/syscall/sigsuspend.c 139*7c478bd9Sstevel@tonic-gate 140*7c478bd9Sstevel@tonic-gatesigaltstack scalls.c common/syscall/sigaltstack.c 141*7c478bd9Sstevel@tonic-gate 142*7c478bd9Sstevel@tonic-gatesigpending scalls.c common/syscall/sigpending.c 143*7c478bd9Sstevel@tonic-gate 144*7c478bd9Sstevel@tonic-gatesigprocmask scalls.c common/syscall/sigprocmask.c 145*7c478bd9Sstevel@tonic-gate 146*7c478bd9Sstevel@tonic-gatesigaction scalls.c common/syscall/sigaction.c 147*7c478bd9Sstevel@tonic-gate 148*7c478bd9Sstevel@tonic-gatekill scalls.c common/syscall/sigqueue.c 149*7c478bd9Sstevel@tonic-gatesigqueue scalls.c common/syscall/sigqueue.c 150*7c478bd9Sstevel@tonic-gate 151*7c478bd9Sstevel@tonic-gatesigsendsys scalls.c common/syscall/sigsendset.c 152*7c478bd9Sstevel@tonic-gate 153*7c478bd9Sstevel@tonic-gateprofil scalls.c common/syscall/profil.c 154*7c478bd9Sstevel@tonic-gate 155*7c478bd9Sstevel@tonic-gatealarm scalls.c common/syscall/alarm.c 156*7c478bd9Sstevel@tonic-gate 157*7c478bd9Sstevel@tonic-gateumask scalls.c common/syscall/umask.c 158*7c478bd9Sstevel@tonic-gate 159*7c478bd9Sstevel@tonic-gateulimit scalls.c common/syscall/rlimit.c 160*7c478bd9Sstevel@tonic-gategetrlimit scalls.c common/syscall/rlimit.c 161*7c478bd9Sstevel@tonic-gatesetrlimit scalls.c common/syscall/rlimit.c 162*7c478bd9Sstevel@tonic-gate 163*7c478bd9Sstevel@tonic-gateutssys scalls.c common/syscall/utssys.c 164*7c478bd9Sstevel@tonic-gate 165*7c478bd9Sstevel@tonic-gateuname scalls.c common/syscall/uname.c 166*7c478bd9Sstevel@tonic-gate 167*7c478bd9Sstevel@tonic-gateuadmin scalls.c common/syscall/uadmin.c 168*7c478bd9Sstevel@tonic-gate 169*7c478bd9Sstevel@tonic-gatesysteminfo scalls.c common/syscall/systeminfo.c 170*7c478bd9Sstevel@tonic-gate 171*7c478bd9Sstevel@tonic-gatesyslwp_create scalls.c common/syscall/lwp_create.c 172*7c478bd9Sstevel@tonic-gatesyslwp_exit scalls.c common/syscall/lwp_create.c 173*7c478bd9Sstevel@tonic-gate 174*7c478bd9Sstevel@tonic-gatesyslwp_syspend scalls.c common/syscall/lwpsys.c 175*7c478bd9Sstevel@tonic-gatesyslwp_continue scalls.c common/syscall/lwpsys.c 176*7c478bd9Sstevel@tonic-gatelwp_kill scalls.c common/syscall/lwpsys.c 177*7c478bd9Sstevel@tonic-gatelwp_wait scalls.c common/syscall/lwpsys.c 178*7c478bd9Sstevel@tonic-gate 179*7c478bd9Sstevel@tonic-gateyield scalls.c common/syscall/yield.c 180*7c478bd9Sstevel@tonic-gate 181*7c478bd9Sstevel@tonic-gatelwp_self scalls.c common/syscall/lwp_self.c 182*7c478bd9Sstevel@tonic-gate 183*7c478bd9Sstevel@tonic-gatelwp_info scalls.c common/syscall/lwp_info.c 184*7c478bd9Sstevel@tonic-gate 185*7c478bd9Sstevel@tonic-gatelwp_mutex_lock scalls.c common/syscall/lwp_sobj.c 186*7c478bd9Sstevel@tonic-gatelwp_mutex_unlock scalls.c common/syscall/lwp_sobj.c 187*7c478bd9Sstevel@tonic-gatelwp_cond_wait scalls.c common/syscall/lwp_sobj.c 188*7c478bd9Sstevel@tonic-gatelwp_cond_signal scalls.c common/syscall/lwp_sobj.c 189*7c478bd9Sstevel@tonic-gatelwp_cond_broadcast scalls.c common/syscall/lwp_sobj.c 190*7c478bd9Sstevel@tonic-gatelwp_sema_p scalls.c common/syscall/lwp_sobj.c 191*7c478bd9Sstevel@tonic-gatelwp_sema_v scalls.c common/syscall/lwp_sobj.c 192*7c478bd9Sstevel@tonic-gate 193*7c478bd9Sstevel@tonic-gateopen vncalls.c common/syscall/open.c 194*7c478bd9Sstevel@tonic-gatecreat vncalls.c common/syscall/open.c 195*7c478bd9Sstevel@tonic-gate 196*7c478bd9Sstevel@tonic-gateclose vncalls.c common/syscall/close.c 197*7c478bd9Sstevel@tonic-gate 198*7c478bd9Sstevel@tonic-gateread vncalls.c common/syscall/rw.c 199*7c478bd9Sstevel@tonic-gatewrite vncalls.c common/syscall/rw.c 200*7c478bd9Sstevel@tonic-gatepread vncalls.c common/syscall/rw.c 201*7c478bd9Sstevel@tonic-gatepwrite vncalls.c common/syscall/rw.c 202*7c478bd9Sstevel@tonic-gatereadv vncalls.c common/syscall/rw.c 203*7c478bd9Sstevel@tonic-gatewritev vncalls.c common/syscall/rw.c 204*7c478bd9Sstevel@tonic-gate 205*7c478bd9Sstevel@tonic-gatechdir vncalls.c common/syscall/chdir.c 206*7c478bd9Sstevel@tonic-gatefchdir vncalls.c common/syscall/chdir.c 207*7c478bd9Sstevel@tonic-gatechroot vncalls.c common/syscall/chdir.c 208*7c478bd9Sstevel@tonic-gatefchroot vncalls.c common/syscall/chdir.c 209*7c478bd9Sstevel@tonic-gate 210*7c478bd9Sstevel@tonic-gatemknod vncalls.c common/syscall/mknod.c 211*7c478bd9Sstevel@tonic-gatexmknod vncalls.c common/syscall/mknod.c 212*7c478bd9Sstevel@tonic-gate 213*7c478bd9Sstevel@tonic-gatemkdir vncalls.c common/syscall/mkdir.c 214*7c478bd9Sstevel@tonic-gate 215*7c478bd9Sstevel@tonic-gatelink vncalls.c common/syscall/link.c 216*7c478bd9Sstevel@tonic-gate 217*7c478bd9Sstevel@tonic-gaterename vncalls.c common/syscall/rename.c 218*7c478bd9Sstevel@tonic-gate 219*7c478bd9Sstevel@tonic-gatesymlink vncalls.c common/syscall/symlink.c 220*7c478bd9Sstevel@tonic-gate 221*7c478bd9Sstevel@tonic-gateunlink vncalls.c common/syscall/unlink.c 222*7c478bd9Sstevel@tonic-gate 223*7c478bd9Sstevel@tonic-gatermdir vncalls.c common/syscall/rmdir.c 224*7c478bd9Sstevel@tonic-gate 225*7c478bd9Sstevel@tonic-gategetdents vncalls.c common/syscall/getdents.c 226*7c478bd9Sstevel@tonic-gate 227*7c478bd9Sstevel@tonic-gatelseek vncalls.c common/syscall/lseek.c 228*7c478bd9Sstevel@tonic-gatellseek vncalls.c common/syscall/lseek.c 229*7c478bd9Sstevel@tonic-gate 230*7c478bd9Sstevel@tonic-gateaccess vncalls.c common/syscall/access.c 231*7c478bd9Sstevel@tonic-gate 232*7c478bd9Sstevel@tonic-gatestat vncalls.c common/syscall/stat.c 233*7c478bd9Sstevel@tonic-gatelstat vncalls.c common/syscall/stat.c 234*7c478bd9Sstevel@tonic-gatefstat vncalls.c common/syscall/stat.c 235*7c478bd9Sstevel@tonic-gatexstat vncalls.c common/syscall/stat.c 236*7c478bd9Sstevel@tonic-gatelxstat vncalls.c common/syscall/stat.c 237*7c478bd9Sstevel@tonic-gatefxstat vncalls.c common/syscall/stat.c 238*7c478bd9Sstevel@tonic-gate 239*7c478bd9Sstevel@tonic-gatefpathconf vncalls.c common/syscall/pathconf.c 240*7c478bd9Sstevel@tonic-gatepathconf vncalls.c common/syscall/pathconf.c 241*7c478bd9Sstevel@tonic-gate 242*7c478bd9Sstevel@tonic-gatereadlink vncalls.c common/syscall/readlink.c 243*7c478bd9Sstevel@tonic-gate 244*7c478bd9Sstevel@tonic-gatechmod vncalls.c common/syscall/chmod.c 245*7c478bd9Sstevel@tonic-gatefchmod vncalls.c common/syscall/chmod.c 246*7c478bd9Sstevel@tonic-gate 247*7c478bd9Sstevel@tonic-gatechown vncalls.c common/syscall/chown.c 248*7c478bd9Sstevel@tonic-gatelchown vncalls.c common/syscall/chown.c 249*7c478bd9Sstevel@tonic-gatefchown vncalls.c common/syscall/chown.c 250*7c478bd9Sstevel@tonic-gate 251*7c478bd9Sstevel@tonic-gateutime vncalls.c common/syscall/utime.c 252*7c478bd9Sstevel@tonic-gateutimes vncalls.c common/syscall/utime.c 253*7c478bd9Sstevel@tonic-gate 254*7c478bd9Sstevel@tonic-gatefdsync vncalls.c common/syscall/fdsync.c 255*7c478bd9Sstevel@tonic-gate 256*7c478bd9Sstevel@tonic-gatefcntl vncalls.c common/syscall/fcntl.c 257*7c478bd9Sstevel@tonic-gate 258*7c478bd9Sstevel@tonic-gatedup vncalls.c common/syscall/dup.c 259*7c478bd9Sstevel@tonic-gate 260*7c478bd9Sstevel@tonic-gateioctl vncalls.c common/syscall/ioctl.c 261*7c478bd9Sstevel@tonic-gatestty vncalls.c common/syscall/ioctl.c 262*7c478bd9Sstevel@tonic-gategtty vncalls.c common/syscall/ioctl.c 263*7c478bd9Sstevel@tonic-gate 264*7c478bd9Sstevel@tonic-gatepoll vncalls.c common/syscall/poll.c 265*7c478bd9Sstevel@tonic-gate 266*7c478bd9Sstevel@tonic-gateacl vncalls.c common/syscall/acl.c 267*7c478bd9Sstevel@tonic-gatefacl vncalls.c common/syscall/acl.c 268*7c478bd9Sstevel@tonic-gate 269*7c478bd9Sstevel@tonic-gatemount vfs.c common/syscall/mount.c 270*7c478bd9Sstevel@tonic-gate 271*7c478bd9Sstevel@tonic-gatestatfs vfs.c common/syscall/statfs.c 272*7c478bd9Sstevel@tonic-gatefstatfs vfs.c common/syscall/statfs.c 273*7c478bd9Sstevel@tonic-gate 274*7c478bd9Sstevel@tonic-gatestatvfs vfs.c common/syscall/statvfs.c 275*7c478bd9Sstevel@tonic-gatefstatvfs vfs.c common/syscall/statvfs.c 276*7c478bd9Sstevel@tonic-gate 277*7c478bd9Sstevel@tonic-gatesync vfs.c common/syscall/sync.c 278*7c478bd9Sstevel@tonic-gate 279*7c478bd9Sstevel@tonic-gatesysfs vfs.c common/syscall/sysfs.c 280*7c478bd9Sstevel@tonic-gate 281*7c478bd9Sstevel@tonic-gateumount vfs.c common/syscall/umount.c 282*7c478bd9Sstevel@tonic-gate 283*7c478bd9Sstevel@tonic-gatenice priocntl.c common/syscall/nice.c 284*7c478bd9Sstevel@tonic-gate 285*7c478bd9Sstevel@tonic-gatepipe os/pipe.c common/syscall/pipe.c 286*7c478bd9Sstevel@tonic-gate 287*7c478bd9Sstevel@tonic-gatemsgsys os/msg.c common/syscall/msg.c 288*7c478bd9Sstevel@tonic-gate 289*7c478bd9Sstevel@tonic-gatesemsys os/sem.c common/syscall/sem.c 290*7c478bd9Sstevel@tonic-gate 291*7c478bd9Sstevel@tonic-gateshmsys os/shm.c common/syscall/shm.c 292*7c478bd9Sstevel@tonic-gate 293*7c478bd9Sstevel@tonic-gategetcontext sparc/archdep.c sparc/syscall/getcontext.c 294*7c478bd9Sstevel@tonic-gatelwp_getprivate sparc/archdep.c sparc/syscall/lwp_private.c 295*7c478bd9Sstevel@tonic-gatelwp_setprivate sparc/archdep.c sparc/syscall/lwp_private.c 296*7c478bd9Sstevel@tonic-gate 297*7c478bd9Sstevel@tonic-gategetcontext i86/archdep.c i86/syscall/getcontext.c 298*7c478bd9Sstevel@tonic-gatelwp_getprivate i86/archdep.c i86/syscall/lwp_private.c 299*7c478bd9Sstevel@tonic-gatelwp_setprivate i86/archdep.c i86/syscall/lwp_private.c 300*7c478bd9Sstevel@tonic-gate 301*7c478bd9Sstevel@tonic-gate----------------------------------------------------------------- 302*7c478bd9Sstevel@tonic-gate 303*7c478bd9Sstevel@tonic-gateMost of the system calls in this directory have been converted 304*7c478bd9Sstevel@tonic-gateto use C-style argument passing, instead of the old uap-pointer 305*7c478bd9Sstevel@tonic-gatemethod. This usually makes the system calls faster and more 306*7c478bd9Sstevel@tonic-gate"natural" in implementation. 307