643 Commits

Author SHA1 Message Date
Mark 3657d84e99 Add write support to ramfs 2020-07-24 15:57:52 +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 72837f9b90 A cleaner initrd fs implementation 2020-07-24 00:04:02 +03:00
Mark 69b044fd0f Cleanup fs/class shitfest a bit 2020-07-23 19:59:17 +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 5fae591f40 time_t is signed 2020-07-23 14:02:50 +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
Mark 92acffb13b Add getppid(2) 2020-07-22 23:13:29 +03:00
Mark b09f7c34a3 O_CLOEXEC for vfs_open*() 2020-07-22 22:34:24 +03:00
Mark becf8eec74 Cleanup headers a bit 2020-07-21 16:22:00 +03:00
Mark 17c826f99a More critical invalid syscall 2020-07-21 16:21:14 +03:00
Mark 1c2214d912 Remove function declarations from user headers 2020-07-13 21:14:33 +03:00
Mark e466db979a console: add save/unsave seqs, fix kill seq 2020-07-13 18:15:44 +03:00
Mark d5c85e099b Fix userspace select.h 2020-07-13 18:15:22 +03:00
Mark f79fc98967 Add procfs 2020-07-12 17:10:51 +03:00
Mark fd0ec4150f Add ENABLE_NET and ENABLE_UNIX options 2020-07-11 23:31:41 +03:00
Mark a6e1949f99 Properly extract git version 2020-07-11 22:56:54 +03:00
Mark f22591ad93 Move to cmake build system 2020-07-11 22:41:23 +03:00
Mark 25537eeab8 Fix: prevent double queueing of the same thread 2020-07-11 17:50:16 +03:00
Mark d03c63719d Fix EPERM returned instead of 0 when EOF 2020-07-11 16:03:43 +03:00
Mark cfe74eac3b Add clock_t and useconds_t to user types 2020-07-11 12:57:31 +03:00
Mark 801df710d2 Unclutter debug 2020-07-11 01:20:13 +03:00
Mark f08fcd77da Use struct list_head to link thread in a process 2020-07-10 17:01:24 +03:00
Mark 8ba9dc6b10 Thread termination with exit() syscall 2020-07-10 16:41:40 +03:00
Mark 75be29e98e Inherit signal entry on clone() 2020-07-10 13:57:24 +03:00
Mark fcbb039bc3 PID is now generated in process_init_thread() 2020-07-10 13:43:06 +03:00
Mark 6ae176d516 Add sigaltstack() syscall 2020-07-10 13:41:15 +03:00
Mark d054c1c16d More detailed process info in exception handler 2020-07-10 13:40:22 +03:00
Mark 65e5cd552f Free fxsave buffer in process_free 2020-07-08 22:50:49 +03:00
Mark 4df8f39f78 Fix improper interruption of sleep 2020-07-08 13:29:52 +03:00
Mark ea55fbf3ee Add shebang handling 2020-07-07 22:55:50 +03:00
Mark c60ddf21c9 Add (buggy) SIGSTOP/SIGCONT for processes 2020-07-07 21:25:48 +03:00
Mark 5cc98cf104 Add acpi event output via char device 2020-07-07 21:25:48 +03:00
Mark 8f1e6fc610 Disallow open()ing sockets 2020-07-07 15:58:04 +03:00
Mark a6ccddd695 Add (sketchy) unix domain sockets 2020-07-07 15:42:51 +03:00
Mark ecf4262646 Separate notions of "thread" and "process" 2020-07-05 23:16:10 +03:00
Mark cf837f6874 Add vnode ops to subdirs of sysfs 2020-07-05 20:25:53 +03:00
Mark cdc61fc168 Increase heap size for thinkpad ACPI 2020-07-05 18:55:35 +03:00
Mark d7bc4e2f01 Always reset wait descriptor owner when awakening 2020-07-05 18:55:15 +03:00
Mark b6f29c2cd7 Treat req. pid == pid the same as req. pid == 0 in setpgrp 2020-07-05 18:54:41 +03:00
Mark b8a9f12307 Reenable detailed UBsan messages 2020-07-05 18:54:29 +03:00
Mark b646a11dc3 Fix: pipe() call didn't ref ofiles properly 2020-07-05 18:53:55 +03:00
Mark 2d5fe1dac1 Fix: no NULL is placed at the end of envp/argv 2020-07-05 18:53:20 +03:00