summaryrefslogtreecommitdiff
path: root/sys/compat/linux/arch/amd64/syscalls.master
AgeCommit message (Collapse)Author
2021-12-02add prlimit64(2) syscall to COMPAT_LINUX and COMPAT_LINUX32ryo
2021-09-20Add preadv(2) and pwritev(2) system calls to COMPAT_LINUX and COMPAT_LINUX32.thorpej
2021-09-20Add the eventfd system calls to COMPAT_LINUX and COMPAT_LINUX32.thorpej
2021-09-19Add the timerfd syscalls to COMPAT_LINUX and COMPAT_LINUX32.thorpej
2021-09-19Add the POSIX timer syscalls (timer_create(), timer_settime(), timer_gettime(),thorpej
timer_getoverrun(), and timer_delete()) to COMPAT_LINUX and COMPAT_LINUX32.
2020-04-26Add a NetBSD native futex implementation, mostly written by riastradh@.thorpej
Map the COMPAT_LINUX futex calls to the native ones.
2019-11-09add dummy implementation of linux fallocate() which just returns EOPNOTSUPP;jdolecek
this is needed so that glibc falls back to emulation and apps behaving properly, since EOPNOTSUPP is a documented and expected return code, but ENOSYS is not right now there are no filesystems in NetBSD tree supporting the fallocate VOP, so no point trying to map this to a native call supposed to help with problem reported in https://mail-index.netbsd.org/tech-kern/2019/11/03/msg025641.html
2017-02-03add sendmmsg and recvmmsgchristos
2017-02-02implement accept4christos
XXX: mips looks busted (the syscalls file has lots of NOARGS syscalls that should be STD).
2017-01-02Add pselect6 Linux system call.manu
This lets Matlab R2016A run on NetBSD/amd64
2016-07-24Small cleanup. Adjust readlink/readlinkat signatures to reduce diffs withnjoly
native.
2015-10-27Fix setuid/setgid return type (void -> int) to match native.njoly
2015-05-31Fix write(2) size argument (int -> size_t).njoly
2015-03-07fix inconsistent nameschristos
2014-11-22Fix ppoll signature (int ->u_int)njoly
2014-05-31Fix munmap(2) signature.njoly
2014-05-29For utimes(2), use compat_50_sys_utimes() instead of local version.njoly
2014-05-20Fix getgroups/setgroups signature.njoly
2014-05-17Fix fadvise64 syscalls to use 64bit offset types.njoly
2014-05-04Fix pread/pwrite syscalls which need a 64bit offset argument.njoly
2014-04-08Adjust read/write/readv/writev signature to match native versions.njoly
2013-12-08Sprinkle a few more linux_umode_t where appropriate.njoly
Reduce diffs between archs.
2013-11-18implement the *at() syscalls.chs
bring the unimplemented syscall list up to date.
2013-11-07Fix dup/dup2/dup3 argument types (u_int -> int).njoly
2013-09-24Add utimensat(2) for compat linux.njoly
2013-04-08support utimes on non-alpha linux platformspooka
2012-09-19emulate ppoll which is essentially our polltspooka
2011-11-18add sigtimedwaitchristos
2011-07-09revert accidental commit from unrelated change. no custom linux fork.christos
2011-07-09the first argument of {g,s}etitimer() is int not u_int.christos
2011-05-30Add fadvise64 and fadvise64_64 syscalls to compat_linux and compat_linux32.alnsn
2011-04-10add pipe2 and dup3christos
2010-07-07many changes for COMPAT_LINUX:chs
- update the linux syscall table for each platform. - support new-style (NPTL) linux pthreads on all platforms. clone() with CLONE_THREAD uses 1 process with many LWPs instead of separate processes. - move the contents of sys__lwp_setprivate() into a new lwp_setprivate() and use that everywhere. - update linux_release[] and linux32_release[] to "2.6.18". - adjust placement of emul fork/exec/exit hooks as needed and adjust other emul code to match. - convert all struct emul definitions to use named initializers. - change the pid allocator to allow multiple pids to refer to the same proc. - remove a few fields from struct proc that are no longer needed. - disable the non-functional "vdso" code in linux32/amd64, glibc works fine without it. - fix a race in the futex code where we could miss a wakeup after a requeue operation. - redo futex locking to be a little more efficient.
2009-11-24Update personality(2) to match Linux definition where the argument is annjoly
unsigned long.
2009-10-30stat64 syscalls require struct linux_stat64.njoly
2009-06-17Add a new linux_msghdr structure, as its size differs on 64bit archs.njoly
Do the needed conversions in sendmsg/recvmsg syscalls, and adjust their definitions accordingly.
2009-06-08Update rt_queueinfo(2) definition, and kill a corresponding comment.njoly
2009-01-17Convert linux/linux32 wait(4) to use a compat50 rusage structure.njoly
2009-01-15Update some syscalls/arguments to use the new compat50 equivalents.njoly
2009-01-13Convert the syscalls.master to a format from which it is easierpooka
to parse and generate the compat name and basename (e.g. __stat50 and stat). Use this to autogenerate __RENAME()'s to the rump_syscalls header so that they can be called e.g. rump_sys_socket() instead of rump_sys___socket30().
2009-01-11merge christos-time_tchristos
2008-11-19futex(2) timeout argument cleanup/fix.njoly
- Use `struct linux_timespec', converted to native structure. - Ensure that provided values are correct. - Replace timeval+tvtohz by tstohz.
2008-11-12Fix nanosleep(2) on 64-bit archs. Do not call native nanosleepnjoly
syscall, but rather a modified version the will take care of `struct timespec' conversions.
2008-10-26catch up with i386 changes.christos
2008-04-04Cleanup. Kill linux_sys_msync and use sys___msync13 instead.njoly
No functional changes expected.
2007-12-24Kill unneeded linux_sys_getpgid and use native sys_getpgid instead.njoly
2007-12-21- Fix setfsuid to return uid on success.njoly
- Replace getfsuid, which never existed on Linux, by correct setfsgid syscall. ok by christos and dsl.
2007-12-20Convert all the system call entry points from:dsl
int foo(struct lwp *l, void *v, register_t *retval) to: int foo(struct lwp *l, const struct foo_args *uap, register_t *retval) Fixup compat code to not write into 'uap' and (in some cases) to actually pass a correctly formatted 'uap' structure with the right name to the next routine. A few 'compat' routines that just call standard ones have been deleted. All the 'compat' code compiles (along with the kernels required to test build it). 98% done by automated scripts.
2007-11-16Cleanup. Remove a few linux syscalls definitions, now identical tonjoly
native ones (with stackgap and ALT_CHECK_xxx removal). No functional changes expected.
2007-03-14Fix compat linux statfs/fstatfs syscalls on amd64.njoly
- Do not use statfs64/fstatfs64 as they have an extra size argument. - Add full 64bit linux struct statfs support. ok by manu