Commit Graph

386 Commits

Author SHA1 Message Date
6d101c5b6d Use Mutex and RwLock in jinux-frame for jinux-std 2023-09-02 17:06:39 +08:00
df7bd65e70 TLB flush when modifying page table 2023-08-22 19:57:20 +08:00
8aef80f978 Return correct error type if executing a file that is not executable 2023-08-17 18:09:28 +08:00
3f15bcaf5d Refactor unix stream socket implementation 2023-08-15 20:54:10 +08:00
93429ae2c9 Write addrlen to user when writing socket addr 2023-08-15 20:54:10 +08:00
87c50384f9 Add syscall socketpair 2023-08-15 20:54:10 +08:00
4aeedd16d9 Add unix stream socket 2023-08-15 20:54:10 +08:00
af04ef874c Add unix stream socket test 2023-08-15 20:54:10 +08:00
ddb7be9296 Refactor current net codes 2023-08-15 20:54:10 +08:00
f6b327dbda Only update jinux version when bumping 2023-08-14 14:34:03 +08:00
caaa147b99 Fix using unsafe functions in unix_epoch 2023-08-14 14:33:26 +08:00
602c0e30fe Add version bumping mechanism 2023-08-14 10:45:01 +08:00
e7d1437fca Build Docker image with CI 2023-08-14 10:45:01 +08:00
7b390d9f8a Runner should return error if qemu itself fails 2023-08-14 10:45:01 +08:00
079b139298 Add prepared syscall test in docker container 2023-08-10 10:14:18 +08:00
f0f498e46a Support TSC-Deadline mode APIC timer 2023-08-09 22:14:35 +08:00
d1c0090d3a Refactor to remove redundant indent 2023-08-09 21:11:47 +08:00
af58912631 Fix short read in block read 2023-08-09 21:11:47 +08:00
36281eb1eb Allow setting callback for push char 2023-08-09 21:11:47 +08:00
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
c38e4f0800 Replace InFramePtr with SafePtr 2023-08-09 11:57:53 +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
04db7c8c3d Update rust version in docker image 2023-08-08 21:42:31 +08:00
2e7fd91264 Run ci with optimizations and specify ci pr types 2023-08-08 21:32:03 +08:00
c321e411f6 Fix the bug caused by opt-level=1 2023-08-08 21:30:23 +08:00
84155289cf Update project status in README 2023-08-08 12:29:30 +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
4a33020b4f Redesign the exposed configs of makefile and runner 2023-08-04 11:37:34 +08:00
bb5e9a2e97 Add github workflow config 2023-08-04 11:37:34 +08:00
37c7a99896 Use clippy with arguments 2023-08-04 11:37:34 +08:00
34860a4fa0 Make kvm cli configurable 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
d2cb607e3c Let eval automatically run syscall test 2023-08-04 11:37:34 +08:00
bb03be3cbd Refactor the build package to absorb the script 2023-08-04 11:37:34 +08:00
187069fd34 Refactor runner scripts to introduce eval 2023-08-04 11:37:34 +08:00
2e4b0432e0 Implement split instead of using heavy regex 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
807c8355c0 Implement kernel command line with init configuring 2023-08-04 11:37:34 +08:00
69cbfc72f5 Refactor boot and add placeholder kcmdline struct 2023-08-04 11:37:34 +08:00
eb8eb440b3 Initialize FxsaveArea with zero 2023-08-04 11:37:12 +08:00
b54843172b Resolve minor issues in mmap 2023-08-04 11:37:12 +08:00
48ae6611f6 Fix bad partial ord implementation 2023-08-04 11:37:12 +08:00
8fc4fa6f10 Fix for new format checks in the latest toolchain 2023-08-04 11:37:12 +08:00
5cf624f9ac Update toolchain to nightly 08-01 2023-08-04 11:37:12 +08:00
e6f13a0612 Fix or workaround 4 errors from linter 2023-08-04 11:37:12 +08:00
605a237d53 Pacify the linter for supporting multiple devices 2023-08-04 11:37:12 +08:00