Commit Graph

544 Commits

Author SHA1 Message Date
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
644ebe5ab2 Update the license 2023-11-07 08:34:24 +08:00
5d75298144 Make integration test runs in release mode 2023-11-06 08:55:48 +08:00
cf1d4faab4 Fix a minor bug that lead to a crash in release mode 2023-11-06 08:55:48 +08:00
040f5a53ae Fix panic when listen backlog is one 2023-11-03 08:52:39 +08:00
f6c230f756 Fix endless loops when send buffer is full 2023-11-03 08:51:37 +08:00
c5d04c41a2 Allow commit author emails to be @[stu.]pku.edu.cn 2023-11-01 14:52:47 +08:00
0c7df54513 Impl virtio-mmio transport 2023-10-30 09:39:23 +08:00
4d927fed19 Impl virtio-mmio bus 2023-10-30 09:39:23 +08:00
f789aa357f Fix SafePtr 2023-10-30 09:39:23 +08:00
0a6aeb4a36 Enable IOApic 2023-10-30 09:39:23 +08:00
eeac55e2e5 Refactor console 2023-10-30 09:39:23 +08:00