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