Commit Graph

2452 Commits

Author SHA1 Message Date
Qingsong Chen 490eaf6c81 Restructure the test directory 2025-07-04 18:52:26 +08:00
Qingsong Chen 8d56238b4d Switch to a new Docker image 2025-07-04 18:52:26 +08:00
Wang Siyuan 37cc54f2aa Store `offset` in `MappedVmo` instead of `range` 2025-07-03 18:54:53 +08:00
Ruihan Li 706f62e299 Support ANSI escape sequences 2025-07-03 17:47:56 +08:00
Ruihan Li abbf152d74 Re-enable framebuffer 2025-07-03 17:47:56 +08:00
Ruihan Li d73cbb5008 Clarify the `DeviceId` encoding 2025-07-03 14:30:14 +08:00
Wang Siyuan a13297ae4c Add fields in `/proc/*/stat` and `/proc/*/status` 2025-07-02 20:13:47 +08:00
Wei Zhang 513532fe95 Correctly handle partial writes and reads in writev and readv
When using writev or readv, if data is partially written or read, the
written or read bytes number should be returned instead of error.
2025-07-02 17:14:10 +08:00
Chen Chengjun f274af17de Add a regression test 2025-07-02 16:08:00 +08:00
Chen Chengjun fe24c2d8ae Ensure proper handling of out-of-bounds VMO access during page fault processing 2025-07-02 16:08:00 +08:00
Qingsong Chen 3d11849ce8 Bump Docker image version to 0.15.2-20250702 2025-07-02 15:39:53 +08:00
Qingsong Chen 7c68b36957 Install nix packages in docker image 2025-07-02 15:39:53 +08:00
js2xxx 4571fabc7a Fix integer overflow due to fair weight change 2025-07-02 11:00:34 +08:00
Ruihan Li ac0d92d878 Fix minor issues of the CPU extension module 2025-07-02 07:54:40 +08:00
jiangjianfeng 49ef0e9f7a Change the documentation website of OSTD 2025-07-01 17:07:28 +08:00
jiangjianfeng 2e09957ef9 Fix documentation check errors 2025-07-01 17:07:28 +08:00
jiangjianfeng 0d46c4323c Update RUSTDOCFLAGS for `cargo osdk doc` 2025-07-01 17:07:28 +08:00
jiangjianfeng 105ed3fd3c Add workflows to publish API documentation to self-hosted website 2025-07-01 17:07:28 +08:00
jiangjianfeng dc26e18310 Depend on int-to-c-enum instead of num crate 2025-06-30 15:48:40 +08:00
Ruihan Li 6146434f15 Unify the styles of the `arch` modules 2025-06-30 15:43:41 +08:00
Qingsong Chen 5e3e23bf7c Add basic i8042 keyboard support 2025-06-27 12:56:55 +08:00
Ruihan Li 3f1bf99b2a Make `mremap` behavior consistent with Linux 2025-06-26 11:41:56 +08:00
Ruihan Li 079be2f30f Enable syscall tests for UNIX sockets 2025-06-26 11:11:03 +08:00
Ruihan Li bef9304c85 Fix minor problems of UNIX sockets 2025-06-26 11:11:03 +08:00
Wang Siyuan 810580bda5 Fix underflow when merging VMAs 2025-06-26 11:10:38 +08:00
Zhang Junyang c7f489b726 Bump version to 0.15.2 2025-06-26 08:16:22 +08:00
Zhang Junyang 42ff8646e7 Fix the version bump script 2025-06-26 08:16:22 +08:00
Zhang Junyang 66598106bd Bump docker version refs 2025-06-26 08:16:22 +08:00
Ruihan Li 780b35848e Remove `SameSizeAs` 2025-06-25 15:57:23 +08:00
Ruihan Li 59e7d268d7 Tidy up the `PageTableEntryTrait` comments 2025-06-25 15:57:23 +08:00
jiangjianfeng e4c5c36be9 Support SO_PEERCRED & SO_PEERGROUPS 2025-06-24 17:25:44 +08:00
jiangjianfeng d7e88f93bd Support SO_ACCEPTCONN 2025-06-24 17:25:44 +08:00
jiangjianfeng ec8beab540 Support SO_PRIORITY 2025-06-24 17:25:44 +08:00
jiangjianfeng 8f6bc07b23 Support SO_SNDBUFFORCE & SO_RCVBUFFORCE 2025-06-24 17:25:44 +08:00
jiangjianfeng 283f6eebed Add regression test for UNIX stream socket options 2025-06-24 17:25:44 +08:00
Ruihan Li b891d7d215 Introduce `Endpoint` and `EndpointState` 2025-06-24 15:41:53 +08:00
Wang Siyuan a0cbe7551a Fix some user space address check 2025-06-24 12:15:24 +08:00
Wang Siyuan f442cc6d81 Automatically merge adjacent and compatible `VmMapping`s 2025-06-24 12:15:24 +08:00
js2xxx c5d57d5216 Fix mapping between `sched_attr` and `SchedPolicy` 2025-06-24 10:31:32 +08:00
Ruihan Li 0875cf6644 Move the test framework out 2025-06-24 10:24:13 +08:00
Ruihan Li 6af39b2d30 Add error code tests for `mremap` syscall 2025-06-24 10:24:13 +08:00
Ruihan Li ee542e043e Improve the test framework for MM syscalls 2025-06-24 10:24:13 +08:00
Zhang Junyang 93015a6090 Make user program relocation code readable 2025-06-24 10:15:09 +08:00
Ruihan Li 35e0918bce Don't race between enabling IRQs and halting CPU 2025-06-23 22:53:35 +08:00
Ruihan Li b96c8f9ed2 Make `ostd::trap::irq` public 2025-06-23 22:53:35 +08:00
Ruihan Li 751e0b2ebf Don't jump to the end of the cursor range 2025-06-23 10:54:30 +08:00
Ruihan Li 1c423d6b6d Unwrap some unreachable errors 2025-06-23 10:54:30 +08:00
Hsy-Intel 65fd1aac81 Sync CVM guest feature dependencies between kernel and virtio components 2025-06-23 10:32:09 +08:00
Marsman1996 826f56aeed Check file_table in PID directory before access 2025-06-22 17:58:33 +08:00
Marsman1996 1c56fbc871 Fix unwrap panic of dropped VMAR in PID status 2025-06-22 17:58:33 +08:00