Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-09-17 | kernel/amd64: add HPET support, slightly rework time handling | dzwdz | |
2023-09-15 | kern: fix GDT order for 64bit sysret | dzwdz | |
2023-09-13 | cmd/init: remove /initctl, use intr instead | dzwdz | |
2023-09-11 | *: rename /kdev/ to /dev/ | dzwdz | |
2023-09-09 | kernel: gracefully handle no serial port | dzwdz | |
2023-09-09 | kernel: build /kdev/ on the fly | dzwdz | |
2023-09-07 | kernel: slightly refactor the page allocator | dzwdz | |
2023-09-06 | boot: compress the init module | dzwdz | |
2023-09-06 | kernel: fix panic with large initrd | dzwdz | |
2023-09-03 | misc: remove old debug prints | dzwdz | |
the rtl8139 mac wasn't being read correctly anyways, and the init stuff wasn't revelant in ages. the rest is relatively useful | |||
2023-09-03 | build: -Os | dzwdz | |
2023-08-31 | kernel: add _sys_getprocfs in place of HANDLE_PROCFS | dzwdz | |
This makes the side-effects more explicit, and feels less hacky than `HANDLE_PROCFS`. I don't think accessing a handle alone should have side-effects, even if it's a "special" one. | |||
2023-08-30 | style: get rid of eprintf | dzwdz | |
2023-08-29 | kernel: remove _sys_await, emulate it in libc | dzwdz | |
2023-08-27 | ports: qbe, cproc :^) | dzwdz | |
2023-08-14 | reorganization: first steps | dzwdz | |
2023-08-13 | kern: undo accidentally commited debug code | dzwdz | |
2023-08-06 | kernel: put every driver in /kdev/ | dzwdz | |
there's no real reason for bootstrap to be doing that, and this brings it closer to only doing the elf loading | |||
2023-06-17 | kernel: fix procfs overflow bug, add safeguard to prevent similar ones | dzwdz | |
2023-06-11 | kernel: replace await with wait2, roughly compatible with POSIX | dzwdz | |
dash works now :^))) | |||
2023-06-10 | kernel: implement DUP_SEARCH (like unix's F_DUPFD) | dzwdz | |
2023-06-10 | kernel: implement getpid, getppid | dzwdz | |
2023-06-04 | kernel: rework /proc/ and process IDs | dzwdz | |
I'm yet to write proper docs but the TL;DR is: Mounting /proc/ creates a new pid namespace. You're still visible in the old namespace with your old pid, but your children won't be. You see your own pid as 1. Current pids of children will be preserved, pids will be allocated starting from the highest one of your children. | |||
2023-02-23 | build: don't -Isrc/ in user code | dzwdz | |
2023-02-23 | fix: misc warnings | dzwdz | |
2023-02-23 | toolchain: update, move to a Camellia-specific toolchain | dzwdz | |
2023-02-22 | kernel/malloc: fill allocated and freed regions with junk | dzwdz | |
2023-01-25 | clean up the repo root | dzwdz | |
2023-01-25 | kernel: move /mem/alloc to /malloc and linker.ld to arch/amd64/ | dzwdz | |
2023-01-25 | kernel/driver: consolidate most header files into driver.h | dzwdz | |
2023-01-25 | kernel/irq: use a lookup table for irqs | dzwdz | |
2023-01-25 | kernel: consolidate some header files | dzwdz | |
2023-01-25 | kernel: remove accidental executable bit on proc.c | dzwdz | |
how. | |||
2023-01-25 | style: typedef structs, shorter namespaces | dzwdz | |
I've wanted to do this for a while, and since I've just had a relatively large refactor commit (pcpy), this is as good of a time as any. Typedefing structs was mostly inspired by Plan 9's coding style. It makes some lines of code much shorter at basically no expense. Everything related to userland kept old-style struct definitions, so as not to force that style onto other people. I also considered changing SCREAMING_ENUM_FIELDS to NicerLookingCamelcase, but I didn't, just in case that'd be confusing. | |||
2023-01-25 | kernel/virt: replace the virt_cpy api with a more foolproof one | dzwdz | |
2023-01-24 | kernel/procfs: prevent reading kernel memory | dzwdz | |
knew it | |||
2023-01-24 | kernel/procfs: allow reading memory of descendants | dzwdz | |
I'm suprised how short this patch is. It also feels like I've introducted a vulnerability somewhere with it. Hopefully it's a false feeling. | |||
2023-01-24 | kernel/procfs: allow interrupting processes | dzwdz | |
2023-01-24 | kern/driver/ps2: remove unused function | dzwdz | |
2023-01-19 | kernel: user interrupts | dzwdz | |
2023-01-19 | kernel: delay freeing reaped processes, slightly more strict states | dzwdz | |
2023-01-18 | kernel: add a root argument to process_next | dzwdz | |
2023-01-11 | kernel: return EPIPE when fs_waiting on a dead filesystem | dzwdz | |
2023-01-08 | kernel: let parents kill their children again | dzwdz | |
2023-01-08 | kernel/proc: don't kill children when parent dies | dzwdz | |
2023-01-06 | kernel: basic procfs | dzwdz | |
2023-01-06 | kernel: turn the NULLFS into an always present special handle | dzwdz | |
preparing for HANDLE_PROCFS | |||
2022-12-27 | amd64/ata: poll properly | dzwdz | |
2022-12-26 | amd64/ata: write support | dzwdz | |
2022-12-26 | amd64/ata: refactor the ATA driver | dzwdz | |