Commit Graph

71 Commits

Author SHA1 Message Date
a088acd0ec Foreground process group should be none if the process group exits 2023-08-09 21:11:47 +08:00
dbfb2e1a62 Fix the logic of cacheable flag for dentry 2023-08-09 12:02:18 +08:00
ab4b1b47dc Avoid holding lock when call accept and recvfrom 2023-08-09 11:34:09 +08:00
4f00e5a167 Add devpts to support the ptmx 2023-08-09 11:11:24 +08:00
7de44a0e0e Refine the name about initramfs
The bootloader loads the initramfs, then the kernel unpacks it to rootfs.
2023-08-04 17:19:19 +08:00
55267f0d81 Add Debug support for some fs components 2023-08-04 12:22:34 +08:00
acfbc7efdc Fix multiple issues in the initproc path 2023-08-04 11:37:34 +08:00
f674874e91 Rename eval to syscall test and fix return value 2023-08-04 11:37:34 +08:00
187069fd34 Refactor runner scripts to introduce eval 2023-08-04 11:37:34 +08:00
1090f03b34 Use kcmdline to specify init instead of hardcoding 2023-08-04 11:37:34 +08:00
69cbfc72f5 Refactor boot and add placeholder kcmdline struct 2023-08-04 11:37:34 +08:00
b54843172b Resolve minor issues in mmap 2023-08-04 11:37:12 +08:00
5cf624f9ac Update toolchain to nightly 08-01 2023-08-04 11:37:12 +08:00
6b87ff03ac Fix mmap flags 2023-08-04 11:37:12 +08:00
18f601dc79 Fix vmo offset bug after unmapping 2023-08-01 20:49:48 +08:00
e6afa934dc Move methods of VmMapping to VmMappingInner 2023-08-01 20:49:48 +08:00
1bfd6ea2f8 Add mount and umount fs support 2023-08-01 20:45:39 +08:00
9cb759efa2 Add a runtime check for scheduler with spin locks 2023-07-25 12:56:06 +08:00
47a51eb423 Adapt Multiboot2 and switch from Limine to Grub2 2023-07-24 16:31:38 +08:00
13c4c614b5 Optimize the CpioEntry to send data to the Write trait 2023-07-24 15:30:23 +08:00
4b3cf8daeb Simplify the unzipping ramdisk file to reduce the heap allocation 2023-07-24 15:30:23 +08:00
3a3cb7cd15 Implement copy for VmFrame 2023-07-21 10:57:04 +08:00
38ee2cafcd Inherit vmo at page granularity 2023-07-21 10:57:04 +08:00
2c33f5dae1 Removed unused vmo type 2023-07-21 10:57:04 +08:00
38a78cc3ce Fix: fork vmo should be resizable if parent is resizable 2023-07-21 10:57:04 +08:00
149e169b2c Drop parent once all inherited pages is committed by child 2023-07-21 10:57:04 +08:00
ad0ab0898a Refactor vmo inherit page from parent 2023-07-21 10:57:04 +08:00
9137ef434f Use docker as dev environment 2023-07-19 11:28:31 +08:00
bf961756b9 Set process executable path to interpreter path 2023-07-18 00:14:04 +08:00
829575b3a6 Upgrade POD and trapframe 2023-07-13 22:57:56 +08:00
445fb8eb76 Support nonblocking ip sockets 2023-07-10 11:53:46 +08:00
809e477bdf Reimplement writev 2023-07-10 11:53:46 +08:00
0018ac4d63 Support TCSETSW and TCSETSF for ioctl 2023-07-10 11:53:46 +08:00
3eab9cea6e clock_gettime supports clock_monotonic 2023-07-10 11:53:46 +08:00
db489f09a8 Support set status flag for socket 2023-07-10 11:53:46 +08:00
c7dda21e96 Remove special path in open 2023-07-10 11:53:46 +08:00
9d06f60ecc Add syscall getsockopt 2023-07-10 11:53:46 +08:00
dcfbeb270d Add syscall execveat 2023-07-10 11:53:46 +08:00
5815f248fc Add syscall getrandom 2023-07-10 11:53:46 +08:00
3600a3a439 Add support for chmod, fchmod, fchmodat 2023-07-09 11:07:42 +08:00
743344e3fc Add support for statfs and fstatfs 2023-07-09 11:07:42 +08:00
d692c102ae Support compressed initramfs image 2023-07-03 14:51:10 +08:00
78de1af348 Update spin lock users to lock_irq_disabled() 2023-07-03 13:22:44 +08:00
e2f3932cb8 Add syscall test framwork from gvisor 2023-07-03 13:20:20 +08:00
61c2f6ee82 Refactor the tty output logic 2023-06-27 19:45:01 +08:00
288374ee09 Fix dead lock in canonical mode 2023-06-27 19:45:01 +08:00
4c4366ccb0 Open stdio by opening /dev/tty 2023-06-05 17:34:16 +08:00
7803d9037e Add uninit option for VmAllocOption 2023-06-03 21:10:53 +08:00
7304e06c88 Add virtio net device driver 2023-06-01 14:39:19 +08:00
2985cdced6 Replace Mutex with Spinlock in tty to avoid deadlock 2023-05-31 20:59:01 +08:00