246d8521f2
Rename the nonblocking
method to is_nonblocking
...
We used to use `is_nonblocking()` in TCP streams, but use
`nonblocking()` in UDP datagrams.
Since `is_nonblocking()` is generally preferred, this commit renames
`nonblocking()` to `is_nonblocking()` in UDP datagrams.
2023-12-26 06:51:25 +08:00
14ee9c2dc7
Fix missing kernel/initramfs memory regions
2023-12-26 06:32:01 +08:00
7278589aa2
Prettify bootloader code
2023-12-26 06:32:01 +08:00
4e6f281956
CI should fail on triple faults
2023-12-26 06:32:01 +08:00
ff7e18b114
Clean up and enable more network tests
2023-12-25 11:39:57 +08:00
9a3f95eee2
Fix wrong regression test type
2023-12-24 07:05:24 +08:00
e6f3a6a8a4
Update docker image and add the benchmarks
2023-12-20 18:06:33 +08:00
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