435 Commits

Author SHA1 Message Date
Mark
7292260209 proc: fixup TSS.RSP0 on signal return 2020-10-18 20:20:18 +03:00
Mark
b512d3d83c proc: fix missing include user/signal.h 2020-10-16 15:18:45 +03:00
Mark
d7a3ed3ff5 SMP works? 2020-10-04 15:48:11 +03:00
Mark
ff8f319d8c src: split process and thread source files 2020-09-27 12:31:46 +03:00
Mark
02136a28b5 boot: use multiboot2 symbol table 2020-09-20 13:49:18 +03:00
Mark
5f7b6e2cee debug: Revert to old debug method 2020-09-18 14:23:20 +03:00
Mark
bb5ff71a79 con: Add early vesa fbcon 2020-09-18 13:22:38 +03:00
Mark
7d3a0d58dc boot: add support for yboot protocol 2020-09-04 01:36:04 +03:00
Mark
d91a9114c7 fs: add readlink() feature to per-process links 2020-09-01 19:19:26 +03:00
Mark
d83b93075c fs: add umask to vfs_ioctx 2020-09-01 18:07:19 +03:00
Mark
074862b9ee api/io: readlinkat 2020-08-30 12:44:22 +03:00
Mark
e0f0087ccc mman: rewrite physical memory manager
Better protection of reserved memory regions,
merged "pool" allocation functions into main
memory manager
2020-08-23 22:59:29 +03:00
Mark
4f1ff91e17 Add dumb module unloading 2020-08-20 17:29:43 +03:00
Mark
8ced5eb98d Simplify headers a bit 2020-08-11 17:00:14 +03:00
Mark
887ffb7e53 Symbol tables, references to other mods, dependency checks 2020-08-11 01:32:03 +03:00
Mark
4ae2adb6df (Proof-of-concept) module support 2020-08-10 23:56:45 +03:00
Mark
b40a1692ba Remove old module loading code 2020-08-10 01:31:07 +03:00
Mark
68727654d0 ext2: block alloc/free, write up to L1 size 2020-08-07 17:24:05 +03:00
Mark
236f4e5bf5 Cleanup kernel options a bit 2020-08-07 12:53:58 +03:00
Mark
8a21e8bf75 Add (pretty PoC) shared memory primitives 2020-08-07 12:05:58 +03:00
Mark
2b095c9b76 ICANON is a lflag! 2020-08-05 01:58:52 +03:00
Mark
9b4d3b2f7a Add atoi() 2020-08-05 01:58:40 +03:00
Mark
894c2de44c Support for select() on Unix sockets 2020-08-05 01:58:21 +03:00
Mark
415fd613a2 Add framebuffer devices to /dev and mmap() for them 2020-08-05 01:54:13 +03:00
Mark
dcc09d00c2 Allow use of MAP_FIXED flag to specify mem ranges 2020-08-02 00:44:48 +03:00
Mark
a96fe01289 Add FF control character 2020-07-31 17:28:16 +03:00
Mark
83b1d9a281 Add setsid(2) syscall 2020-07-31 15:27:18 +03:00
Mark
37d74f3cd1 Fix exec path with shebang 2020-07-31 11:12:16 +03:00
Mark
bca93a50fd Add /lib/ld execution for dynamic binaries 2020-07-30 00:55:35 +03:00
Mark
d7f6fcec69 Add serial ttys 2020-07-29 18:54:00 +03:00
Mark
ee85365bbc Add sched_yield(2) 2020-07-28 14:52:31 +03:00
Mark
60a3e05f24 Fix ICANON (lflag) and add more key handling to PS/2 2020-07-28 14:51:33 +03:00
Mark
c485c4db84 truncate(2)/ftruncate(2) 2020-07-27 00:15:27 +03:00
Mark
8d9891319c unlinkat(2) 2020-07-27 00:01:38 +03:00
Mark
276d77cd7c Add mkdirat(2) 2020-07-26 23:22:16 +03:00
Mark
3b1ca6b978 Sync disks on reboot 2020-07-26 23:12:40 +03:00
Mark
040b94499c faccessat and fstatat 2020-07-26 23:02:13 +03:00
Mark
26df7ce9aa open(2) superseded by openat(2) 2020-07-26 21:47:38 +03:00
Mark
7a26c595e4 Add exception signals, fix stack misalignment on userspace entry 2020-07-26 21:00:36 +03:00
Mark
be9e8fe278 dup2: return "to" if "to" == "from" 2020-07-24 16:21:30 +03:00
Mark
dfe1531c56 Add level argument to debug_backtrace() 2020-07-24 14:35:47 +03:00
Mark
014463db5a Properly shutdown pipe writer when reader closes 2020-07-24 14:35:08 +03:00
Mark
277b65d329 Allow use of extended ASCII set in TTY/console 2020-07-24 13:29:50 +03:00
Mark
0ee4ab17fa Fix page directory not getting switched on switch to user process 2020-07-24 10:26:32 +03:00
Mark
0f0f37ee39 Fix ustar->ramfs and add symlink support 2020-07-24 00:18:25 +03:00
Mark
55f9cfe1e8 Add ^W/ETB 2020-07-23 19:45:52 +03:00
Mark
1314eafb3d Replace \b with \0177 as erase character 2020-07-23 17:51:13 +03:00
Mark
461effbfd1 Fix ECHOE/ICANON behavior with erase 2020-07-23 17:38:16 +03:00
Mark
d8b41be80c Close FDs not in _cleanup, but in exit 2020-07-23 12:58:28 +03:00
Mark
85c64e7cf0 Reparent orphans to init on parent death 2020-07-22 23:32:57 +03:00