Commit Graph

263 Commits

Author SHA1 Message Date
Matheus 78492d4b56 handle /etc/hostname, sethostname(2), gethostname(2) and uname(2) 2024-05-22 21:09:17 -03:00
Matheus a65e7fa8cc signal: check for pending signals before yield 2024-05-22 17:49:49 -03:00
Matheus 6bc3747856 scheduler: sched_terminateprogram() 2024-05-22 17:10:33 -03:00
Matheus 8e1033f170 waitpid: implement WSTOPPED and WCONTINUED 2024-05-22 13:48:21 -03:00
Matheus e965ae3ec4 signals: retry in case of ignored signal 2024-05-22 10:44:00 -03:00
Matheus 3587dfa28e jobctl/tty: foreground/background and send sighup on unregister 2024-05-21 17:48:41 -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 6087a20d81 pmm and slab: switch from spinlocks to mutexes 2024-05-08 21:07:42 -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 ae47efa87d pty: handle tty ioctl 2024-05-08 15:59:40 -03:00
Matheus f2f7a629cc file: use mutex for locking rather than spinlock 2024-05-07 18:52:05 -03:00
Matheus 373655f7e4 stuff 2024-05-03 15:16:35 -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 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 e0c2cd9a2a scheduler: pid refcount 2024-04-28 18:45:43 -03:00
Matheus 1fc3791bc9 tty: tty abstraction initial implementation 2024-04-27 13:42:57 -03:00
Matheus b61ffafc0c devfs: support directories inside it 2024-04-25 20:56:47 -03:00
Matheus d10de37498 mouse: fix deadlock 2024-04-20 15:46:33 -03:00
Matheus 7f297728fb ps2 mouse 2024-04-14 22:22:32 -03:00
Matheus 06629f3088 vmm: vmm_getphysical() 2024-04-14 19:11:15 -03:00
Matheus 6d04deeac9 kernel: expose threads to userspace (newthread and threadexit syscalls) 2024-04-14 16:12:52 -03:00
Matheus d33ef16f87 scheduler: sched_stopotherthreads() 2024-04-14 13:21:54 -03:00
Matheus d3b17b90b9 exit syscall: stop other threads 2024-04-14 13:12:28 -03:00
Matheus 55f407da08 scheduler: handle interruptions in sched_yield() when sleeping as to prevent lost wakeup 2024-04-14 12:42:43 -03:00
Matheus f19f784694 poll: fix interruptible sleep 2024-04-14 12:06:08 -03:00
Matheus 77105115f9 local sockets: initial implementation 2024-04-13 21:00:10 -03:00
Matheus 5197cdba2a syscalls: accept connect listen 2024-04-13 20:58:03 -03:00
Matheus 4a15120f7a net: remove doarp flag from netdev 2024-04-10 19:53:42 -03:00
Matheus a79b6240ed net: loopback device 2024-04-09 22:24:13 -03:00
Matheus dbb5ff27fd socket: SIOCSIFADDR ioctl 2024-04-07 23:40:51 -03:00
Matheus bba08c0b3e socket: SIOCADDRT ioctl 2024-04-07 21:44:07 -03:00
Matheus 989621840e sock: check if hdr->addr should actually be free()'d 2024-04-07 21:43:25 -03:00
Matheus 1ee2013600 udp: socket implementation 2024-04-07 16:39:20 -03:00
Matheus d49de825cc socket: initial implementation 2024-04-07 16:38:30 -03:00
Matheus 890bc57aa3 abi: add networking definitions 2024-04-07 16:36:25 -03:00
Matheus bb63689e64 vmm: add vmm_apinit() to vmm.h 2024-04-07 16:35:40 -03:00
Matheus e17583de1b poll: use spinlocks rather than mutexes for use in higher IPLs 2024-04-07 16:34:40 -03:00
Matheus ae1186c835 netdev: add a way to get it by name and show it in /dev 2024-04-07 16:33:42 -03:00
Matheus ef23d4b405 ipv4: routing table 2024-04-02 20:47:37 -03:00
Matheus 0a96bcf68d eth: process function 2024-03-30 18:40:25 -03:00
Matheus 52ab80bc9a scheduler: better define wakeup reasons 2024-03-30 18:39:26 -03:00
Matheus 84c20586c2 timer: fix an issue related to removing entries 2024-03-30 18:38:46 -03:00
Matheus 685e0abeec vionet: initial tx only implementation 2024-03-29 13:40:38 -03:00
Matheus 87b0ff64b2 virtio: feature negotiation 2024-03-29 13:36:48 -03:00
Matheus 2030ca8c5b pci: busmaster flag 2024-03-29 13:36:11 -03:00
Matheus 69978904b8 virtio: vioqueue_t 2023-12-31 16:10:32 -03:00