Commit Graph

30 Commits

Author SHA1 Message Date
K. Lange
441f853bc3 kernel: be more prudent with signal number bounds checking 2023-04-12 17:27:44 +09:00
K. Lange
d5d8941a2d kernel: we have more than 31 signals... 2022-10-10 16:04:13 +09:00
K. Lange
5aa2b32101 kernel: Return signal number that caused process to stop 2022-08-18 19:20:43 +09:00
K. Lange
dd33c722c5 kernel: fix waitpid() with WSTOPPED; only return on state change? 2022-08-18 18:19:15 +09:00
K. Lange
745bc29a26 kernel: rudimentary sigwait 2022-08-18 16:56:43 +09:00
K. Lange
ab4c474768 kernel: Handle some invalid arguments in signal syscalls 2022-08-18 15:08:56 +09:00
K. Lange
2906476825 kernel: Add sigaction 2022-08-06 18:03:39 +09:00
K. Lange
9f7a84c0fc kernel: improve comments in sys/signal.c 2022-03-13 15:13:14 +09:00
K. Lange
6ff1bc5195 kernel: clear signal disposition when running a handler, as we should 2022-03-04 22:03:21 +09:00
K. Lange
3852646174 kernel: Restart some signals, fix up suspend to work with new signal management 2022-03-04 18:39:38 +09:00
K. Lange
bbebc7c128 kernel: complete redesign of signal handling 2022-03-04 16:12:16 +09:00
K. Lange
5b16cd6ce4 kernel: bad ordering of list insert / wakeup caused crashes 2021-11-24 17:34:06 +09:00
K. Lange
0146b31837 ptrace: Allow separate tracing of signals and syscalls 2021-09-24 00:11:14 +09:00
K. Lange
470b2bfabb ptrace: Catch signals, start work on debugger 2021-09-22 20:32:21 +09:00
K. Lange
35c83a19f1 kernel: fix missing lock during wakeup from signal delivery 2021-06-04 15:32:07 +09:00
K. Lange
0913598bb0 process: okay don't mark stack protectors nx... 2021-06-02 07:11:19 +09:00
K. Lange
b35f7ac8c9 misaka: initial merge 2021-05-31 10:54:11 +09:00
K. Lange
32c0b670b7 kernel: make sure signal handlers get the right GS descriptor 2021-02-16 19:17:44 +09:00
K. Lange
e0a871df8b kernel: processes in the same session should be able to send SIGCONT regardless of permissions 2018-10-29 18:32:13 +09:00
K. Lange
51df8004dd job control: kill/cont process groups 2018-10-26 23:19:46 +09:00
K. Lange
6c88956fa4 job control 2018-10-26 20:34:15 +09:00
K. Lange
bfbd3cfc13 kernel: quietly expose esp/ebp state on signal entry 2018-10-17 19:17:03 +09:00
K. Lange
9c30e8263d kill(2): sets errno 2018-10-08 10:23:10 +09:00
K. Lange
897d11ed3b Fix raising signal from current thread outside of signal handler 2018-10-05 22:20:40 +09:00
K. Lange
de94682728 Only the kill syscall should care about user permissions for signals 2018-09-28 23:59:12 +09:00
K. Lange
7a20e11aea proper waitpid status values 2018-09-28 13:00:51 +09:00
K. Lange
3afb51a951 Fix handling of signal suicides 2018-09-25 17:04:32 +09:00
K. Lange
557f578574 Don't use my given name in copyright headers; update everything to 2018 because why not 2018-05-01 17:12:56 +09:00
K. Lange
1355502e6c Reorganize headers 2018-03-19 11:38:11 +09:00
K. Lange
3f4293d357 Merge kernel 2018-03-16 21:56:19 +09:00