Commit Graph

477 Commits

Author SHA1 Message Date
Matheus 7ff10acac7 execve: shebang support 2024-05-18 12:11:39 -03:00
Matheus b2644df9c2 sigreturn fix 2024-05-17 19:19:37 -03:00
Matheus 1b63e9b436 signals: more general changes 2024-05-17 18:48:57 -03:00
Matheus 7b0cc4c51b initial signal implementation 2024-05-14 15:04:48 -03:00
Matheus 6f37034ed0 initrd: fix prefixes 2024-05-12 13:56:45 -03:00
Matheus efecdade64 waitpid: fix use after free 2024-05-09 13:06:51 -03:00
Matheus cab7901825 fork syscall: fix first thread not being set in threads array 2024-05-08 21:23:16 -03:00
Matheus 6087a20d81 pmm and slab: switch from spinlocks to mutexes 2024-05-08 21:07:42 -03:00
Matheus ce3fad266b syscalls: implement O_CLOEXEC properly 2024-05-08 20:57:52 -03:00
Matheus c894352bc8 file: handle O_NOCTTY in fileflagstovnodeflags 2024-05-08 20:18:10 -03:00
Matheus bf841406d5 semaphore: signal safety 2024-05-08 20:13:12 -03:00
Matheus 0910232b56 interrupt: do userspace check on interrupt return to userspace 2024-05-08 19:22:37 -03:00
Matheus 52dfd2d499 nvme: set as bus master 2024-05-08 19:22:17 -03:00
Matheus ae47efa87d pty: handle tty ioctl 2024-05-08 15:59:40 -03:00
Matheus 09e36bdd4e file: fix dup 2024-05-08 15:58:30 -03:00
Matheus a2c7db6561 init: withx option 2024-05-07 21:54:12 -03:00
Matheus 91be53dec8 tty: don't echo tab 2024-05-07 21:21:31 -03:00
Matheus f2f7a629cc file: use mutex for locking rather than spinlock 2024-05-07 18:52:05 -03:00
Matheus 3ada71ec1d tty: more termios stuff 2024-05-07 18:51:31 -03:00
Matheus 51be9ce8bd sockfs: remove debug print 2024-05-07 18:19:27 -03:00
Matheus 373655f7e4 stuff 2024-05-03 15:16:35 -03:00
Matheus 8c7356df2c stat: fix return value 2024-05-03 15:15:07 -03:00
Matheus 2930506e59 keyboard: fix poll 2024-05-03 15:14:49 -03:00
Matheus 7b3c657f34 devfs: createdir and remove 2024-05-03 15:10:55 -03:00
Matheus 33c8a4d107 pty: initial implementation 2024-05-03 14:03:41 -03:00
Matheus dd46c4b766 scheduler: fix kernel stack unmapping 2024-05-01 22:41:59 -03:00
Matheus 8ff81b8f87 futex: fix use after free 2024-05-01 22:19:09 -03:00
Matheus 05049a091f job control: sessions and process groups 2024-05-01 21:42:38 -03:00
Matheus 1f848fe596 devfs: fixes and change behaviour of open 2024-05-01 21:39:56 -03:00
Matheus 5da946e0bd waitpid: W_NOHANG 2024-05-01 21:37:19 -03:00
Matheus 27d24f3e20 cpu: dont access cpu local storage using rdmsr 2024-04-29 21:26:47 -03:00
Matheus 43b209666f mmu: don't do tlb shootdowns if no other cpus are online 2024-04-29 21:26:13 -03:00
Matheus 6b16089a9f main: add tty_init() 2024-04-28 18:46:02 -03:00
Matheus e0c2cd9a2a scheduler: pid refcount 2024-04-28 18:45:43 -03:00
Matheus 8deb3a1144 context: CTX_INIT interrupt flag 2024-04-28 14:32:28 -03:00
Matheus 1fc3791bc9 tty: tty abstraction initial implementation 2024-04-27 13:42:57 -03:00
Matheus 14b641f1bf devfs: ability to remove devices 2024-04-25 21:21:17 -03:00
Matheus b61ffafc0c devfs: support directories inside it 2024-04-25 20:56:47 -03:00
Matheus e9d53ef62d update flanterm 2024-04-21 21:08:09 -03:00
Matheus a8bdb6e1ad x86-64: properly set up x87 state 2024-04-21 20:17:18 -03:00
Matheus 899186ea85 syscall log: log number of free physical pages before and after every system call 2024-04-21 20:16:38 -03:00
Matheus f827163056 munmap: fix memory leak 2024-04-21 20:16:01 -03:00
Matheus 43b08f12c4 keyboard: do poll_event 2024-04-20 21:24:07 -03:00
Matheus 5f4513794f localsocket: datacount 2024-04-20 15:47:58 -03:00
Matheus c829ebbb1b poll syscall: fix return from wait 2024-04-20 15:47:46 -03:00
Matheus d5421608bb vmm: acqure space mutex in page fault handler 2024-04-20 15:47:30 -03:00
Matheus 257eddc9d5 poll: fix deadlock 2024-04-20 15:47:00 -03:00
Matheus d10de37498 mouse: fix deadlock 2024-04-20 15:46:33 -03:00
Matheus 65ca92b3a3 vfs: add assert 2024-04-20 15:45:46 -03:00
Matheus e9ea25fa07 sockfs: FIONREAD ioctl 2024-04-20 15:45:36 -03:00