Commit Graph

655 Commits

Author SHA1 Message Date
47d2a895af Fix a bug and support more clockids in vdso. 2023-12-20 16:20:07 +08:00
d24775001f Running regression test in ci 2023-12-20 14:18:07 +08:00
af81741f23 Workaround for QEMU BUG that causes CI to hang 2023-12-14 11:28:24 +08:00
f1a7c767d2 Fix IoMem read and write bugs 2023-12-14 11:26:37 +08:00
2ad9735eab Support VDSO in Jinux 2023-12-06 19:31:19 +08:00
715072b9f3 Implement a high precision gettime based on tsc 2023-12-06 19:31:19 +08:00
ba08895fc3 Fix the frequecy bug caused by IOAPIC 2023-12-06 19:31:19 +08:00
65ef055f4e impl From<TdCallError> for Error 2023-12-06 18:50:53 +08:00
2d0f5253e9 Add error handling 2023-12-06 18:50:53 +08:00
55ea3dc86f Add tdx-guest device 2023-12-06 18:50:53 +08:00
a91a35ebce Support alternate signal stack 2023-12-06 12:54:03 +08:00
3734306398 Refactor signal code 2023-12-06 11:01:54 +08:00
90be8038e0 Add credential-related syscalls 2023-12-06 11:01:54 +08:00
c99e6b4ced Implememt static cap credentials 2023-12-06 11:01:54 +08:00
2a0446265e Add passwd&group files and enable gvisor uidgid test 2023-12-06 11:01:54 +08:00
5aa3124e66 Make the upgrade method of read-write locks atomic 2023-12-06 10:40:11 +08:00
07dd0fbd38 Fix the misuse of spin::mutex 2023-12-06 10:22:03 +08:00
f6b01c1da2 Allow commit author emails to be @[mail.]zgclab.edu.cn 2023-12-01 10:02:59 +08:00
0fd7a473da Support streaming dma mappings 2023-11-29 13:39:54 +08:00
ceaba95fa0 Support coherent dma mappings 2023-11-29 13:39:54 +08:00
ce5730287e Refactor session & tty code 2023-11-28 12:11:54 +08:00
3bde0f6bb7 Add unit test for session and group 2023-11-28 12:11:54 +08:00
9d8a2b420d Refactor tty&pty code 2023-11-28 12:11:54 +08:00
001326110e Add trait FileIo and refactor current devices 2023-11-28 12:11:54 +08:00
43fd1a52fa Add syscall getsid, setsid and refactor other syscalls 2023-11-28 12:11:54 +08:00
9040fb54ea Add basic structures for session, terminal and job control 2023-11-28 12:11:54 +08:00
2edbe1f725 Add as_device method for file handle 2023-11-28 12:11:54 +08:00
576578baf4 Improve aquisition logic 2023-11-24 15:43:57 +08:00
3790efb0d9 Fix unexpected unlock of mutexes 2023-11-24 15:43:57 +08:00
9e09196043 Timeout list should be accessed with IRQ disabled 2023-11-23 16:36:53 +08:00
232888982c Rename TrapInformation 2023-11-23 09:15:37 +08:00
edd808bd3d Refactor drivers 2023-11-23 09:15:37 +08:00
d809eca81d Rename print in framework to early_print 2023-11-23 09:15:37 +08:00
34e66a51d9 Reimplement print in std 2023-11-23 09:15:37 +08:00
01e485b96e Support virtio console device 2023-11-23 09:15:37 +08:00
e9544d489f Rename some confusing booleans 2023-11-23 07:10:18 +08:00
e38c737256 Add some comments 2023-11-23 06:57:16 +08:00
135fae6152 Update mergeable emails 2023-11-23 06:57:16 +08:00
5cc9f250dd Implement a guard page for the kernel stack 2023-11-13 08:43:14 +08:00
c776954dfc Print backtrace when there is uncaught panic 2023-11-09 13:22:34 +08:00
ec3daca5fd Add ktest whitelist support 2023-11-09 13:22:34 +08:00
f8e4295e90 Reimplement the user mode test shortcut 2023-11-09 13:22:34 +08:00
8eb1e06c2a Implement should_panic expectation and refactor ktest 2023-11-09 13:22:34 +08:00
45a6b2f46c Implement should_panic for ktest and clear the codebase 2023-11-09 13:22:34 +08:00
bb0560530f Enable usermode unit test for specific crates 2023-11-09 13:22:34 +08:00
b8818bb740 Add ktest framework 2023-11-09 13:22:34 +08:00
d7cc52c615 Update the version of pod 2023-11-09 03:38:37 +08:00
0e7f279bd6 Enable CI for MicroVM 2023-11-08 13:50:10 +08:00
4c72f5b7fa Add VmSegment and rewrite the vm allocation code with VmAllocOptions 2023-11-08 06:31:21 +08:00
b0b25f9282 Add VmReader and VmWriter 2023-11-08 06:31:21 +08:00