Commit Graph

127 Commits

Author SHA1 Message Date
01328ee404 Fix panic when mount with invalid file system type 2025-06-06 18:26:24 +08:00
f0957d2f54 Fix clippy warnings in kernel crate 2025-06-06 18:22:09 +08:00
2e3de6218f Add more features for statx syscall 2025-06-06 15:07:20 +08:00
f946f09ee4 Implement netlink uevent socket 2025-06-06 11:33:09 +08:00
63daf69e17 Fix incorrect types in sys_getcpu 2025-05-29 10:33:02 +08:00
773b965767 Allow specifying orderings when loading/storing AtomicCpuSets 2025-05-11 15:29:17 +08:00
50ba735e96 Handle negative P(G)IDs via cast_(un)signed 2025-05-09 11:38:01 +08:00
a993264265 Refactor and test get{pgid,sid} 2025-05-06 18:47:10 +08:00
7e4509df9c Refactor and test set{pgid,sid} 2025-05-06 18:47:10 +08:00
1775bb0861 Support for timerfd-related syscalls 2025-04-25 16:33:46 +08:00
f38f476c3b Add support for mounting OverlayFS 2025-04-24 20:07:06 +08:00
3a5f270ee9 Made some minor improvements to syscall statx
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-04-23 20:39:54 +08:00
9e729593e8 Add syscall faccessat2
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-04-23 20:39:54 +08:00
8815ca384f Add syscall ppoll 2025-04-21 11:19:48 +08:00
14b8c48859 Adjust RISC-V's implementation for recent changes 2025-04-18 13:26:16 +08:00
7ac4fa9519 Add syscall statx
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-04-18 09:36:50 +08:00
ac42e83387 Add basic structure for netlink route socket 2025-04-15 17:20:12 +08:00
8600278a5f Drop files at the correct time 2025-04-14 21:13:11 +08:00
e4f07b76a0 Add real vfork logics 2025-04-03 14:44:39 +08:00
43e43ca133 Add vfork syscall and related clone flags 2025-04-03 14:44:39 +08:00
a47eda413c Add extended attribute (xattr) syscalls: setxattr, getxattr, listxattr and removexattr 2025-03-28 15:08:59 +08:00
f1c7564184 Move CPU context implementations to a specific module 2025-03-21 21:19:50 +08:00
bce23a63bd Add sys_signalfd/sys_signalfd implementation 2025-03-21 16:10:55 +08:00
135100a472 Modify the getting-VMAR usages in other syscalls 2025-03-20 14:20:47 +08:00
2a20f6b59a Add mutable functionality to the process VMAR 2025-03-20 14:20:47 +08:00
d366043876 Enable sig_action test from gVisor test 2025-03-14 16:09:11 +08:00
5f05963ee5 Inject a scalable buddy system allocator to OSTD
Co-authored-by: Zhe Tang <tangzh@stu.pku.edu.cn>
2025-03-14 08:37:37 +08:00
ffc7e3612d Fix RLimit lock update 2025-03-06 21:29:40 +08:00
c1dde01fc3 Add sched_attr system call series 2025-03-06 21:29:40 +08:00
eca3c8fb59 Refactor RLimit64 to atomic 2025-03-06 11:22:05 +08:00
801eac9386 Support PR_SET/GET_CHILD_SUBREAPER for sys_prctl 2025-03-03 19:31:50 +08:00
6d42a07e95 Implement getcpu syscall and add corresponding test application 2025-02-27 11:41:26 +08:00
8187fa2f1b Fix timeout mechanism in wait_events 2025-02-23 23:11:05 +08:00
d71771e49a Re-enable CFS 2025-02-11 10:51:12 +08:00
a6b3a65fe5 Don't allocate when possible in do_poll 2025-02-08 15:43:20 +08:00
0dca168717 Use #[expect(lint)], not #[allow(lint)] 2025-02-08 15:10:04 +08:00
b415538097 Remove useless #[allow(lint)] 2025-02-08 15:10:04 +08:00
b9ce3e64ad Make the file lookup faster 2025-01-09 10:58:16 +08:00
16db96e496 Adjust as_socket signature 2025-01-09 10:58:16 +08:00
e75b6320ad Add support for group-based permission checking in ext2 2024-12-26 17:07:55 +08:00
0bfe7aceb8 Utilize ThreadLocal 2024-12-26 14:51:20 +08:00
1a5bf7b0ad Add overflow check for given sigaltstack addr and size 2024-12-25 15:46:17 +08:00
6e46641a09 Fix a mmap MAP_FIXED issue 2024-12-24 09:10:10 +08:00
72cb160539 Add keepidle tcp option 2024-12-18 13:19:34 +08:00
24f1e02b26 Support prctl(PR_SET_KEEPCAPS/PR_GET_KEEPCAPS) 2024-12-17 20:14:13 +08:00
d72ce0351a Add permission checks for sys_capset 2024-12-17 20:14:13 +08:00
35c20620bc Rewrite exit() and exit_group() 2024-12-17 19:36:38 +08:00
1b56a8b600 Enable syscall restart 2024-12-16 21:12:08 +08:00
3bbdc68d39 Fix linter errors 2024-12-15 16:37:40 +08:00
13229cc037 Implement totalram and freeram computation for sysinfo 2024-12-15 16:37:40 +08:00