K. Lange
4c9f9a68e0
kernel: Use a common kidle thread that always calls switch_next
2024-01-22 07:29:34 +09:00
K. Lange
613bc73dfd
kernel: properly track time in kernel when returning to userspace
2023-11-02 10:21:00 +09:00
K. Lange
bbb399788f
kernel: utime = ttime - stime
2023-11-02 10:20:40 +09:00
K. Lange
aa8d79c81a
ptrace: Implement a SETREGS that can rewrite syscall number
2023-10-06 08:56:20 +09:00
K. Lange
4f36cac62c
kernel: get rid of unused interrupt_registers
...
process_t member was never set, but was referenced in ptrace
core-local member was set in x86-64 but never used
2023-10-06 07:46:11 +09:00
K. Lange
023b078d0e
kernel: set version to 2.2.1
2023-09-18 06:26:05 -04:00
K. Lange
ddd8b06400
meta: Start calling this 2.2, new codename is 'Eternal Reality' (Railgun S OP2)
2023-05-10 09:55:28 +09:00
K. Lange
a7e6b1eaae
kernel: copy signal dispositions on fork; clear them on exec
2023-04-27 00:04:48 +09:00
K. Lange
ccb361fb3b
kernel: mark sockets in stat; reject them in seek
2023-04-18 19:40:52 +09:00
K. Lange
df25724fcc
net: Support getsockname, getpeername for tcp
2023-04-18 19:40:52 +09:00
K. Lange
534aca26de
kernel: More instances of unintended signed values causing problems
2023-04-12 18:33:47 +09:00
K. Lange
441f853bc3
kernel: be more prudent with signal number bounds checking
2023-04-12 17:27:44 +09:00
K. Lange
598c5a7982
kernel: Reject negative signum in signal, sigaction
...
closes #270
2023-04-08 07:34:04 +09:00
K. Lange
738631f0ae
kernel: Interrupting fswait should return -EINTR
2023-02-20 09:25:52 +09:00
K. Lange
3211306608
kernel: fixup issues with timeouts in fswait3
2023-02-16 16:09:20 +09:00
K. Lange
d52d502f5c
kernel: brute-force locking around unmap syscall, should make thread stuff more stable?
2022-11-08 10:35:45 +09:00
K. Lange
bf2c51426d
kernel: proc->group may have exited
...
Handling of thread parents needs to be better... the initial thread
of a process can disappear, and with pid reuse it could even be
replaced by a different process... this needs to be cleaned up more.
2022-10-29 17:27:05 +09:00
K. Lange
5ef5d4c6b6
kernel: Update version codename
2022-10-22 12:02:50 +09:00
K. Lange
d5d8941a2d
kernel: we have more than 31 signals...
2022-10-10 16:04:13 +09:00
K. Lange
3743ee8e4d
kernel: enable -Wstrict-prototypes
2022-09-17 13:37:02 +09:00
K. Lange
e80d2da3f3
net: Cleanup headers
2022-09-17 13:35:31 +09:00
K. Lange
d2f3644430
kernel: fixup ptrace signal delivery, again
2022-08-18 19:42:17 +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
37bd4e08cb
kernel: add sigsuspend
2022-08-18 15:09:23 +09:00
K. Lange
ab4c474768
kernel: Handle some invalid arguments in signal syscalls
2022-08-18 15:08:56 +09:00
K. Lange
fff099c598
kernel: add missing PTRCHECK to sys_readline; fixes #250
2022-08-17 08:49:12 +09:00
K. Lange
083ab387f3
kernel: more signal functions
2022-08-06 18:19:27 +09:00
K. Lange
2906476825
kernel: Add sigaction
2022-08-06 18:03:39 +09:00
K. Lange
bea3854b00
aarch64: (wip) support kernel modules
2022-04-13 16:19:56 -07:00
K. Lange
b297ab3fed
kernel: improve comments in sys/ptrace.c
2022-03-13 16:07:53 +09:00
K. Lange
9f7a84c0fc
kernel: improve comments in sys/signal.c
2022-03-13 15:13:14 +09:00
K. Lange
58a1b6e999
pthread: Remove magic thread exit; pthread_exit() is just syscall_exit
2022-03-12 18:46:28 +09:00
K. Lange
4c2ec1f0a0
kernel: add a temporary 'munmap' sysfunc
2022-03-06 15:58:38 +09:00
K. Lange
49fd67bf2d
kernel: relocate some user virtual addresses
2022-03-06 15:58:08 +09:00
K. Lange
e37207828a
kernel: print more details when trying to alert invalid process
2022-03-04 22:09:31 +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
63fbbec928
kernel: Don't let things clear frames without holding the frame alloc lock
2022-03-04 22:00:37 +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
b3f6728339
date: add rudimentary support for setting date/time
2022-02-25 21:16:30 +09:00
K. Lange
c180959f4e
aarch64: idle task loops should be the same for BP and APs
2022-02-22 09:51:56 +09:00
K. Lange
62b0b216d6
kernel: more lock ordering shenanigans
2022-02-13 14:44:09 +09:00
K. Lange
6b35dab7da
kernel: fix faulty lock around sleep nodes not capturing potential change in owner
2022-02-12 17:51:24 +09:00
K. Lange
187b331e9e
ptrace: fix delivery of final signals, improve dbg
2022-02-02 20:53:23 +09:00
K. Lange
4c04e01f61
aarch64: basic tracing support
2022-02-02 20:52:56 +09:00
K. Lange
79bd90e44c
aarch64: Start calling this 2.1.0
2022-02-02 12:56:55 +09:00
K. Lange
bf40d8f289
aarch64: some memory size management
2022-02-01 06:54:59 +09:00
K. Lange
f0d7ed7743
aarch64: fixup clone(), add mmu_free(), cache stuff for ld.so
2022-01-31 21:08:11 +09:00