summaryrefslogtreecommitdiff
path: root/sys/compat/linux/arch/arm
AgeCommit message (Collapse)Author
2021-12-02regenryo
2021-12-02add prlimit64(2) syscall to COMPAT_LINUX and COMPAT_LINUX32ryo
2021-11-26The internal architecture name of golang is "arm" or "arm64", which hasryo
different naming conventions from netbsd's machine[] or machine_arch[] ("earmv7", "aarch64", etc.) and cannot be used as is. Instead, use define LINUX_GO_RT0_SIGNATURE_ARCH{32,64}.
2021-11-26- LINUX_GO_RT0_SIGNATURE for compat_linux is no longer enabled by default.ryo
it is now defined in each arch same as the other *_SIGNATURE definitions. - add new LINUX32_GO_RT0_SIGNATURE for compat_linux32, and is defined in amd64 and aarch64.
2021-11-24regenryo
2021-11-24add getrandom(2) syscall entryryo
2021-10-12fix various typos, mainly in comments.andvar
2021-09-20Regen for preadv(2) / pwritev(2).thorpej
2021-09-20Add preadv(2) and pwritev(2) system calls to COMPAT_LINUX and COMPAT_LINUX32.thorpej
2021-09-20Regen for eventfd.thorpej
2021-09-20Add the eventfd system calls to COMPAT_LINUX and COMPAT_LINUX32.thorpej
2021-09-19Regen for timerfd.thorpej
2021-09-19Add the timerfd syscalls to COMPAT_LINUX and COMPAT_LINUX32.thorpej
2021-09-19Regen for POSIX timer syscalls.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.
2021-09-07sys/compat: Memset zero before copyout.riastradh
Just in case of uninitialized padding which would lead to kernel stack disclosure. If the compiler can prove the memset redundant then it can optimize it away; otherwise better safe than sorry.
2021-02-01G/C some old code that was for acorn26skrll
2020-05-23Move proc_lock into the data segment. It was dynamically allocated becausead
at the time we had mutex_obj_alloc() but not __cacheline_aligned.
2020-05-03Always clear FUTEX_PRIVATE_FLAG for Linux processes. NetBSD-native futexesthorpej
exist in different namespace depending on FUTEX_PRIVATE_FLAG. This appears not to be the case in Linux, and some futex users will mix private and non- private ops on the same futex object. Provide a convenience wrapper that puts this logic in one place witn a comment explaining why. While here, move the Linux futex wrapper out of its own file and plop it in linux_misc.c, which is where it lives in the linux32 module.
2020-04-26Regen for native futex calls.thorpej
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-09regenjdolecek
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
2018-08-10Regenpgoyette
2018-01-26union was removedchristos
2018-01-24Remove port-acorn26skrll
OK core@
2017-08-28Remove the filesystem tracing featurekamil
This is a legacy interface from 4.4BSD, and it was introduced to overcome shortcomings of ptrace(2) at that time, which are no longer relevant (performance). Today /proc/#/ctl offers a narrow subset of ptrace(2) commands and is not applicable for modern applications use beyond simplistic tracing scenarios. This removal will simplify kernel internals. Users will still be able to use all the other /proc files. This change won't affect other procfs files neither Linux compat features within mount_procfs(8). /proc/#/ctl isn't available on Linux. Remove: - /proc/#/ctl from mount_procfs(8) - P_FSTRACE note from the documentation of ps(1) - /proc/#/ctl and filesystem tracing documentation from mount_procfs(8) - KAUTH_REQ_PROCESS_PROCFS_CTL documentation from kauth(9) - source code file miscfs/procfs/procfs_ctl.c - PFSctl and procfs_doctl() from sys/miscfs/procfs/procfs.h - KAUTH_REQ_PROCESS_PROCFS_CTL from sys/sys/kauth.h - PSL_FSTRACE (0x00010000) from sys/sys/proc.h - P_FSTRACE (0x00010000) from sys/sys/sysctl.h Reduce code complexity after removal of this functionality. Update TODO.ptrace accordingly: remove two entries about /proc tracing. Do not keep legacy notes as comments in the headers about removed PSL_FSTRACE / P_FSTRACE, as this interface had little number of users (close or equal to zero). Proposed on tech-kern@. All filesystem tracing utility users are encouraged to switch to ptrace(2). Sponsored by <The NetBSD Foundation>
2017-05-10regenriastradh
2017-02-12es_arglen is now in units of bytes, update the emulations accordingly.chs
2017-02-03regenchristos
2017-02-03add send recv mmsg and unimplchristos
XXX: fix base?
2017-02-03Regen for accept4martin
2017-02-03Add accept4 definitionsmartin
2017-01-16regen allchristos
2017-01-15regenchristos
2017-01-15regenchristos
2017-01-15regenchristos
2017-01-15Cast pointer to int via intptr_tmartin
2017-01-13regenchristos
2017-01-02Regen (something apparently went wrong in previous)martin
2017-01-02Regenmanu
2017-01-02Add pselect6 Linux system call.manu
This lets Matlab R2016A run on NetBSD/amd64
2016-07-24Regen for readlink/readlinkat signatures.njoly
2016-07-24Small cleanup. Adjust readlink/readlinkat signatures to reduce diffs withnjoly
native.
2015-10-13Don't release proc_lock until we're done looking at things that arepgoyette
protected by the lock, particularly p_stat and p_waited. Found by Robert Elz. XXX Pullup to NetBSD-7, -6, -6-0, and -6-1
2015-03-23Regenozaki-r
2015-03-23Add linux_systrace_args.c for armozaki-r
2015-03-23Regenozaki-r
2015-03-23Fix inconsistent argument namesozaki-r
2015-03-14Support Linux MAP_LOCKED mmap flag.njoly