203f84dccebf89b7c35fcf705c2a354123cab719
[kopensolaris-gnu/glibc.git] / sysdeps / unix / sysv / solaris2 / kopensolaris-gnu / syscalls.list
1 # File name Caller Syscall name Args Strong name Weak names
2
3 #
4 # these implement libc functions directly
5 #
6
7 acct                - acct                  i:s         acct
8 acctctl             - acctctl               i:ipi       acctctl
9 acl                 - acl                   i:siip      acl
10 clock_getres        - clock_getres          i:ip        clock_getres
11 creat               - creat                 Ci:si       __libc_creat        creat
12 facl                - facl                  i:iiip      facl
13 fpathconf           - fpathconf             i:ii        __fpathcon          fpathconf
14 fstatvfs            - fstatvfs              i:ip        __fstatvfs          fstatvfs
15 fstatvfs64          - fstatvfs64            i:ip        __fstatvfs64        fstatvfs64
16 getcpuid            - getcpuid              i:          getcpuid
17 getpflags           - privsys:getpflags     i:i         getpflags
18 getmsg              - getmsg                Ri:ppp      getmsg
19 getpmsg             - getpmsg               i:pppp      getpmsg
20 getpagesizes        - getpagesizes:getpagesizes2  i:pi  __getpagesizes      getpagesizes getpagesizes2
21 getpgid             - pgrpsys:getpgid       i:i         __getpgid           getpgid
22 getpgrp             - pgrpsys:getpgrp       i:          __getpgrp           getpgrp
23 getprojid           - tasksys:getprojid     i:          getprojid
24 getrlimit64         - getrlimit64           i:ip        getrlimit64
25 getsid              - pgrpsys:getsid        i:i         __getsid            getsid
26 gettaskid           - tasksys:gettaskid     i:          gettaskid
27 getustack           - context:getustack     i:p         getustack
28 getvmusage          - rusagesys:getvmusage  i:iipp      getvmusage
29 gtty                - gtty                  i:ip        gtty
30 idmap_reg           - sidsys:idmap_reg      i:i         idmap_reg
31 idmap_unreg         - sidsys:idmap_unreg    i:i         idmap_unreg
32 ioctl               - ioctl                 Ri:iiI      __ioctl             ioctl
33 issetugid           - privsys:issetugid     Ei:         issetugid
34 lchown              - lchown                i:sii       __lchown            lchown
35 memcntl             - memcntl               i:piiiii    memcntl
36 mincore             - mincore               i:anV       mincore
37 modctl              - modctl                i:ip        modctl
38 mmap64              - mmap64                i:piiiii    __mmap64            mmap64
39 mount               - mount                 i:ppippipi  __mount             mount
40 nanosleep           - nanosleep             Ci:pP       __libc_nanosleep    __nanosleep nanosleep
41 pathconf            - pathconf              i:pi        __pathconf          pathconf
42 pcsample            - pcsample              i:pi        pcsample
43 ppoll               - pollsys               RCi:pipp    ppoll
44 pread               - pread                 RCi:iPii    __libc_pread        __pread pread
45 pread64             - pread64               Ci:iPii     __libc_pread64      __pread64 pread64
46 profil              - profil                :piii       __profil            profil
47 pwrite              - pwrite                RCi:iPii    __libc_pwrite       __pwrite pwrite
48 pwrite64            - pwrite64              RCi:iPii    __libc_pwrite64     __pwrite64 pwrite64
49 read                - read                  RCi:ibn     __libc_read         __read read
50 readv               - readv                 RCi:ipi     __readv             readv
51 resolvepath         - resolvepath           i:spi       resolvepath
52 sched_yield         - yield                 i:          __sched_yield       sched_yield
53 setcontext          - context:setcontext    i:p         __setcontext        setcontext
54 setpgid             - pgrpsys:setpgid       i:ii        __setpgid           setpgid
55 setpgrp             - pgrpsys:setpgrp       i:          __setpgrp           setpgrp
56 setpflags           - privsys:setpflags     i:ii        setpflags
57 setrlimit64         - setrlimit64           i:ip        setrlimit64
58 setsid              - pgrpsys:setsid        i:          __setsid            setsid
59 setustack           - context:setustack     i:p         setustack
60 shmat               - shmsys:shmat          p:ipi       shmat
61 shmctl              - shmsys:shmctl         i:iip       shmctl
62 shmdt               - shmsys:shmdt          i:p         shmdt
63 shmget              - shmsys:shmget         i:iii       shmget
64 sigaltstack         - sigaltstack           i:PP        __sigaltstack       sigaltstack
65 sigfillset          - sigpending:sigfillset i:P         __sigfillset        sigfillset
66 sigpending          - sigpending:sigpending i:p         sigpending
67 sigsendset          - sigsendsys            i:pi        sigsendset
68 sockconfig          - sockconfig            i:iiis      _sockconfig         sockconfig
69 statvfs             - statvfs               i:sp        __statvfs           statvfs
70 statvfs64           - statvfs64             i:sp        __statvfs64         statvfs64
71 stty                - stty                  i:ip        stty
72 sysfs               - sysfs                 i:iii       sysfs
73 systeminfo          - systeminfo            i:ipi       sysinfo
74 swapctl             - uadmin:swapctl        i:ip        swapctl
75 uadmin              - uadmin                i:iii       __uadmin            uadmin
76 umount2             - umount2               i:si        umount2
77 utssys              - utssys                i:piip      utssys
78 uucopy              - uucopy                i:ppi       uucopy
79 uucopystr           - uucopystr             i:ppi       uucopystr
80 vhangup             - vhangup               i:          vhangup
81 waitid              - waitid                RCi:iipi    __waitid            waitid
82 write               - write                 RCi:ibn     __libc_write        __write write
83 writev              - writev                RCi:ipi     __writev            writev
84
85 # msg
86 msgctl              - msgsys:msgctl         i:iip       __msgctl            msgctl
87 msgget              - msgsys:msgget         i:ii        __msgget            msgget
88 msgrcv              - msgsys:msgrcv         Ci:ipiii    __libc_msgrcv       msgrcv
89 msgsnd              - msgsys:msgsnd         Ci:ipii     __msgsnd            msgsnd
90
91 # exacctsys
92 getacct             - exacctsys:getacct     i:iipi      getacct
93 putacct             - exacctsys:putacct     i:iipii     putacct
94 wracct              - exacctsys:wracct      i:iii       wracct
95
96 # *at
97 faccessat           - fsat:accessat         i:isi       faccessat
98 fchownat            - fsat:fchownat         i:isiii     fchownat
99 futimesat           - fsat:futimesat        i:isi       futimesat
100 renameat            - fsat:renameat         i:isis      renameat
101 unlinkat            - fsat:unlinkat         i:isi       unlinkat
102
103 # ntp
104 ntp_adjtime         - ntp_adjtime           i:p         __adjtimex          adjtimex ntp_adjtime __adjtimex_internal
105 ntp_gettime         - ntp_gettime           i:p         ntp_gettime
106
107 # sem
108 semctl              - semsys:semctl         i:iiiv      semctl
109 semget              - semsys:semget         i:iii       semget
110 semop               - semsys:semop          i:ipi       semop
111 semtimedop          - semsys:semtimedop     i:ipip      semtimedop
112
113 # corectl
114 core_get_default_content    - corectl:core_get_default_content  i:p core_get_default_content
115 core_get_default_path   - corectl:core_get_default_path i:pi    core_get_default_path
116 core_get_global_content - corectl:core_get_global_content   i:p     core_get_global_content
117 core_get_global_path    - corectl:core_get_global_path  i:pi    core_get_global_path
118 core_get_options    - corectl:core_get_options  i:      core_get_options
119 core_get_process_content    - corectl:core_get_process_content  i:pi    core_get_process_content
120 core_get_process_path   - corectl:core_get_process_path i:pii   core_get_process_path
121 core_set_default_content    - corectl:core_set_default_content  i:p core_set_default_content
122 core_set_default_path   - corectl:core_set_default_path i:pi    core_set_default_path
123 core_set_global_content - corectl:core_set_global_content   i:p core_set_global_content
124 core_set_global_path    - corectl:core_set_global_path  i:pi    core_set_global_path
125 core_set_options    - corectl:core_set_options  i:i     core_set_options
126 core_set_process_content    - corectl:core_set_process_content  i:pi    core_set_process_content
127 core_set_process_path   - corectl:core_set_process_path i:pii   core_set_process_path
128
129 # zones
130 zone_add_datalink   - zone:zone_add_datalink i:is       zone_add_datalink
131 zone_boot           - zone:zone_boot        i:i         zone_boot
132 zone_check_datalink - zone:zone_check_datalink  i:ps    zone_check_datalink
133 zone_destroy        - zone:zone_destroy     i:i         zone_destroy
134 zone_enter          - zone:zone_enter       i:i         zone_enter
135 zone_getattr        - zone:zone_getattr     i:iipi      zone_getattr
136 zone_list           - zone:zone_list        i:pp        zone_list
137 zone_list_datalink  - zone:zone_list_datalink   i:ipp   zone_list_datalink
138 zone_remove_datalink - zone:zone_del_datalink i:s       zone_remove_datalink
139 zone_setattr        - zone:zone_setattr     i:iipi      zone_setattr
140 zone_shutdown       - zone:zone_shutdown    i:i         zone_shutdown
141 zone_version        - zone:zone_version     i:p         zone_version
142
143 # processor
144 p_online            - p_online              i:ii        p_online
145 processor_bind      - processor_bind        i:iiip      processor_bind
146 processor_info      - processor_info        i:ip        processor_info
147 pset_create         - pset:pset_create      i:p         pset_create
148 pset_destroy        - pset:pset_destroy     i:i         pset_destroy
149 pset_assign         - pset:pset_assign      i:iip       pset_assign
150 pset_info           - pset:pset_info        i:ippp      pset_info
151 pset_bind           - pset:pset_bind        i:iiip      pset_bind
152 pset_list           - pset:pset_list        i:pp        pset_list
153 pset_setattr        - pset:pset_setattr     i:ii        pset_setattr
154 pset_getattr        - pset:pset_getattr     i:ip        pset_getattr
155
156 # sockets
157 _so_accept          - accept                Ci:iBN      _so_accept
158 _so_bind            - bind                  i:ipii      _so_bind
159 _so_connect         - connect               Ci:ipi      _so_connect
160 _so_getpeername     - getpeername           i:ibNi      _so_getpeername
161 _so_getsockname     - getsockname           i:ibNi      _so_getsockname
162 _so_getsockopt      - getsockopt            i:iiiBNi    _so_getsockopt
163 _so_listen          - listen                i:iii       _so_listen
164 recv                - recv                  RCi:ibni    __libc_recv         __recv recv _so_recv
165 recvfrom            - recvfrom              RCi:ibniBN  __libc_recvfrom     __recvfrom recvfrom _so_recvfrom
166 _so_recvmsg         - recvmsg               RCi:ipi     _so_recvmsg
167 _so_send            - send                  RCi:ibni    _so_send
168 _so_sendmsg         - sendmsg               RCi:ipi     _so_sendmsg
169 _so_sendto          - sendto                RCi:ibnibn  _so_sendto
170 _so_setsockopt      - setsockopt            i:iiibn     _so_setsockopt
171 _so_shutdown        - shutdown              i:iii       _so_shutdown
172 _so_socket          - so_socket             i:iiipi     _so_socket
173 _so_socketpair      - so_socketpair         i:p         _so_socketpair
174
175 # misc
176 _sysconfig          - sysconfig             i:i         _sysconfig
177 is_system_labeled   - labelsys:syslabeling  i:          is_system_labeled
178
179 #
180 # implement these in helper files
181 #
182
183 sys_access          - access                i:si        __syscall_access
184 sys_allocids        - sidsys:allocids       i:iii       __syscall_allocids
185 sys_brk             - brk                   i:p         __syscall_brk
186 sys_fcntl           - fcntl                 Ri:iiF      __syscall_fcntl
187 sys_fdsync          - fdsync                Ci:ii       __syscall_fdsync
188 sys_forkx           - forksys:forkx         i:i         __syscall_forkx
189 sys_fstat           - fstat                 i:ip        __syscall_fstat
190 sys_fstat64         - fstat64               i:ip        __syscall_fstat64
191 sys_fstatat         - fsat:fstatat          i:ispi      __syscall_fstatat
192 sys_fstatat64       - fsat:fstatat64        i:ispi      __syscall_fstatat64
193 sys_door            - door                  i:iiiiii    __syscall_door
194 sys_getcontext      - context:getcontext    i:p         __syscall_getcontext
195 sys_getcwd          - getcwd                i:pi        __syscall_getcwd
196 sys_getdents        - getdents              i:ipi       __syscall_getdents
197 sys_getdents64      - getdents64            i:ipi       __syscall_getdents64
198 sys_getloadavg      - getloadavg            i:pi        __syscall_getloadavg
199 sys_getpeerucred    - ucredsys:getpeerucred i:ip        __syscall_getpeerucred
200 sys_lstat           - lstat                 i:sp        __syscall_lstat
201 sys_lstat64         - lstat64               i:sp        __syscall_lstat64
202 sys_lwp_private     - lwp_private           i:iii       __syscall_lwp_private
203 sys_lwp_sigmask     - lwp_sigmask           Ei:iii      __syscall_lwp_sigmask
204 sys_meminfo         - meminfosys:meminfo    i:ip        __syscall_meminfo
205 sys_mknod           - mknod                 i:sii       __syscall_mknod
206 sys_open            - open                  i:siv       __syscall_open
207 sys_open64          - open64                i:pii       __syscall_open64
208 sys_openat          - fsat:openat           i:isiv      __syscall_openat
209 sys_openat64        - fsat:openat64         i:isiv      __syscall_openat64
210 sys_pipe            - pipe                  i:          __syscall_pipe
211 sys_port            - port                  i:i         __syscall_port
212 sys_priocntlsys     - priocntlsys           i:ipiv      __syscall_priocntlsys
213 sys_privsys         - privsys               i:iipii     __syscall_privsys
214 sys_pset_getloadavg - pset:pset_getloadavg  i:ipi       __syscall_pset_getloadavg
215 sys_putmsg          - putmsg                Ri:ippi     __syscall_putmsg
216 sys_putpmsg         - putpmsg               i:ippii     __syscall_putpmsg
217 sys_rctlsys         - rctlsys               i:ipppii    __syscall_rctlsys
218 sys_rusagesys       - rusagesys             i:ip        __syscall_rusagesys
219 sys_sendfilev       - sendfilev:sendfilev   i:ipip      __syscall_sendfilev
220 sys_sendfilev64     - sendfilev:sendfilev64 i:ipip      __syscall_sendfilev64
221 sys_settaskid       - tasksys:settaskid     i:ii        __syscall_settaskid
222 sys_sigaction       - sigaction             i:iPP       __syscall_sigaction
223 sys_sigqueue        - sigqueue              i:iiPii     __syscall_sigqueue
224 sys_sigtimedwait    - sigtimedwait          Ci:pPP      __syscall_sigtimedwait
225 sys_stat            - stat                  i:sp        __syscall_stat
226 sys_stat64          - stat64                i:sp        __syscall_stat64
227 sys_stime           - stime                 i:i         __syscall_stime
228 sys_time            - time                  i:          __syscall_time
229 sys_ucred_get       - ucredsys:ucred_get    i:ip        __syscall_ucred_get
230 sys_uname           - uname                 i:p         __syscall_uname
231 sys_utimes          - utimes                i:sp        __syscall_utimes
232 sys_utssys          - utssys                i:piiP      __syscall_utssys
233 sys_zone_create     - zone:zone_create      i:p         __syscall_zone_create
234 sys_zone_lookup     - zone:zone_lookup      i:p         __syscall_zone_lookup