Commit Graph

3414 Commits

Author SHA1 Message Date
jiangjianfeng a0042f7d28 Add syscall sendmmsg 2025-12-05 17:18:15 +08:00
jiangjianfeng 899e32c452 Add test for sendmmsg 2025-12-05 17:18:15 +08:00
vvsv 42bd84fa96 Some `make format` changes for the xfce overlay 2025-12-05 17:11:40 +08:00
vvsv 24d95eee5e Support nix-shell by logging in as root 2025-12-05 17:11:40 +08:00
zjp c9302471e8 Make some boot entry functions unsafe and document safety
The following functions are unsafe now:
- riscv_boot
- loongarch_boot
- ap_early_entry
- kernel_task_entry

Remove extern declaration of ap_early_entry from riscv_ap_early_entry
And
- Directly call ap_early_entry from module path.
- Clarify what safety requirements are on riscv_ap_early_entry
- Clarify how safety requirements are met on calling ap_early_entry
2025-12-05 15:46:34 +08:00
Chen Chengjun 314021c391 Correct the calculation of log_*_size 2025-12-05 15:26:32 +08:00
Chen Chengjun ad44264fc5 Correct the declaration of FsState 2025-12-05 15:26:32 +08:00
Chen Chengjun 3719caf5f1 Make the Superblock retain all the information from the RawSuperBlock 2025-12-05 15:26:32 +08:00
jiangjianfeng 9ad7c1855e Check device id in DeviceId::from_encoded_64 2025-12-04 20:55:01 +08:00
jiangjianfeng 83c158e3b5 Make device Inode behave like pointer 2025-12-04 20:55:01 +08:00
jiangjianfeng d8a4b3076f Support looking up block devices 2025-12-04 20:55:01 +08:00
jiangjianfeng e4a09f5503 Remove unused Misc device type 2025-12-04 20:55:01 +08:00
jiangjianfeng c4fdd390a9 Make ext2 handle fifo and devices correctly 2025-12-04 20:55:01 +08:00
jiangjianfeng 35708f9485 Add regression test for mknod and unix socket for ext2 2025-12-04 20:55:01 +08:00
Ruihan Li 13ecabcb46 Fix some style issues in `memory_region.rs` 2025-12-04 18:41:59 +08:00
Ruihan Li 66e293e989 Add `MemoryRegionType::is_physical` 2025-12-04 18:41:59 +08:00
jiangjianfeng 22b12c2cef Split nixos test as test-nixos-minimal and test-nixos-full 2025-12-04 17:54:58 +08:00
Wei Zhang 5ef4cd8209 Add xfce nix overlay
Signed-off-by: Wei Zhang <ruoyuan.zw@antgroup.com>
2025-12-04 16:42:19 +08:00
Tao Su 82cc2c1c5b Rename `syscall-feature-coverage` to `syscall-flag-coverage` 2025-12-04 12:51:45 +08:00
Hsy-Intel 2c9a11e43e Reduce #VE, disable SEPT #VE and enable notification for zero step attack detection in TDX environment 2025-12-04 09:48:17 +08:00
Ruihan Li 2168b32d88 Rustfmt socket option macros 2025-12-03 14:12:31 +08:00
Chen Chengjun 34ebccb2e9 Fix a bug of bind mount 2025-12-03 14:04:45 +08:00
Chen Chengjun 6a87dad817 Add tests for controller functionality of cgroup 2025-12-03 11:24:36 +08:00
Chen Chengjun d58ae3a782 Implement controller framework for cgroup subsystem 2025-12-03 11:24:36 +08:00
Chen Chengjun dda8161bef Adjust the attributes-related APIs of SysNode 2025-12-03 11:24:36 +08:00
Tao Su e648528c46 Update inotify-related SCML 2025-12-02 15:53:56 +08:00
Tate, Hongliang Tian 5b0f45bf14 Update README for the 2025 goal 2025-12-02 15:52:20 +08:00
jiangjianfeng 1bd5bdae84 Support NixOS distro and add CI to test
Co-authored-by: Qingsong Chen <changxian.cqs@antgroup.com>
2025-12-02 15:30:30 +08:00
Tate, Hongliang Tian c9c0f80248 Add a RFC: NixOS on Asterinas 2025-12-02 11:00:36 +08:00
Yuke Peng 8dced6873e frame: Add Reclaimable memory region to the `max_paddr` filter 2025-12-02 10:53:20 +08:00
Zhenchen Wang eec3dd0f34 Add inotify regression tests and gVisor tests
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-12-01 20:05:18 +08:00
Zhenchen Wang cf4f6e306c Add inotify SCML document
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-12-01 20:05:18 +08:00
Zhenchen Wang 156eeb1835 Add the fsnotify hook function to the VFS layer
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-12-01 20:05:18 +08:00
Zhenchen Wang 09665a7692 Implement inotify file and syscalls
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-12-01 20:05:18 +08:00
Zhenchen Wang 6eef70a634 Add fsnotify infrastructure for filesystem events
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2025-12-01 20:05:18 +08:00
Chen Chengjun 1a536d31b0 Fix a bug of caching negative dentry 2025-12-01 18:10:10 +08:00
Ruihan Li cf772b804e Fix option behavior in UNIX/netlink sockets 2025-12-01 13:46:02 +08:00
Ruihan Li f522bd72b2 Enable only one i8042 port at initialization 2025-12-01 10:22:14 +08:00
Ruihan Li 3258a264de Abstract common PS/2 logics 2025-12-01 10:22:14 +08:00
Ruihan Li 3ddbef06e4 Set timeout for i8042 transactions 2025-12-01 10:22:14 +08:00
Ruihan Li 0b664a012e Group modules into `device/registry` 2025-12-01 00:05:29 +08:00
Ruihan Li be01eef352 Revise error messages in `char.rs` 2025-12-01 00:05:29 +08:00
Ruihan Li 34a9f84c5a Remove `Char{File,Device}` & `DevtmpfsName` 2025-12-01 00:05:29 +08:00
Ruihan Li dc21266510 Remove `OpenCharFile` 2025-12-01 00:05:29 +08:00
Chen Chengjun 265fdc7080 Remove unused methods of IdAlloc 2025-11-30 23:58:58 +08:00
Chen Chengjun 2021160e97 Introduce IdBitmap to fix the syncing metadata bug of Ext2 2025-11-30 23:58:58 +08:00
Wang Siyuan 0677adc4e2 Switch to a new Docker image 0.16.1-20251130 2025-11-30 22:23:39 +08:00
Wang Siyuan a7b97db10f Install libnuma to osdk container and bump image version to 0.16.1-20251130 2025-11-30 18:12:46 +08:00
Wang Siyuan 2fc94a0d06 Bumped Docker image version to 0.16.1-20251129 2025-11-29 12:30:49 +08:00
Wang Siyuan 20a222378a Install libnuma to container 2025-11-29 12:30:49 +08:00