| #
6430fcd5 |
| 03-May-2020 |
thorpej <thorpej@NetBSD.org> |
Always clear FUTEX_PRIVATE_FLAG for Linux processes. NetBSD-native futexes exist in different namespace depending on FUTEX_PRIVATE_FLAG. This appears not to be the case in Linux, and some futex use
Always clear FUTEX_PRIVATE_FLAG for Linux processes. NetBSD-native futexes 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.
show more ...
|
| #
dab2e0b5 |
| 30-May-2011 |
alnsn <alnsn@NetBSD.org> |
Add fadvise64 and fadvise64_64 syscalls to compat_linux and compat_linux32.
|
| #
33fa5ccb |
| 07-Jul-2010 |
chs <chs@NetBSD.org> |
many changes for COMPAT_LINUX: - 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
many changes for COMPAT_LINUX: - 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.
show more ...
|
| #
7e5ac707 |
| 02-Feb-2008 |
dsl <dsl@NetBSD.org> |
Extract the fcntl64() suppoort from linux_file64.c into linux_fcntl64.c Unravel some of the knots that caused linux_file64.c to be compiled twice for an amd64 kernel (once for linux and once for linu
Extract the fcntl64() suppoort from linux_file64.c into linux_fcntl64.c Unravel some of the knots that caused linux_file64.c to be compiled twice for an amd64 kernel (once for linux and once for linux32) with different parts being skipped each time.
show more ...
|
| #
ad6aa2b0 |
| 30-Aug-2006 |
matt <matt@NetBSD.org> |
Update to deal with options PTRACE
|
| #
840887af |
| 31-Mar-2002 |
christos <christos@NetBSD.org> |
bring the reverse signal mapping array into linux_signo.c
|
| #
801da946 |
| 30-Sep-2001 |
manu <manu@NetBSD.org> |
Implements parts of sysmips() and fctnl64() emulation
|
| #
63d1ca84 |
| 22-Sep-2001 |
manu <manu@NetBSD.org> |
Initial support for running Linux binaries on the Mips. Both static and dynamic binaries work on 32 bit mips. Signals are completely broken yet, and ptrace is not supported.
|