#
8f021900 |
| 02-Dec-2021 |
ryo <ryo@NetBSD.org> |
add prlimit64(2) syscall to COMPAT_LINUX and COMPAT_LINUX32
|
#
41aa5859 |
| 07-Sep-2021 |
riastradh <riastradh@NetBSD.org> |
sys/compat: Memset zero before copyout.
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 awa
sys/compat: Memset zero before copyout.
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.
show more ...
|
#
511ffdeb |
| 22-Sep-2012 |
joerg <joerg@NetBSD.org> |
LINUX_RLIM_INFINITY doesn't fit into the value range for linux32, so introduce a variant with correct value.
|
#
92ce8c6a |
| 19-Nov-2008 |
ad <ad@NetBSD.org> |
Make the emulations, exec formats, coredump, NFS, and the NFS server into modules. By and large this commit:
- shuffles header files and ifdefs - splits code out where necessary to be modular - adds
Make the emulations, exec formats, coredump, NFS, and the NFS server into modules. By and large this commit:
- shuffles header files and ifdefs - splits code out where necessary to be modular - adds module glue for each of the components - adds/replaces hooks for things that can be installed at runtime
show more ...
|
#
2fedf4a0 |
| 22-Sep-2008 |
njoly <njoly@NetBSD.org> |
Kill a few linux32 syscalls identical to netbsd32 ones. No functional changes expected.
|
#
7e2790cf |
| 20-Dec-2007 |
dsl <dsl@NetBSD.org> |
Convert all the system call entry points from: 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
Convert all the system call entry points from: 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.
show more ...
|
#
28bae79b |
| 08-Dec-2007 |
dsl <dsl@NetBSD.org> |
ANSIfy most of the function definitions in sys/compat (but not ndis). All by the magic of sed ...
|
#
8beba9d0 |
| 12-May-2007 |
dsl <dsl@NetBSD.org> |
There is no need to use the stackgap for get/setrlimit.
|
#
d364d308 |
| 18-Mar-2007 |
dsl <dsl@NetBSD.org> |
Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
b07ec3fc |
| 09-Feb-2007 |
ad <ad@NetBSD.org> |
Merge newlock2 to head.
|
#
b7432513 |
| 25-Jun-2006 |
manu <manu@NetBSD.org> |
- Complete exit_group() implementation. We now maintain a list of Linux threads in a processes and kill them properly. The code is a bit too complicated, but I could not find a simplier way of dealin
- Complete exit_group() implementation. We now maintain a list of Linux threads in a processes and kill them properly. The code is a bit too complicated, but I could not find a simplier way of dealing with it
- Change getpid() and getppid() semantics to match what Linux does, and implement gettid(). In the Linux kernel, threads are implemnted as plain old processes. A thread group is just a set of processes, with the parent called leader. Thread ID, which are returned by gettid(), are just the PID of the plain old processes, and getpid() returns the PID of the thread group leader.
- Remove struct linux32_emuldata. COMPAT_LINUX32 uses a lot of COMPAT_LINUX code, where a struct linux_emuldata is assumed. By having distinct emuldata structure with different sizes and layouts, we caused kernel memory corruptions.
- Fix setprioriry() and getpriority()
Thanks to Nicolas Joly for tracking down the problem and providing me the hardware to fix them.
show more ...
|
#
ee0c5b44 |
| 09-Feb-2006 |
manu <manu@NetBSD.org> |
Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so that the i386 license manager part of amd64 version of Fluent works.
While I'm here, add SysV IPC to COMPAT_LINUX/amd64
|