#
ffe0b410 |
| 10-Aug-2018 |
pgoyette <pgoyette@NetBSD.org> |
Allow syscall_establish() to install new syscalls when the existing entry-point is either sys_nomodule or sys_nosys. Update the makesyscalls.sh script to create a const array of bits to allow syscal
Allow syscall_establish() to install new syscalls when the existing entry-point is either sys_nomodule or sys_nosys. Update the makesyscalls.sh script to create a const array of bits to allow syscall_disestablish() to properly restore the original entry-point. Update all the initializers of struct emul to initialize the pointer to the bit array struct emul.
XXX Regen of all files created by makesyscalls.sh will come soon, XXX followed by a kernel version bump (since struct emul is being XXX modified).
This commit should address PR kern/45781 and also removes the need for the work-around for that PR in file
sys/arch/usermode/modules/syscallemu/syscallemu.c
show more ...
|
#
e017aec5 |
| 12-Aug-2017 |
maxv <maxv@NetBSD.org> |
Remove vm86.
Pass 3.
|
#
167d4f41 |
| 07-Mar-2015 |
christos <christos@NetBSD.org> |
adjust to new trace_{enter,exit} and dtrace
|
#
9064f65d |
| 28-Sep-2011 |
christos <christos@NetBSD.org> |
syscall (setcontext) can alter eax, so don't attempt to get code again from it in order to avoid register spills.
|
#
3c2bd91e |
| 21-Nov-2009 |
rmind <rmind@NetBSD.org> |
Use lwp_getpcb() on x86 MD code, clean from struct user usage.
|
#
d1b01a37 |
| 21-Oct-2008 |
ad <ad@NetBSD.org> |
Provide a small inline wrapper for sysent::sy_call() and use it to store the active syscall description in struct lwp. To be used at some future point to prevent unloading of modules that provide sys
Provide a small inline wrapper for sysent::sy_call() and use it to store the active syscall description in struct lwp. To be used at some future point to prevent unloading of modules that provide syscalls, while the syscalls are in use.
show more ...
|
#
a9327b33 |
| 21-Oct-2008 |
ad <ad@NetBSD.org> |
Undo revivesa damage to userret().
|
#
fc7511b0 |
| 15-Oct-2008 |
wrstuden <wrstuden@NetBSD.org> |
Merge wrstuden-revivesa into HEAD.
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
30abe394 |
| 24-Apr-2008 |
ad <ad@NetBSD.org> |
- Retire SYCALL_MPSAFE. With the exceptions of darwin and irix emulations, all system calls are now MPSAFE. - Remove unneeded acquire/release of kernel_lock.
|
#
a108a15f |
| 11-Mar-2008 |
ad <ad@NetBSD.org> |
Make context switch + syscall counters optionally per-CPU and accumulate in schedclock() at "about 16 hz".
|
#
5546b335 |
| 24-Feb-2008 |
dsl <dsl@NetBSD.org> |
Set p->p_trace_enabled in fork and whenever the controlling falgs change instead of doing it in syscall_intern(). Note that syscall_intern() must still be called when the flags change since many port
Set p->p_trace_enabled in fork and whenever the controlling falgs change instead of doing it in syscall_intern(). Note that syscall_intern() must still be called when the flags change since many ports use a different copy of the syscall entry code when tracing is enabled.
show more ...
|
#
c2a8c787 |
| 06-Feb-2008 |
dsl <dsl@NetBSD.org> |
Remove the 'args' parameter to 'trace_exit()' it is no longer used. Instead of passing the (un)real system call code and syscall table pointer, just pass the number of arguments - which is what ktrac
Remove the 'args' parameter to 'trace_exit()' it is no longer used. Instead of passing the (un)real system call code and syscall table pointer, just pass the number of arguments - which is what ktrace really wants. Ride forthcoming 4.99.53
show more ...
|
#
b8bcdbe9 |
| 05-Jan-2008 |
dsl <dsl@NetBSD.org> |
Don't pass 'curlwp' into trace_enter() and trace_exit().
|
#
0acba075 |
| 20-Dec-2007 |
dsl <dsl@NetBSD.org> |
Kill syscall fancy. Optimise matching native code.
|
#
b07ec3fc |
| 09-Feb-2007 |
ad <ad@NetBSD.org> |
Merge newlock2 to head.
|
#
2b79369c |
| 19-Jul-2006 |
ad <ad@NetBSD.org> |
- Hold a reference to the process credentials in each struct lwp. - Update the reference on syscall and user trap if p_cred has changed. - Collect accounting flags in the LWP, and collate on LWP exit.
|
#
61dd49d3 |
| 07-Mar-2006 |
thorpej <thorpej@NetBSD.org> |
Syscall debug tracing is handled by trace_enter() / trace_exit(). Change trace_is_enabled() to return TRUE if SYSCALL_DEBUG is defined, and g/c all of the SYSCALL_DEBUG handling from individual syst
Syscall debug tracing is handled by trace_enter() / trace_exit(). Change trace_is_enabled() to return TRUE if SYSCALL_DEBUG is defined, and g/c all of the SYSCALL_DEBUG handling from individual system call dispatch routines.
show more ...
|
#
be8b2353 |
| 07-Mar-2006 |
thorpej <thorpej@NetBSD.org> |
Clean up fallout proc_is_traced_p() change: - proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and trace_exit(). - trace_is_enabled() becomes a real function. - Remove unnecessary i
Clean up fallout proc_is_traced_p() change: - proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and trace_exit(). - trace_is_enabled() becomes a real function. - Remove unnecessary include files from various files that used to care about KTRACE and SYSTRACE, but do no more.
show more ...
|
#
beea4fc3 |
| 05-Mar-2006 |
christos <christos@NetBSD.org> |
Add a proc_is_traced_p() macro and use it, instead of copying the same code in many places. Idea from thorpej.
|
#
d20904bb |
| 05-Mar-2006 |
yamt <yamt@NetBSD.org> |
make these compile w/o SYSTRACE.
|
#
a4495f4c |
| 05-Mar-2006 |
christos <christos@NetBSD.org> |
implement PT_SYSCALL
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
50d15861 |
| 01-Jul-2005 |
martin <martin@NetBSD.org> |
Delete now unused "bad" label
|
#
6d30dcee |
| 01-Jul-2005 |
christos <christos@NetBSD.org> |
PR/29607: Christian Biere systrace doesn't handle interrupted syscalls properly Instead of jumping to the default "bad" case, jump to the error handling switch, so that we can deal with ERESTART/EJUS
PR/29607: Christian Biere systrace doesn't handle interrupted syscalls properly Instead of jumping to the default "bad" case, jump to the error handling switch, so that we can deal with ERESTART/EJUSTRETURN properly.
show more ...
|