#
da22d5f8 |
| 21-Apr-2022 |
andvar <andvar@NetBSD.org> |
s/substract/subtract/ in comments and error message. s/obtainted/obtained/ in one comment.
|
#
2300b856 |
| 07-Nov-2021 |
thorpej <thorpej@NetBSD.org> |
Add a comment describing why we give carte blanche to processes marked as PK_32. NFC.
|
#
eb96f2eb |
| 01-Nov-2021 |
thorpej <thorpej@NetBSD.org> |
Use "stack_t" instead of "struct sigaltstack", as the former is the newer standardized name. NFC.
|
#
8fb7a60d |
| 27-Oct-2021 |
thorpej <thorpej@NetBSD.org> |
- In sendsig() and sigaction1(), don't hard-code signal trampoline versions. Instead, use the version constants from <sys/signal.h> and automatically (and correctly) handle cases where multiple
- In sendsig() and sigaction1(), don't hard-code signal trampoline versions. Instead, use the version constants from <sys/signal.h> and automatically (and correctly) handle cases where multiple versions of a particular trampoline flavor exist. Conditionalize support for sigcontext trampolines on __HAVE_STRUCT_SIGCONTEXT. - aarch64 and amd64 don't use sigcontext natively, but do need to support it for 32-bit compatibility; define __HAVE_STRUCT_SIGCONTEXT conditionally on _KERNEL.
show more ...
|
#
1ceb4b76 |
| 23-Sep-2021 |
ryo <ryo@NetBSD.org> |
Since trampoline ABI ver0 is also used in other emulation environments (e.g. linux emulation), checking (emul->e_sigobject != NULL) to determine if it is allowed or not.
|
#
14b4bbb2 |
| 23-May-2020 |
ad <ad@NetBSD.org> |
Move proc_lock into the data segment. It was dynamically allocated because at the time we had mutex_obj_alloc() but not __cacheline_aligned.
|
#
743fbdcd |
| 10-Nov-2019 |
pgoyette <pgoyette@NetBSD.org> |
Convert the sendsig_sigcontext_16 function pointer to use the new compat_hook mechanism.
XXX Despite being a kernel<-->module abi change, this should be XXX pulled up to -9
|
#
7e85dc5e |
| 09-Nov-2019 |
pgoyette <pgoyette@NetBSD.org> |
If we need to handle old-version signals, load the version-specific "compat_16" module. There is no longer a monolithic "compat" module!
XXX pullup-9 needed
|
#
0c937f2d |
| 08-Sep-2019 |
maxv <maxv@NetBSD.org> |
Introduce sigaction_copy(), to copy sigaction structures without padding, and use it in sigaction1(). This is to fix info leaks all at once in the signal functions.
|
#
b7e05799 |
| 01-Dec-2018 |
maxv <maxv@NetBSD.org> |
Fix kernel info leak, 4 bytes of padding in struct _ksiginfo. Maybe we should just set _pad to zero on LP64?
+ Possible info leak: [len=40, leaked=4] | #0 0xffffffff80baf397 in kleak_copyout | #1
Fix kernel info leak, 4 bytes of padding in struct _ksiginfo. Maybe we should just set _pad to zero on LP64?
+ Possible info leak: [len=40, leaked=4] | #0 0xffffffff80baf397 in kleak_copyout | #1 0xffffffff80bda817 in sigtimedwait1 | #2 0xffffffff80bdab95 in sys_____sigtimedwait50 | #3 0xffffffff80259c42 in syscall
show more ...
|
#
1d1c8bde |
| 04-Aug-2016 |
christos <christos@NetBSD.org> |
Realtime signal support from GSoC 2016, Charles Cui.
|
#
dda7b471 |
| 02-Oct-2015 |
christos <christos@NetBSD.org> |
Change SDT (Statically Defined Tracing) probes to use link sets so that it is easier to add probes. (From FreeBSD)
|
#
1675160d |
| 19-Jun-2015 |
martin <martin@NetBSD.org> |
Make kill1 public (we'll need it from compat/netbsd32)
|
#
7d1220ac |
| 18-Oct-2014 |
snj <snj@NetBSD.org> |
src is too big these days to tolerate superfluous apostrophes. It's "its", people!
|
#
e9700f97 |
| 14-Feb-2014 |
christos <christos@NetBSD.org> |
Don't check trampolines for SIG_DFL or SIG_IGN since they are not used. From gimpy.
|
#
485e3706 |
| 08-Mar-2013 |
apb <apb@NetBSD.org> |
Properly differentiate between infinite timeout and zero timeout. Local variable timo = -1 is used for zero timeout (non blocking mode).
Fixes PR 47625 from anthony.mallet
|
#
aec1fd54 |
| 08-Mar-2013 |
apb <apb@NetBSD.org> |
In the timeout passed to sigtimedwait, NULL means an infinite timeout, and {.tv_sec = 0, .tv_nsec=0} means do not block at all. Add a comment saying so. The code incorrectly treats them both as an
In the timeout passed to sigtimedwait, NULL means an infinite timeout, and {.tv_sec = 0, .tv_nsec=0} means do not block at all. Add a comment saying so. The code incorrectly treats them both as an infinite timeout, and that is not fixed by this commit.
show more ...
|
#
5669f94d |
| 22-Jan-2013 |
christos <christos@NetBSD.org> |
It is useless to check for sigcontext_vec and compat module loading for PK_32 processes. The correct modules are already loaded, otherwise how is the process running?
|
#
029d60f4 |
| 18-Jul-2012 |
christos <christos@NetBSD.org> |
From Roger Pau Monne: kill(2) called for a zombie process should return 0, according to: http://pubs.opengroup.org/onlinepubs/9699919799/functions/kill.html
|
#
154d3024 |
| 19-Feb-2012 |
rmind <rmind@NetBSD.org> |
Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3! Approved by core@.
|
#
25b22306 |
| 18-Nov-2011 |
christos <christos@NetBSD.org> |
add a copyin function for sigset so that we can use sigtimedwait1 from emulations.
|
#
ef319527 |
| 29-May-2011 |
christos <christos@NetBSD.org> |
when undoing the sigsuspend setup, either take the signal and allow the signal path to restore the mask, or restore the mask here.
|
#
d74b5cad |
| 28-May-2011 |
christos <christos@NetBSD.org> |
If a signal did not fire, restore the original signal mask for pselect/pollts using a signal mask. Tested by tron.
|
#
dd482a8b |
| 18-May-2011 |
christos <christos@NetBSD.org> |
PR/43625: Mark Davies: Fix pselect(2) to honor the temporary mask. pselect(2) (and pollts(2)) are similar to sigsuspend(2) in that they temporarily change the process signal mask and wait for signal
PR/43625: Mark Davies: Fix pselect(2) to honor the temporary mask. pselect(2) (and pollts(2)) are similar to sigsuspend(2) in that they temporarily change the process signal mask and wait for signal delivery. Factor out and share the code that does this.
show more ...
|
#
3a98d7f3 |
| 03-Mar-2011 |
martin <martin@NetBSD.org> |
Do not restrict the siginfo a process sends to itself in any way, but keep restrictions for foreign processes. This is needed to allow raising of full SIGFPE siginfo from softfloat libraries for exam
Do not restrict the siginfo a process sends to itself in any way, but keep restrictions for foreign processes. This is needed to allow raising of full SIGFPE siginfo from softfloat libraries for example.
show more ...
|