| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-02-12 | fix typo in the include guard definition. | andvar | |
| 2021-12-02 | regen | ryo | |
| 2021-12-02 | add prlimit64(2) syscall to COMPAT_LINUX and COMPAT_LINUX32 | ryo | |
| 2021-09-20 | Regen for preadv(2) / pwritev(2). | thorpej | |
| 2021-09-20 | Add preadv(2) and pwritev(2) system calls to COMPAT_LINUX and COMPAT_LINUX32. | thorpej | |
| 2021-09-20 | Regen for eventfd. | thorpej | |
| 2021-09-20 | Add the eventfd system calls to COMPAT_LINUX and COMPAT_LINUX32. | thorpej | |
| 2021-09-19 | Regen for timerfd. | thorpej | |
| 2021-09-19 | Add the timerfd syscalls to COMPAT_LINUX and COMPAT_LINUX32. | thorpej | |
| 2021-09-19 | Regen for POSIX timer syscalls. | thorpej | |
| 2021-09-19 | Add the POSIX timer syscalls (timer_create(), timer_settime(), timer_gettime(), | thorpej | |
| timer_getoverrun(), and timer_delete()) to COMPAT_LINUX and COMPAT_LINUX32. | |||
| 2021-09-07 | sys/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. | |||
| 2020-10-06 | make MAXTSIZ optional | christos | |
| 2020-09-03 | The conversion of FPU tracking to PCU rendered the fpcurlwp variable | thorpej | |
| unmaintained, which broke FP status info in the COMPAT_LINUX sigcontext. Use the new API, which will at least be closer to correct. | |||
| 2020-05-03 | Always clear FUTEX_PRIVATE_FLAG for Linux processes. NetBSD-native futexes | thorpej | |
| 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-26 | Regen for native futex calls. | thorpej | |
| 2020-04-26 | Add a NetBSD native futex implementation, mostly written by riastradh@. | thorpej | |
| Map the COMPAT_LINUX futex calls to the native ones. | |||
| 2019-11-09 | regen | jdolecek | |
| 2019-11-09 | add 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 | |||
| 2019-04-06 | Overhaul the API used to fetch and store individual memory cells in | thorpej | |
| userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(), subyte(), suword(), etc.) are retired and replaced with new ufetch(9) and ustore(9) APIs that can return proper error codes, etc. and are implemented consistently across all platforms. The interrupt-safe variants are no longer supported (and several of the existing attempts at fuswintr(), etc. were buggy and not actually interrupt-safe). Also augmement the ucas(9) API, making it consistently available on all plaforms, supporting uniprocessor and multiprocessor systems, even those that do not have CAS or LL/SC primitives. Welcome to NetBSD 8.99.37. | |||
| 2019-03-26 | make this compile again. | christos | |
| 2019-03-24 | regen | maxv | |
| 2019-03-24 | Remove Alpha's compat_linux dependency on compat_osf1. Each function is | maxv | |
| copied as-is from compat_osf1 with no functional change. Discussed on tech-kern@, ok @thorpej. | |||
| 2018-08-10 | Regen | pgoyette | |
| 2017-12-26 | Refactor pipe1() and correct a bug in sys_pipe2() (SYS_pipe2) | kamil | |
| sys_pipe2() returns two integers (values), the 2nd one is a copy of the 2nd file descriptor that lands in fildes[2]. This is a side effect of reusing the code for sys_pipe() (SYS_pipe) and not cleaning it up. The first returned value is (on success) 0. Introduced a small refactoring in pipe1() that it does not operate over retval[], but on an array int[2]. A user sets retval[] for pipe() when desired and needed. This refactoring touches compat code: netbsd32, linux, linux32. Before the changes on NetBSD/amd64: $ ktruss -i ./a.out [...] 15131 1 a.out pipe2(0x7f7fff2e62b8, 0) = 0, 4 [...] After the changes: $ ktruss -i ./a.out [...] 782 1 a.out pipe2(0x7f7fff97e850, 0) = 0 [...] There should not be a visible change for current users. Sponsored by <The NetBSD Foundation> | |||
| 2017-05-10 | regen | riastradh | |
| 2017-02-12 | es_arglen is now in units of bytes, update the emulations accordingly. | chs | |
| 2017-02-03 | regen | christos | |
| 2017-02-03 | add send/recv mmsg and comment on the unimpl ones. | christos | |
| 2017-02-03 | Regen for accept4 | martin | |
| 2017-02-03 | Add accept4 definitions | martin | |
| 2017-01-16 | regen all | christos | |
| 2017-01-13 | regen | christos | |
| 2017-01-02 | Regen (something apparently went wrong in previous) | martin | |
| 2017-01-02 | Regen | manu | |
| 2017-01-02 | Add pselect6 Linux system call. | manu | |
| This lets Matlab R2016A run on NetBSD/amd64 | |||
| 2016-07-24 | Regen for readlink/readlinkat signatures. | njoly | |
| 2016-07-24 | Small cleanup. Adjust readlink/readlinkat signatures to reduce diffs with | njoly | |
| native. | |||
| 2015-11-14 | PR/50428: Rin Okuyama: support SA_RESTORER flag for rt_sigaction(2) in the | christos | |
| ports that support it. | |||
| 2015-10-25 | Regen for posix chown family cleanup. | njoly | |
| 2015-10-25 | Cleanup posix chown family syscalls to match native (alpha, mips and | njoly | |
| powerpc). | |||
| 2015-09-24 | regen | christos | |
| 2015-03-14 | Support Linux MAP_LOCKED mmap flag. | njoly | |
| 2015-03-07 | regen | christos | |
| 2014-11-22 | Regen for ppoll signature fix | njoly | |
| 2014-11-22 | Fix ppoll signature (int ->u_int) | njoly | |
| 2014-11-09 | Do not uselessly include <sys/malloc.h>. | maxv | |
| 2014-06-25 | Add a few missing open(2) flags (LINUX_O_*). Fix alpha wrong values. | njoly | |
| 2014-06-01 | Cleanup pipe(2) flags, now that native handle them. | njoly | |
| 2014-05-29 | Regen for utimes(2) change. | njoly | |
