Commit Graph

226 Commits

Author SHA1 Message Date
Matheus 98fc4eb23d file: FDTABLE_LIMIT 2023-06-27 19:54:33 -03:00
Matheus d06e00dda7 devfs: handle . properly 2023-06-27 19:39:27 -03:00
Matheus f0bb341be5 init: chdir to user home directory and set PWD to it 2023-06-27 19:35:35 -03:00
Matheus c5d87d3109 syscalls: chdir 2023-06-27 19:35:19 -03:00
Matheus 7e7504cde7 scheduler: sched_setroot and sched_setcwd 2023-06-27 19:34:45 -03:00
Matheus 2b1140c161 distro files: fix bash prompt 2023-06-27 19:33:57 -03:00
Matheus 58909673e9 devfs: getdents and a few fixes 2023-06-26 23:54:42 -03:00
Matheus 1d3989eb6f init: remove junk 2023-06-26 23:37:26 -03:00
Matheus facd03f2e8 tools: basic init 2023-06-26 23:36:38 -03:00
Matheus 0bb9ed191a syscall: allow userspace to call new system calls 2023-06-26 23:19:22 -03:00
Matheus a193516bbf syscalls: fcntl 2023-06-26 23:19:01 -03:00
Matheus 265d12f6b2 file: fd duping and related syscalls 2023-06-26 23:18:49 -03:00
Matheus e9f5dab300 file: move O_* declarations from open.c to kernel/file.h 2023-06-26 23:18:27 -03:00
Matheus 7d6e0885d3 open: O_DIRECTORY and O_CREAT support 2023-06-26 22:19:25 -03:00
Matheus c1dc6fd745 elf: fix rounding issue 2023-06-26 22:18:49 -03:00
Matheus 9bdbdb9378 syscalls: getdents syscall 2023-06-26 21:32:39 -03:00
Matheus 3b2b8201f6 stat: fix mode 2023-06-26 21:31:15 -03:00
Matheus e3bc7e8b8b timers: use DPCs to handle callbacks 2023-06-26 19:46:30 -03:00
Matheus 99a7eccbe4 kernel: DPC support 2023-06-25 21:00:14 -03:00
Matheus 3a85c64b80 interrupt: move initial interrupt_set(true) from apic.c to idt.c 2023-06-25 19:57:01 -03:00
Matheus 135b9d8009 interrupts: interrupt_raise 2023-06-25 19:56:33 -03:00
Matheus 80671b6e11 interrupts: execute pending interrupts 2023-06-25 16:00:08 -03:00
Matheus f03c34075e context (x86_64): change arch_context_saveandcall behaviour 2023-06-25 15:41:24 -03:00
Matheus 2ae3846b17 interrupt (x86_64): switch out _cpu()->ipl initialization from apic.c to idt.c 2023-06-25 15:40:42 -03:00
Matheus fef149ca55 vfs: redo vnode locking 2023-06-15 19:57:56 -03:00
Matheus 851385fbff kernel: munmap syscall 2023-06-12 23:11:59 -03:00
Matheus 320366586c syscalls: waitpid 2023-06-12 21:15:21 -03:00
Matheus 1256960e78 scheduler: fix newproc() unitialized variable 2023-06-12 21:13:55 -03:00
Matheus f2b76caa84 vmm: change how vmm_destroycontext is handled 2023-06-10 12:09:46 -03:00
Matheus 5ac1745b5f vmm: fix deadlock on new cache 2023-06-08 21:56:29 -03:00
Matheus b9fe4cc3b1 kernel: exit syscall 2023-05-30 10:32:58 -03:00
Matheus acf4a9819f reorder includes 2023-05-29 10:49:09 -03:00
Matheus 74924c4d11 file: cleanfile null vnode protection 2023-05-29 10:48:04 -03:00
Matheus 1c93fd89e2 coreutils port 2023-05-29 09:25:06 -03:00
Matheus 8412e71b0d mmu: destroy fixes 2023-05-29 08:59:43 -03:00
Matheus 0f4322b360 kernel: execve syscall 2023-05-29 07:51:45 -03:00
Matheus 311fd65a1c scheduler: add STACK_TOP and INTERP_BASE definitions to header 2023-05-29 07:51:16 -03:00
Matheus 85dc9cffdf vmm: rename DESTROY_FLAGS_NOSYNC and force hhdm mappings to use VMM_FLAGS_EXACT 2023-05-29 07:50:59 -03:00
Matheus 6761ca494b slab: fix indirect return object and add a debug assert define 2023-05-28 17:55:02 -03:00
Matheus 0afbff3881 kernel: fork syscall 2023-05-16 19:42:18 -03:00
Matheus 0f95ff18f0 context: CTX_RET and CTX_ERRNO macros 2023-05-16 19:36:30 -03:00
Matheus 29cd03313e vmm: vmm_fork, vmm_destroycontext and fix pagetable used on destroyrange 2023-05-16 19:36:06 -03:00
Matheus e0b2f2a582 mmu: arch_mmu_destroytable 2023-05-16 19:35:09 -03:00
Matheus 6f1eae6db1 file: fd_clone 2023-05-16 19:23:31 -03:00
Matheus 69b1ff7a70 vmm: map null hhdm page 2023-05-15 22:42:18 -03:00
Matheus 8e59a38e4c scheduler: thread sleep queue pointers 2023-05-15 22:38:03 -03:00
Matheus 96bb14c88a scheduler: bash login shell 2023-05-14 11:08:54 -03:00
Matheus cabd9d7e4b kernel: stat syscall family 2023-05-13 23:14:26 -03:00
Matheus c6f9f295ee distro files 2023-05-13 22:30:25 -03:00
Matheus 55967dacfb kernel: remove open flag assert 2023-05-13 22:30:11 -03:00