#
eaddd780 |
| 23-Nov-2009 |
rmind <rmind@NetBSD.org> |
Use lwp_getpcb() in compat code, clean from struct user.
|
#
d22e6f64 |
| 29-May-2009 |
njoly <njoly@NetBSD.org> |
Add native to linux siginfo si_status translation, used on i386 and amd64.
|
#
9fca5da6 |
| 15-Mar-2009 |
cegger <cegger@NetBSD.org> |
ansify function definitions
|
#
d7732b5c |
| 19-Oct-2008 |
njoly <njoly@NetBSD.org> |
Add native to linux siginfo si_code translation, mostly for negative values. Adjust amd64 and i386 accordingly, not sure about aother archs i can't test.
|
#
2c98237d |
| 09-Oct-2008 |
njoly <njoly@NetBSD.org> |
Fix linux32 siginfo si_signo value. Do not convert ksi_signo twice.
|
#
95ffbb8b |
| 18-Sep-2008 |
christos <christos@NetBSD.org> |
Define a PSL_CLEARSIG macro for the psl flags to be cleared on signal delivery and use it everywhere.
|
#
284c2b9a |
| 24-Apr-2008 |
ad <ad@NetBSD.org> |
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since we no longer need to guard against access from hardware interrupt handlers.
Additionally, if cloning a process with CLONE_S
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since we no longer need to guard against access from hardware interrupt handlers.
Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the child process share the parent's lock so that signal state may be kept in sync. Partially addresses PR kern/37437.
show more ...
|
#
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 ...
|
#
f2af9174 |
| 04-Dec-2007 |
dsl <dsl@NetBSD.org> |
Remove all the __P
|
#
37145284 |
| 24-Nov-2007 |
christos <christos@NetBSD.org> |
- move the save context before the signal reset (Arto Huusko) - set the sigcontext cr2
|
#
a2a38285 |
| 19-Oct-2007 |
ad <ad@NetBSD.org> |
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
#
c61eed39 |
| 21-May-2007 |
christos <christos@NetBSD.org> |
rename si_sigval -> si_value to match POSIX RTS.
|
#
d364d308 |
| 18-Mar-2007 |
dsl <dsl@NetBSD.org> |
Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).
|
#
a065e516 |
| 16-Mar-2007 |
dsl <dsl@NetBSD.org> |
remove all the double (and triple) casts used to convert 32bit userspace pointers to and from 64bit kernel pointers. Instead use the defines NETBSD32PTR64(p32) to read a 32bit pointer and (the new)
remove all the double (and triple) casts used to convert 32bit userspace pointers to and from 64bit kernel pointers. Instead use the defines NETBSD32PTR64(p32) to read a 32bit pointer and (the new) NETBSD32PTR32(p32,p64) to write a 32bit pointer throughout. The 32bit pointer is now a struct to enforce the above. amd64 (with linux emul) and sparc64 will both compile (when the arch stuff goes in soon), and amd64 still runs some i386 binaries.
show more ...
|
#
033371b0 |
| 05-Mar-2007 |
christos <christos@NetBSD.org> |
fix caddr_t lossage
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
934634a1 |
| 17-Feb-2007 |
pavel <pavel@NetBSD.org> |
Change the process/lwp flags seen by userland via sysctl back to the P_*/L_* naming convention, and rename the in-kernel flags to avoid conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LS
Change the process/lwp flags seen by userland via sysctl back to the P_*/L_* naming convention, and rename the in-kernel flags to avoid conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD constant.
Restores source compatibility with pre-newlock2 tools like ps or top.
Reviewed by Andrew Doran.
show more ...
|
#
12460dec |
| 15-Feb-2007 |
ad <ad@NetBSD.org> |
Fix COMPAT_LINUX32.
|
#
b07ec3fc |
| 09-Feb-2007 |
ad <ad@NetBSD.org> |
Merge newlock2 to head.
|
#
91ad430f |
| 22-Nov-2006 |
christos <christos@NetBSD.org> |
adjust_limits takes p, not l again
|
#
1882355e |
| 21-Nov-2006 |
christos <christos@NetBSD.org> |
From Nicolas Joly:
> It seems that 32bits programs, running under compat_netbsd32, using > setrlimit force all other programs to have their maximum data size > fixed at 3GB, where native 64bits apps
From Nicolas Joly:
> It seems that 32bits programs, running under compat_netbsd32, using > setrlimit force all other programs to have their maximum data size > fixed at 3GB, where native 64bits apps used 8GB previously.
I tracked this one to the `netbsd32_adjust_limits()' function (called when creating a new process under compat_netbsd32), where data and stack limits are set without checking for shared `p_limit' structure (p_limit->p_refcnt > 1). This explain the side effect where processes have their limits changed when a compat_netbsd32 (or compat_linux32) program is run.
The fix is to use `dosetrlimit()' to ensure the needed copy-on-write behaviour for shared structure.
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
|