Commit Graph

188 Commits

Author SHA1 Message Date
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
K. Lange
1dd35e9536 v1.10.3 2018-12-22 14:18:42 +09:00
K. Lange
92a17c3e9e v1.10.2 2018-12-19 14:38:41 +09:00
K. Lange
299724e83e v1.10.1 2018-12-18 12:12:38 +09:00
K. Lange
662ad3b407 kernel: remove calls to calloc (they confuse the tracker) 2018-12-12 10:31:42 +09:00
K. Lange
b6aa92c64e kernel: off-by-one bounds check in move_fd 2018-12-11 23:16:29 +09:00
K. Lange
31af34c73d boot: switch to tar ramdisks 2018-12-11 13:04:02 +09:00
K. Lange
de4d55971f v1.9.5 2018-12-07 21:35:32 +09:00
K. Lange
0f19d4a1f1 v1.9.4 2018-12-05 14:37:48 +09:00
K. Lange
131262bb1f kernel: change some log levels 2018-12-03 11:22:33 +09:00
K. Lange
9f9092772a kernel: prepare new version number 2018-12-03 10:21:56 +09:00
K. Lange
e3d7719883 v1.9.2 2018-12-01 11:09:55 +09:00
K. Lange
e2cbd52988 v1.9.1 2018-11-28 21:31:41 +09:00
K. Lange
fdda0132c8 kernel: implement O_DIRECTORY 2018-11-28 14:51:35 +09:00
K. Lange
1e786f6ea8 kernel: stat should throw ENOENT 2018-11-23 17:21:10 +09:00
K. Lange
de7463d141 kernel: 64-bit offsets for VFS 2018-11-23 09:56:44 +09:00
K. Lange
cc3aa63a7b kernel: handle O_EXCL... correctly... 2018-11-22 16:50:21 +09:00
K. Lange
a663722b34 kernel: handle O_EXCL 2018-11-22 16:35:18 +09:00
K. Lange
a2f7396e26 kernel: fixup more open permission things 2018-11-22 16:27:20 +09:00
K. Lange
4b72785663 kernel: refuse to open directories in certain cases 2018-11-22 16:11:05 +09:00
K. Lange
3b04776950 kernel: fix bad truncate in append mode 2018-11-22 11:47:08 +09:00
K. Lange
f3c6507e4a kernel: move truncate to a separate method called after open 2018-11-21 21:54:31 +09:00
K. Lange
3106c7b57a v1.8.2 2018-11-19 21:46:11 +09:00
K. Lange
e6e3bfc9c9 v1.8.1 2018-11-12 16:16:40 +09:00
K. Lange
e0bb92bb65 Bump to v1.8.0 2018-11-07 10:52:59 +09:00
K. Lange
c1dcfca920 kernel: more directory permissions 2018-11-01 13:46:59 +09:00
K. Lange
b42c185421 sudo: support euids with setuid binaries 2018-10-31 10:28:41 +09:00
K. Lange
e8ec1cb6c3 kernel: setsid should set pgid=pid 2018-10-30 15:58:15 +09:00
K. Lange
7a935f2834 kernel: send SIGCHLD 2018-10-30 15:37:47 +09:00
K. Lange
35c29e9b4d kernel: getpgid; esh: fixups 2018-10-30 13:28:11 +09:00