Commit Graph

217 Commits

Author SHA1 Message Date
K. Lange
f0d7ed7743 aarch64: fixup clone(), add mmu_free(), cache stuff for ld.so 2022-01-31 21:08:11 +09:00
K. Lange
c3311fe272 insmod: not available on aarch64 yet 2022-01-30 21:35:46 +09:00
K. Lange
b53a56fe72 aarch64: begin work on new target 2022-01-30 21:25:27 +09:00
K. Lange
19508075e4 kernel: Don't mark process running if it is exiting... 2022-01-08 17:44:39 +09:00
K. Lange
d7595b2b81 v2.0.1 2022-01-04 08:35:14 +09:00
K. Lange
0d9dbb80fc base: Prepare for 2.0.0 2021-12-06 11:32:23 +09:00
K. Lange
0c6f58277c v1.99.10 2021-12-01 21:32:59 +09:00
K. Lange
de0bda736a kernel: at least add full lead comments to everything 2021-11-26 11:31:10 +09:00
K. Lange
5b16cd6ce4 kernel: bad ordering of list insert / wakeup caused crashes 2021-11-24 17:34:06 +09:00
K. Lange
d90d6e1963 kernel: Add simple mutex with a wait queue 2021-11-17 19:13:33 +09:00
K. Lange
f3759daadf ioctl: request should be 'unsigned long' 2021-11-15 21:51:33 +09:00
K. Lange
697200013a v1.99.9 2021-11-09 13:28:16 +09:00
K. Lange
119c42077d kernel: Put codename string in quotes for stylistic reasons 2021-10-30 08:53:49 +09:00
K. Lange
d6fc131912 kernel: Export sys_ functions so they appear in symbol table 2021-10-28 07:51:20 +09:00
K. Lange
3decb96169 v1.99.8 2021-10-21 11:18:42 +09:00
K. Lange
08820eca71 kernel: oops 2021-10-21 09:35:02 +09:00
K. Lange
bf6d5f765d kernel: make_process_ready may be called with sleep_lock already acquired? 2021-10-21 08:48:26 +09:00
K. Lange
1efc36e51a kernel: Fixup bad lock ordering in process_awaken_signal 2021-10-20 19:37:31 +09:00
K. Lange
76191f89fb kernel: Print tracebacks for more fatal errors 2021-10-20 10:33:58 +09:00
K. Lange
32c3bf1825 insmod: Support passing arguments to modules 2021-10-20 10:33:35 +09:00
K. Lange
05e224dee7 kernel: Better fault reports 2021-10-04 20:34:42 +09:00
K. Lange
495d1a196a kernel: Use 'Misaka' as the system named presented by the kernel 2021-09-30 10:37:46 +09:00
K. Lange
1f0d982240 kernel: Initial try at actual user buffer validation 2021-09-29 14:07:32 +09:00
K. Lange
fe6402ba18 v1.99.7 2021-09-27 15:31:47 +09:00
K. Lange
0caa949550 ptrace: Inform non-parent tracer when tracee exits 2021-09-25 07:16:47 +09:00
K Lange
aa8fdab570 ptrace: support tracing from non-parent process 2021-09-24 19:15:06 +09:00
K. Lange
41ba264cdc ptrace: PTRACE_SINGLESTEP 2021-09-24 14:41:17 +09:00
K. Lange
9e19ebb93a ptrace: Update status before setting suspended flag 2021-09-24 13:10:19 +09:00
K. Lange
c8a37456ec ptrace: POKEDATA, permission fixes for PEEKDATA 2021-09-24 12:00:46 +09:00
K. Lange
5d7eec4cee ptrace: avoid suggesting process terminated when continuing from ptrace_signal 2021-09-24 07:30:21 +09:00
K. Lange
0146b31837 ptrace: Allow separate tracing of signals and syscalls 2021-09-24 00:11:14 +09:00
K. Lange
8859849452 kernel: Acquire a lock around waitpid condition changes 2021-09-24 00:10:30 +09:00
K. Lange
470b2bfabb ptrace: Catch signals, start work on debugger 2021-09-22 20:32:21 +09:00
K. Lange
6899683bb4 strace: Initial support for a ptrace() mechanism, strace tool 2021-09-22 15:33:02 +09:00
K. Lange
f8ba7b9002 syscall: PTR_VALIDATE explicitly does not check null... 2021-09-18 20:00:02 +09:00
K. Lange
44651da833 v1.99.6 2021-09-18 13:55:16 +09:00
K. Lange
aabbde7877 net: another batch of rewrites 2021-09-17 21:03:53 +09:00
K. Lange
2c45d0b5d0 kernel: times() can take NULL 2021-09-05 13:48:17 +09:00
K. Lange
bafc85f675 kernel: more sensible idle tracking 2021-09-05 11:35:38 +09:00
K. Lange
780aa1b534 top: Track multiple slices of usage, show averages 2021-09-05 11:04:47 +09:00
K. Lange
bb7b9c26d7 kernel: track idle task usage 2021-09-03 16:44:49 +09:00
K. Lange
f41c0717b5 kernel: Track relative CPU usage over one-second spans 2021-09-03 10:17:10 +09:00
K. Lange
efec80cb38 times: rudimentary support for process times 2021-09-02 23:08:18 +09:00
K. Lange
98bcb40671 nproc: Expose processor count and use it to pick between yielding and non-yielding spin locks 2021-09-02 17:27:21 +09:00
K. Lange
783e6d69d6 chown: fixup semantics, support names in command 2021-09-02 15:10:12 +09:00
K. Lange
4dc97e7bf1 v1.99.5 2021-09-01 20:32:09 +09:00
K. Lange
a77d0ef85a smp: Memory invalidation fixes 2021-09-01 19:55:00 +09:00
K. Lange
8984cc8f71 groups: First pass at support for supplementary group lists 2021-08-31 20:46:48 +09:00
K. Lange
8775a28209 groups: Initial support for gids. 2021-08-31 19:47:04 +09:00
K. Lange
a34dadba37 kernel: fix getpgid(pid != 0) 2021-08-20 17:10:35 +09:00
K. Lange
7609912b03 v1.99.4 2021-08-20 09:24:28 +09:00
K. Lange
c130197ab8 kernel: fixup lock ordering around process_timeout_sleep 2021-08-16 17:20:28 +09:00
K. Lange
f57679e0b4 v1.99.3 2021-07-19 20:10:12 +09:00
K. Lange
a96089e9d9 sysfunc: actually bother validating some values 2021-07-12 06:28:17 +09:00
K. Lange
62128bd1aa kernel: (needs review) let threads sleep on their own children? 2021-06-23 22:42:48 +09:00
K. Lange
a99b958c18 v1.99.2 2021-06-20 21:25:14 +09:00
K. Lange
1467ec050e net: various improvements to still terrible network stack 2021-06-16 23:14:58 +09:00
K. Lange
83987b292c v1.99.1 2021-06-15 19:50:33 +09:00
K. Lange
394e4e3e0c net: more cleanup 2021-06-10 20:20:55 +09:00
K. Lange
b04164b19d net: wip stuff for sockets 2021-06-06 14:22:14 +09:00
K. Lange
d9e462633f kernel: make an attempt to clean up processes in SMP 2021-06-04 21:51:45 +09:00
K. Lange
39a267e871 kernel: Release SHM while we're at it... 2021-06-04 21:13:42 +09:00
K. Lange
e7ded7a2d0 kernel: close file descriptors >STDERR_FILENO on exec like toaru32 did 2021-06-04 21:11:01 +09:00
K. Lange
1b8d5b5d32 misc: cleanup 2021-06-04 20:38:27 +09:00
K. Lange
35c83a19f1 kernel: fix missing lock during wakeup from signal delivery 2021-06-04 15:32:07 +09:00
K. Lange
826006692a kernel: begin work on re-adding module loading 2021-06-03 21:01:57 +09:00
K. Lange
e22d6d84a4 kernel: add 'assert()' 2021-06-02 18:35:03 +09:00
K. Lange
0913598bb0 process: okay don't mark stack protectors nx... 2021-06-02 07:11:19 +09:00
K. Lange
f52e4b8f3d process: (temp) avoid freeing processes that are still someone's last 2021-06-01 22:41:41 +09:00
K. Lange
7f2fff3979 process: Set up stack protectors for kernel stacks 2021-06-01 22:41:05 +09:00
K. Lange
8ba4b13f72 process: try to fix up some locks, again 2021-06-01 22:40:13 +09:00
K. Lange
aa52db5018 smp: fix wakeups doing bad EOI write 2021-06-01 19:36:46 +09:00
K. Lange
b35f7ac8c9 misaka: initial merge 2021-05-31 10:54:11 +09:00
K. Lange
0977eca9b5 v1.14.0 2021-04-22 20:07:34 +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
230870ad7b kernel, linker, libc: Initial, probably horribly broken, support for some TLS situations 2021-02-16 18:49:34 +09:00
K. Lange
1c2de4d888 v1.13.3 2021-01-30 22:00:36 +09:00
K. Lange
d66dfde98d v1.13.2 2021-01-26 09:13:04 +09:00
K. Lange
f59aab9c43 v1.13.1 2020-12-08 22:13:00 +09:00
K. Lange
0a01944f00 v1.13.0 2020-07-27 10:21:50 +09:00
K. Lange
f6b99561e5 kernel: bump version to 1.12.0 2020-03-29 20:32:38 +09:00
K. Lange
a995110217 kernel: set version to 1.11.0 2019-12-25 10:24:45 +09:00
K. Lange
eebf910db2 kernel: seek: return an error on bad whence 2019-12-15 17:08:21 +09:00
K. Lange
efba52c3dd kernel: return an appropriate error when trying to seek things that shouldn't seek 2019-12-15 17:01:18 +09:00
K. Lange
80a8ac743b kernel: don't ignore seek calls on first three fds; why were we doing this at all 2019-12-15 15:51:37 +09:00
K. Lange
a6251137f0 kernel: add fswait3 and hack around terminals blocking on their own reads 2019-12-05 17:42:46 +09:00
K. Lange
b2f4900472 v1.10.13 2019-11-03 15:43:37 +09:00
K. Lange
8a91bc8ce7 v1.10.12 2019-09-06 11:01:19 +09:00
K. Lange
50f5ebaeca kernel: kill(0) sends to process group 2019-08-21 17:48:56 +09:00
K. Lange
90bcdfee58 v1.10.11 2019-06-30 22:43:19 +09:00
K. Lange
330f935342 kernel: limit maximum recursion depth for interpreters 2019-06-25 21:20:12 +09:00
K. Lange
64ae6e55a5 v1.10.10 2019-06-25 20:50:20 +09:00
K. Lange
302b772afa kernel: add basic bounds check to TOARU_SYS_FUNC_SETHEAP 2019-06-25 20:36:26 +09:00
K. Lange
f1892b70dd v1.10.9 2019-02-27 21:38:49 +09:00
K. Lange
8e190f584d v1.10.8 2019-01-21 21:53:19 +09:00
K. Lange
d6f13f56f3 v1.10.7 2019-01-11 20:57:17 +09:00
K. Lange
1bc4018e27 kernel: store text addr for modules for debug purposes 2018-12-28 09:37:53 +09:00
K. Lange
a17d73cc25 v1.10.6 2018-12-27 21:47:09 +09:00
K. Lange
68dea41b97 v1.10.5 2018-12-26 23:33:07 +09:00
K. Lange
80c5f30d7b v1.10.4 2018-12-24 22:44:51 +09:00