Commit Graph

  • 3657d84e99 Add write support to ramfs Mark 2020-07-24 15:57:52 +03:00
  • dfe1531c56 Add level argument to debug_backtrace() Mark 2020-07-24 14:35:47 +03:00
  • 014463db5a Properly shutdown pipe writer when reader closes Mark 2020-07-24 14:35:08 +03:00
  • 277b65d329 Allow use of extended ASCII set in TTY/console Mark 2020-07-24 13:29:50 +03:00
  • 0ee4ab17fa Fix page directory not getting switched on switch to user process Mark 2020-07-24 10:26:32 +03:00
  • 0f0f37ee39 Fix ustar->ramfs and add symlink support Mark 2020-07-24 00:18:25 +03:00
  • 72837f9b90 A cleaner initrd fs implementation Mark 2020-07-24 00:04:02 +03:00
  • 69b044fd0f Cleanup fs/class shitfest a bit Mark 2020-07-23 19:59:17 +03:00
  • 55f9cfe1e8 Add ^W/ETB Mark 2020-07-23 19:45:52 +03:00
  • 1314eafb3d Replace \b with \0177 as erase character Mark 2020-07-23 17:51:13 +03:00
  • 461effbfd1 Fix ECHOE/ICANON behavior with erase Mark 2020-07-23 17:38:16 +03:00
  • 5fae591f40 time_t is signed Mark 2020-07-23 14:02:50 +03:00
  • d8b41be80c Close FDs not in _cleanup, but in exit Mark 2020-07-23 12:58:28 +03:00
  • 85c64e7cf0 Reparent orphans to init on parent death Mark 2020-07-22 23:32:57 +03:00
  • 92acffb13b Add getppid(2) Mark 2020-07-22 23:13:29 +03:00
  • b09f7c34a3 O_CLOEXEC for vfs_open*() Mark 2020-07-22 22:34:24 +03:00
  • becf8eec74 Cleanup headers a bit Mark 2020-07-21 16:22:00 +03:00
  • 17c826f99a More critical invalid syscall Mark 2020-07-21 16:21:14 +03:00
  • 1c2214d912 Remove function declarations from user headers Mark 2020-07-13 21:14:33 +03:00
  • e466db979a console: add save/unsave seqs, fix kill seq Mark 2020-07-13 18:15:44 +03:00
  • d5c85e099b Fix userspace select.h Mark 2020-07-13 18:15:22 +03:00
  • f79fc98967 Add procfs Mark 2020-07-12 17:10:51 +03:00
  • fd0ec4150f Add ENABLE_NET and ENABLE_UNIX options Mark 2020-07-11 23:31:41 +03:00
  • a6e1949f99 Properly extract git version Mark 2020-07-11 22:56:54 +03:00
  • f22591ad93 Move to cmake build system Mark 2020-07-11 22:41:23 +03:00
  • 25537eeab8 Fix: prevent double queueing of the same thread Mark 2020-07-11 17:50:16 +03:00
  • d03c63719d Fix EPERM returned instead of 0 when EOF Mark 2020-07-11 16:03:43 +03:00
  • cfe74eac3b Add clock_t and useconds_t to user types Mark 2020-07-11 12:57:31 +03:00
  • 801df710d2 Unclutter debug Mark 2020-07-11 01:20:13 +03:00
  • f08fcd77da Use struct list_head to link thread in a process Mark 2020-07-10 17:01:24 +03:00
  • 8ba9dc6b10 Thread termination with exit() syscall Mark 2020-07-10 16:41:40 +03:00
  • 75be29e98e Inherit signal entry on clone() Mark 2020-07-10 13:57:24 +03:00
  • fcbb039bc3 PID is now generated in process_init_thread() Mark 2020-07-10 13:43:06 +03:00
  • 6ae176d516 Add sigaltstack() syscall Mark 2020-07-10 13:41:15 +03:00
  • d054c1c16d More detailed process info in exception handler Mark 2020-07-10 13:40:22 +03:00
  • 65e5cd552f Free fxsave buffer in process_free Mark 2020-07-08 22:50:49 +03:00
  • 4df8f39f78 Fix improper interruption of sleep Mark 2020-07-08 13:29:52 +03:00
  • ea55fbf3ee Add shebang handling Mark 2020-07-07 22:55:50 +03:00
  • c60ddf21c9 Add (buggy) SIGSTOP/SIGCONT for processes Mark 2020-07-06 23:39:31 +03:00
  • 5cc98cf104 Add acpi event output via char device Mark 2020-07-06 21:58:19 +03:00
  • 8f1e6fc610 Disallow open()ing sockets Mark 2020-07-07 15:58:04 +03:00
  • a6ccddd695 Add (sketchy) unix domain sockets Mark 2020-07-07 15:42:51 +03:00
  • ecf4262646 Separate notions of "thread" and "process" Mark 2020-07-05 23:16:10 +03:00
  • cf837f6874 Add vnode ops to subdirs of sysfs Mark 2020-07-05 20:25:53 +03:00
  • cdc61fc168 Increase heap size for thinkpad ACPI Mark 2020-07-05 18:55:35 +03:00
  • d7bc4e2f01 Always reset wait descriptor owner when awakening Mark 2020-07-05 18:55:15 +03:00
  • b6f29c2cd7 Treat req. pid == pid the same as req. pid == 0 in setpgrp Mark 2020-07-05 18:54:41 +03:00
  • b8a9f12307 Reenable detailed UBsan messages Mark 2020-07-05 18:54:29 +03:00
  • b646a11dc3 Fix: pipe() call didn't ref ofiles properly Mark 2020-07-05 18:53:55 +03:00
  • 2d5fe1dac1 Fix: no NULL is placed at the end of envp/argv Mark 2020-07-05 18:53:20 +03:00
  • e01ac3f55b Fix UB: invalid u32 literal shift Mark 2020-07-05 18:52:48 +03:00
  • 5b8ef34eeb Move execve() Mark 2020-07-05 17:59:05 +03:00
  • eae186bbf2 A better set of functions for struct ofile Mark 2020-07-05 17:41:12 +03:00
  • 061d514beb Add mknod() and named pipes Mark 2020-07-05 17:13:38 +03:00
  • d446846ba6 Update readme Mark 2020-07-05 14:10:23 +03:00
  • 6fb5c4cb99 ring: wait when writing and buffer is full Mark 2020-07-05 13:50:35 +03:00
  • 5de915c6aa Add per-process links and lstat() Mark 2020-07-04 00:44:13 +03:00
  • 1499cba999 Fix uid_t/gid_t Mark 2020-07-04 00:43:49 +03:00
  • dbf4f57913 Use hardware-provided cursor on text-mode displays Mark 2020-07-03 11:19:24 +03:00
  • 014ff82396 Signal pipe read end on each write Mark 2020-07-03 11:10:36 +03:00
  • 93ac3dd59a Fix dup2() arg order, add dup() Mark 2020-07-03 11:10:11 +03:00
  • 80e1d8e330 Fix EOF condition in ring buffer a bit Mark 2020-07-02 12:48:27 +03:00
  • 4408de84a5 Weird Mark 2020-07-02 12:48:22 +03:00
  • 6f428c8343 More correct handling of VINTR/VEOF Mark 2020-07-01 17:51:42 +03:00
  • 5e96775826 Add pipe() and dup2() system calls Mark 2020-07-01 12:03:59 +03:00
  • 619b2d5e6c Fix invalid waitpid() notification Mark 2020-06-30 13:42:50 +03:00
  • a6891fd5e4 Add tab handling to console Mark 2020-06-26 13:07:11 +03:00
  • 47df6d1697 Update screenshot to something more recent Mark 2020-06-25 23:49:54 +03:00
  • 231d5d35f2 Also fix erase Mark 2020-06-25 17:30:21 +03:00
  • 5ad4e2da38 Fix the remaining old CSIs Mark 2020-06-25 17:29:22 +03:00
  • 1c895055b5 Change kernel link address to 4MiB Mark 2020-06-25 16:53:20 +03:00
  • 137604d84f Add support for text-mode console Mark 2020-06-25 16:53:08 +03:00
  • 4741249218 Add ACPI PCI write function Mark 2020-06-25 16:46:40 +03:00
  • c18e95ecc6 Stop relying on PDPE1GB and fixed addresses for PDs Mark 2020-06-23 12:59:38 +03:00
  • 55b2e665fd Port back CSI handling and cursor blink Mark 2020-06-19 16:40:50 +03:00
  • dd36f0decf (Maybe) better console subsystem Mark 2020-06-18 16:32:01 +03:00
  • bc36220152 Remove old console code Mark 2020-06-18 10:54:55 +03:00
  • 4b23568d2f Remove debug output from wait Mark 2020-06-15 12:50:13 +03:00
  • 24681a507c Fix procv_strcpy_paged returning zero instead of length Mark 2020-06-15 12:01:58 +03:00
  • 1f10370b87 Add (hacky) environ handling Mark 2020-06-14 23:31:40 +03:00
  • 89c48841e0 Don't crash system when have excess memory Mark 2020-06-14 18:17:55 +03:00
  • f05e7d2640 Remove old networking stack Mark 2020-06-13 00:33:10 +03:00
  • 7e8c6d275c Reenumerate PCI devices when a driver is registered Mark 2020-06-13 00:21:44 +03:00
  • f5d6370403 Fix unaligned word accesses Mark 2020-06-12 17:30:41 +03:00
  • 6ebf440b60 Fix invalid CR3 loading on execve() when timer ticks Mark 2020-06-12 11:12:01 +03:00
  • 765223b361 More compact panic/backtrace Mark 2020-06-11 23:49:26 +03:00
  • 6d7a3c9756 Re-enable VESA driver Mark 2020-06-11 19:58:01 +03:00
  • 99d4bd642c Fix ring buffer overflow due to missed keys Mark 2020-06-11 19:28:36 +03:00
  • d34e0c4faa Fix double ring signalling leading to crash Mark 2020-06-11 18:19:55 +03:00
  • 34ece34e01 More detailed panic messages Mark 2020-06-11 17:11:24 +03:00
  • 30f027fd2d Proper port support for UDP Mark 2020-06-01 18:41:13 +03:00
  • a378bc27d1 Remove unused headers Mark 2020-06-01 16:42:15 +03:00
  • 2dd7933c0d Fix invalid ICANON reader notification Mark 2020-06-01 12:58:51 +03:00
  • c66f205712 Bring back TCP reset code Mark 2020-06-01 12:38:50 +03:00
  • 5d239311d7 Fix huge delays in packet rx handling Mark 2020-06-01 12:24:40 +03:00
  • be92b3b137 Adapt network headers for libc Mark 2020-05-31 22:21:44 +03:00
  • 954d5838ed Add signal numbers Mark 2020-05-29 18:00:00 +03:00
  • 9c69ec7775 Remove legacy building instructions Mark 2020-05-29 17:03:32 +03:00
  • 9750471abf Add support for directories in sysfs Mark 2020-05-29 15:16:21 +03:00
  • a16d6482f6 Implement chown/chmod for tarfs Mark 2020-05-29 14:28:43 +03:00