summaryrefslogtreecommitdiff
path: root/sys/compat/netbsd32/syscalls.master
AgeCommit message (Collapse)Author
2021-09-20Add the eventfd(2) system call to COMPAT_NETBSD32.thorpej
2021-09-20Add timerfd system calls to COMPAT_NETBSD32.thorpej
2020-10-10Teach about getrandom(2) to COMPAT_NETBSD32.rin
2020-05-16Add ACL support for FFS. From FreeBSD.christos
2020-04-26Mirror the change made to native -- move futex calls to 166-168.thorpej
2020-04-26Add a NetBSD native futex implementation, mostly written by riastradh@.thorpej
Map the COMPAT_LINUX futex calls to the native ones.
2020-04-22Remove _lwp_gettid(2) system call. This problem is going to be solvedthorpej
another way. (Note: this call was never exposed in libc, so we can just recycle the syscall number.)
2020-04-04Add support for lazily generating a "global thread ID" for a LWP. Thisthorpej
identifier uniquely identifies an LWP across the entire system, and will be used in future improvements in user-space synchronization primitives. (Test disabled and libc stub not included intentionally so as to avoid multiple libc version bumps.)
2020-03-12Split out the quota code from the rest of compat_netbsd32 module. Thispgoyette
allows loading of compat_netbsd32 on kernels that don't have ``options QUOTA'' enabled.
2020-03-07Properly mark netbsd32_compat_43 syscalls that are directly implementedpgoyette
by calling their compat_43 equivalents. With these changes, and with built-in versions of COMPAT_NETBSD32, COMPAT_NOMID, and COMPAT_09, I can now run a netbsd-0.9 statically linked i386 (32-bit) version of /bin/ls on a 9.99.x amd64 host! Addresses PR kern/55047 but more changes coming to handle non-built-in modules. XXX pullup-9
2020-01-18Catch up after getpid/getgid/getuid changes in native ABI in 2008kamil
getpid(), getuid() and getgid() used to call respectively sys_getpid(), sys_getuid() and sys_getgid(). In the BSD4.3 compat mode there was a fallback to call sys_getpid_with_ppid() and related functions. In 2008 the compat ifdef was removed in sys/kern/syscalls.master r. 1.216. For purity reasons we probably shall restore the NetBSD original behavior and implement BSD4.3 one as a compat module, however it is not worth the complexity. Align the netbsd32 compat ABI to native ABI and call functions that return two integers as in BSD4.3.
2019-11-04netbsd32_size_t should be used instead of size_t for argument ofrin
32-bit syscalls: - netbsd32___getvfsstat90: bufsize - netbsd32___fhstatvfs190: fh_size No need to pullup, since these syscalls were introduced after branch of netbsd-9.
2019-11-04For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t.rin
Since bufsize is the last argument, this affects only LP64EB. XXX pullup to netbsd-9, -8, and -7
2019-09-22Add a new member to struct vfsstat and grow the unused memberschristos
The new member is caled f_mntfromlabel and it is the dkw_wname of the corresponding wedge. This is now used by df -W to display the mountpoint name as NAME=
2019-06-18Add ifdef for quota and include the syscall numbers headerchristos
2019-06-18use option quotachristos
2019-01-27Merge the [pgoyette-compat] branchpgoyette
2018-12-24move mmap(), compat 40 mount(), pipe() and getfh() into their own filesmrg
as the implementation is non trivial or is compat. mark old mount() properly instead of manually #if'ing ito to ENOSYS.
2018-07-31Add getsockopt2().rjs
2018-07-12Remove the kernel PMC code. Sent yesterday on tech-kern@.maxv
This change: * Removes "options PERFCTRS", the associated includes, and the associated ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is good. * Removes the PMC code of ARM XSCALE. * Removes all the pmc.h files. They were all empty, except for ARM XSCALE. * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The definitions are put in sysarch.h. * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control and sys_pmc_get_info syscalls. They are marked as OBSOL in kern, netbsd32 and rump. * Removes the pmc_evid_t and pmc_ctr_t types. * Removes all the associated man pages. The sets are marked as obsolete.
2018-05-10add {send,recv}mmsgchristos
2018-01-06Revert vadvise(2) removalkamil
This system call was used in legacy Lisp code, that was inherited to modern age and still compiled against supported compat layers (e.g. in clisp, oaklisp, Franz Lisp). It used to instruct the kernel about paging policy (G/C aware, flush etc). Newly compiled code (assuming that it will detect vadvise()) will use the libc stub for vadvise(). The headers for this interface are gone. vadvise(2) could be marked as COMPAT_80, but as long as we support ultrix, sunos or aout68k ABI, don't bother with this. Requested by <mrg>
2017-12-19Drop SYS_vadvisekamil
The (o)vadvise syscall is dummy since the beginning of NetBSD. It is an obsolete remnant from the old UNIX. Sponsored by <The NetBSD Foundation>
2017-12-19Drop SYS_sbrkkamil
sbrk - change data segment size This syscall is dummy since the inception of the project. Sponsored by <The NetBSD Foundation>
2017-12-19Drop the sstk(2) syscall stubkamil
sstk - change stack section size This functionality has never been implemented and is a remnant from 16-bit UNIX. This stub appeared with the first NetBSD commit. Sponsored by <The NetBSD Foundation>
2017-12-19Sync syscalls.master in compat_netbsd32(8) with kern/syscalls.masterkamil
___lwp_part60 removed 'const' from the ts argument. 'const struct timespec *ts' -> 'struct timespec *ts' Sponsored by <The NetBSD Foundation>
2016-10-19PR kern/51514: ptrace(2) fails for 32-bit process on 64-bit kernelskrll
Updated from the original patch in the PR by me.
2016-09-23Add wait6 and clock_getcpuclockid2skrll
2016-09-10Add _sched_protectskrll
2015-12-03Split out the SYSV IPC stuff into its own compat_netbsd32_sysvipcpgoyette
module. Adjust dependencies as needed.
2015-12-01Prepare for new compat_netbsd32_mqueue module to be split out ofpgoyette
compat_netbsd32. Refactor the COMPAT_50 code related to mqueue, and update the syscall definitions. Remove dependency on mqueue from the compat_netbsd32 module (the new module will gain this dependency). Continuation of work on PR kern/50489
2015-12-01Mark the nfssvc syscall as auto-loadable from the compat_netbsd32_nfssrvpgoyette
module (to be committed shortly).
2015-06-23Don't reference netbsd32_nfssvc unless NFSSERVER is defined.dholland
Fixes PR 49994.
2015-06-22add netbsd32 support for nfssvc(2). we do this by defining 5 copyin/outmrg
functions that do all the ugly work, are just plain copyin/out for the native system calls, and do the necessary translations for netbsd32. with this i'm able to run 32 bit nfsd and mountd on 64 bit kernel and mount the file systems remotely.
2015-06-21Add pset_* callsmartin
2015-06-21Cosmetics: fill in details about some currently unimplemented syscalls.martin
2015-06-21Add the two versioned mq_* calls I missed in the last roundmartin
2015-06-20Add sigqueuinfo, modctl and mq_*.martin
2015-06-16Add posix_fallocate and fdiscardmartin
2015-02-25readlinkat returns ssize_tchristos
2014-06-13Rename argument like the native syscall.joerg
2014-05-15Fix setcontext signature, which has a single argument not three.njoly
2014-04-30Do not use native off_t type under compat netbsd32, but a newnjoly
netbsd32_off_t that provide the expected alignment for 64bit types.
2013-10-17Change mknodat(2) device argument type from uint32_t to dev_t.njoly
Adds needed extra PAD argument for 64bit alignment, and libc wrapper.
2013-03-29compat glue for new lwp_parkchristos
2012-10-02kernel portion of clock_nanosleep()christos
2012-04-08Rework posix_spawn locking and memory management:martin
- always provide a vmspace for the new proc, initially borrowing from proc0 (this part fixes PR 46286) - increase parallelism between parent and child if arguments allow this, avoiding a potential deadlock on exec_lock - add a new flag for userland to request old (lockstepped) behaviour for better error reporting - adapt test cases to the previous two and add a new variant to test the diagnostics flag - fix a few memory (and lock) leaks - provide netbsd32 compat
2012-03-10P1003_1B_SEMAPHORE is no longer optional.joerg
2012-03-08Add entry for _ksem_timedwait.joerg
2012-02-19Make SA calls obsolete (use stubs in kern case, as libc needs them for now).rmind