492 Commits

Author SHA1 Message Date
Jianfeng Jiang
c99e6b4ced Implememt static cap credentials 2023-12-06 11:01:54 +08:00
Jianfeng Jiang
2a0446265e Add passwd&group files and enable gvisor uidgid test 2023-12-06 11:01:54 +08:00
Chuandong Li
5aa3124e66 Make the upgrade method of read-write locks atomic 2023-12-06 10:40:11 +08:00
Chuandong Li
07dd0fbd38 Fix the misuse of spin::mutex 2023-12-06 10:22:03 +08:00
Yingdi Shan
f6b01c1da2 Allow commit author emails to be @[mail.]zgclab.edu.cn 2023-12-01 10:02:59 +08:00
Chuandong Li
0fd7a473da Support streaming dma mappings 2023-11-29 13:39:54 +08:00
Chuandong Li
ceaba95fa0 Support coherent dma mappings 2023-11-29 13:39:54 +08:00
Jianfeng Jiang
ce5730287e Refactor session & tty code 2023-11-28 12:11:54 +08:00
Jianfeng Jiang
3bde0f6bb7 Add unit test for session and group 2023-11-28 12:11:54 +08:00
Jianfeng Jiang
9d8a2b420d Refactor tty&pty code 2023-11-28 12:11:54 +08:00
Jianfeng Jiang
001326110e Add trait FileIo and refactor current devices 2023-11-28 12:11:54 +08:00
Jianfeng Jiang
43fd1a52fa Add syscall getsid, setsid and refactor other syscalls 2023-11-28 12:11:54 +08:00
Jianfeng Jiang
9040fb54ea Add basic structures for session, terminal and job control 2023-11-28 12:11:54 +08:00
LI Qing
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
Ruihan Li
9e09196043 Timeout list should be accessed with IRQ disabled 2023-11-23 16:36:53 +08:00
Yuke Peng
232888982c Rename TrapInformation 2023-11-23 09:15:37 +08:00
Yuke Peng
edd808bd3d Refactor drivers 2023-11-23 09:15:37 +08:00
Yuke Peng
d809eca81d Rename print in framework to early_print 2023-11-23 09:15:37 +08:00
Yuke Peng
34e66a51d9 Reimplement print in std 2023-11-23 09:15:37 +08:00
Yuke Peng
01e485b96e Support virtio console device 2023-11-23 09:15:37 +08:00
Chuandong Li
e9544d489f Rename some confusing booleans 2023-11-23 07:10:18 +08:00
Js2xxx
e38c737256 Add some comments 2023-11-23 06:57:16 +08:00
Js2xxx
135fae6152 Update mergeable emails 2023-11-23 06:57:16 +08:00
Chen Chengjun
5cc9f250dd Implement a guard page for the kernel stack 2023-11-13 08:43:14 +08:00
Zhang Junyang
c776954dfc Print backtrace when there is uncaught panic 2023-11-09 13:22:34 +08:00
Zhang Junyang
ec3daca5fd Add ktest whitelist support 2023-11-09 13:22:34 +08:00
Zhang Junyang
f8e4295e90 Reimplement the user mode test shortcut 2023-11-09 13:22:34 +08:00
Zhang Junyang
8eb1e06c2a Implement should_panic expectation and refactor ktest 2023-11-09 13:22:34 +08:00
Zhang Junyang
45a6b2f46c Implement should_panic for ktest and clear the codebase 2023-11-09 13:22:34 +08:00
Zhang Junyang
bb0560530f Enable usermode unit test for specific crates 2023-11-09 13:22:34 +08:00
Zhang Junyang
b8818bb740 Add ktest framework 2023-11-09 13:22:34 +08:00
LI Qing
d7cc52c615 Update the version of pod 2023-11-09 03:38:37 +08:00
Yuke Peng
0e7f279bd6 Enable CI for MicroVM 2023-11-08 13:50:10 +08:00
LI Qing
4c72f5b7fa Add VmSegment and rewrite the vm allocation code with VmAllocOptions 2023-11-08 06:31:21 +08:00
LI Qing
b0b25f9282 Add VmReader and VmWriter 2023-11-08 06:31:21 +08:00
Tate, Hongliang Tian
644ebe5ab2 Update the license 2023-11-07 08:34:24 +08:00
Chen Chengjun
5d75298144 Make integration test runs in release mode 2023-11-06 08:55:48 +08:00
Chen Chengjun
cf1d4faab4 Fix a minor bug that lead to a crash in release mode 2023-11-06 08:55:48 +08:00
Ruihan Li
040f5a53ae Fix panic when listen backlog is one 2023-11-03 08:52:39 +08:00
Ruihan Li
f6c230f756 Fix endless loops when send buffer is full 2023-11-03 08:51:37 +08:00
Ruihan Li
c5d04c41a2 Allow commit author emails to be @[stu.]pku.edu.cn 2023-11-01 14:52:47 +08:00
Yuke Peng
0c7df54513 Impl virtio-mmio transport 2023-10-30 09:39:23 +08:00
Yuke Peng
4d927fed19 Impl virtio-mmio bus 2023-10-30 09:39:23 +08:00
Yuke Peng
f789aa357f Fix SafePtr 2023-10-30 09:39:23 +08:00
Yuke Peng
0a6aeb4a36 Enable IOApic 2023-10-30 09:39:23 +08:00
Yuke Peng
eeac55e2e5 Refactor console 2023-10-30 09:39:23 +08:00
Zhang Junyang
0a17d90532 Polish namings and interfaces of linux boot 2023-10-26 12:05:12 +08:00
Zhang Junyang
33ec7dec02 Use dummy tests for other boot protocols 2023-10-26 12:05:12 +08:00