AMD64

Syscall Compatibility Reference Documentation for AMD64

This table is a reference of Linux syscalls for the AMD64 architecture and their compatibility status in gVisor. gVisor does not support all syscalls and some syscalls may have a partial implementation.

Of 329 syscalls, 47 syscalls have a full or partial implementation. There are currently 51 unimplemented syscalls. 231 syscalls are not yet documented.

# Name Support GitHub Issue Notes
68 msgget Unimplemented Returns ENOSYS
69 msgsnd Unimplemented Returns ENOSYS
70 msgrcv Unimplemented Returns ENOSYS
71 msgctl Unimplemented Returns ENOSYS
122 setfsuid Unimplemented Returns ENOSYS
123 setfsgid Unimplemented Returns ENOSYS
134 uselib Unimplemented Returns ENOSYS; Obsolete
135 personality Partial Returns EINVAL; Unable to change personality
136 ustat Unimplemented Returns ENOSYS; Needs filesystem support
139 sysfs Unimplemented Returns ENOSYS
142 sched_setparam Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_nice; ENOSYS otherwise
148 sched_rr_get_interval Partial Returns EPERM
153 vhangup Partial Returns EPERM
154 modify_ldt Partial Returns EPERM
155 pivot_root Partial Returns EPERM
156 sysctl Partial Returns EPERM
159 adjtimex Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_time; ENOSYS otherwise
163 acct Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_pacct; ENOSYS otherwise
164 settimeofday Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_time; ENOSYS otherwise
167 swapon Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_admin; ENOSYS otherwise
168 swapoff Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_admin; ENOSYS otherwise
169 reboot Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_boot; ENOSYS otherwise
172 iopl Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_rawio; ENOSYS otherwise
173 ioperm Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_rawio; ENOSYS otherwise
174 create_module Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_module; ENOSYS otherwise
175 init_module Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_module; ENOSYS otherwise
176 delete_module Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_module; ENOSYS otherwise
177 get_kernel_syms Unimplemented Returns ENOSYS; Not supported in > 2.6
178 query_module Unimplemented Returns ENOSYS; Not supported in > 2.6
179 quotactl Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_admin; ENOSYS otherwise
180 nfsservctl Unimplemented Returns ENOSYS; Does not exist > 3.1
181 getpmsg Unimplemented Returns ENOSYS; Not implemented in Linux
182 putpmsg Unimplemented Returns ENOSYS; Not implemented in Linux
183 afs_syscall Unimplemented Returns ENOSYS; Not implemented in Linux
184 tuxcall Unimplemented Returns ENOSYS; Not implemented in Linux
185 security Unimplemented Returns ENOSYS; Not implemented in Linux
187 readahead Unimplemented Returns ENOSYS
188 setxattr Partial Returns ENOTSUP; Requires filesystem support
189 lsetxattr Partial Returns ENOTSUP; Requires filesystem support
190 fsetxattr Partial Returns ENOTSUP; Requires filesystem support
191 getxattr Partial Returns ENOTSUP; Requires filesystem support
192 lgetxattr Partial Returns ENOTSUP; Requires filesystem support
193 fgetxattr Partial Returns ENOTSUP; Requires filesystem support
194 listxattr Partial Returns ENOTSUP; Requires filesystem support
195 llistxattr Partial Returns ENOTSUP; Requires filesystem support
196 flistxattr Partial Returns ENOTSUP; Requires filesystem support
197 removexattr Partial Returns ENOTSUP; Requires filesystem support
198 lremovexattr Partial Returns ENOTSUP; Requires filesystem support
199 fremovexattr Partial Returns ENOTSUP; Requires filesystem support
205 set_thread_area Unimplemented Returns ENOSYS; Expected to return ENOSYS on 64-bit
211 get_thread_area Unimplemented Returns ENOSYS; Expected to return ENOSYS on 64-bit
212 lookup_dcookie Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_admin; ENOSYS otherwise
214 epoll_ctl_old Unimplemented Returns ENOSYS; Deprecated
215 epoll_wait_old Unimplemented Returns ENOSYS; Deprecated
216 remap_file_pages Unimplemented Returns ENOSYS; Deprecated
220 semtimedop Unimplemented Returns ENOSYS
236 vserver Unimplemented Returns ENOSYS; Not implemented by Linux
237 mbind Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_nice; ENOSYS otherwise
240 mq_open Unimplemented Returns ENOSYS
241 mq_unlink Unimplemented Returns ENOSYS
242 mq_timedsend Unimplemented Returns ENOSYS
243 mq_timedreceive Unimplemented Returns ENOSYS
244 mq_notify Unimplemented Returns ENOSYS
245 mq_getsetattr Unimplemented Returns ENOSYS
248 add_key Partial Returns EACCES; Not available to user
249 request_key Partial Returns EACCES; Not available to user
250 keyctl Partial Returns EACCES; Not available to user
251 ioprio_set Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_admin; ENOSYS otherwise
252 ioprio_get Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_admin; ENOSYS otherwise
256 migrate_pages Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_nice; ENOSYS otherwise
273 set_robust_list Unimplemented Returns ENOSYS; Obsolete
274 get_robust_list Unimplemented Returns ENOSYS; Obsolete
275 splice Unimplemented Returns ENOSYS
276 tee Unimplemented Returns ENOSYS
278 vmsplice Unimplemented Returns ENOSYS
279 move_pages Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_nice; ENOSYS otherwise
282 signalfd Unimplemented Returns ENOSYS
289 signalfd4 Unimplemented Returns ENOSYS
298 perf_event_open Partial Returns ENODEV; No support for perf counters
300 fanotify_init Unimplemented Returns ENOSYS; Needs CONFIG_FANOTIFY
301 fanotify_mark Unimplemented Returns ENOSYS; Needs CONFIG_FANOTIFY
303 name_to_handle_at Partial Returns EOPNOTSUPP; Needs filesystem support
304 open_by_handle_at Partial Returns EOPNOTSUPP; Needs filesystem support
305 clock_adjtime Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_module; ENOSYS otherwise
308 setns Unimplemented Returns ENOSYS
310 process_vm_readv Unimplemented Returns ENOSYS
311 process_vm_writev Unimplemented Returns ENOSYS
312 kcmp Partial Returns EPERM or ENOSYS; Requires cap_sys_ptrace
313 finit_module Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_module; ENOSYS otherwise
314 sched_setattr Unimplemented Returns ENOSYS
315 sched_getattr Unimplemented Returns ENOSYS
316 renameat2 Unimplemented Returns ENOSYS
319 memfd_create Unimplemented Returns ENOSYS
321 bpf Partial Returns EPERM or ENOSYS; Returns EPERM if the process does not have cap_sys_boot; ENOSYS otherwise
322 execveat Unimplemented Returns ENOSYS
323 userfaultfd Unimplemented Returns ENOSYS
324 membarrier Unimplemented Returns ENOSYS
326 copy_file_range Unimplemented Returns ENOSYS