Commit Graph

908 Commits

Author SHA1 Message Date
11f9675f37 Support the system call mremap 2025-06-21 16:18:09 +08:00
33345f184a Count RSS when dropping RssDelta 2025-06-21 16:18:09 +08:00
bb3f21b41e Fix integer overflow in futex wake 2025-06-20 15:58:19 +08:00
95faea0fb0 Support WSTOPPED and WCONTINUED 2025-06-20 11:51:44 +08:00
bcf1e69878 Expose head/tail of RingBuffer 2025-06-19 16:30:02 +08:00
a3c5ab8cb4 Move virtio-mmio bus outside OSTD 2025-06-19 15:10:42 +08:00
2f097ab8f8 Check file_table before use 2025-06-18 17:28:28 +08:00
4a9977d9a7 Make zero reads/writes' behavior right 2025-06-17 16:09:33 +08:00
837f908690 Fix some pollee mistakes 2025-06-17 16:06:48 +08:00
5a514f6163 Check VSOCK_GLOBAL when creating VsockStreamSocket 2025-06-16 14:43:17 +08:00
ef7fdc6647 Fix improper handling of O_TRUNC for non-regular files 2025-06-16 12:10:58 +08:00
d5b12532a8 Require T: Send for CpuLocal<T, S> 2025-06-16 12:09:13 +08:00
627dd0386b Enable FUTEX_WAKE_OP 2025-06-16 11:02:17 +08:00
860bb6c07f Adjust and correct parts of the futex implementation code 2025-06-16 11:02:17 +08:00
45059bad21 Create a new PT rather than clearing it upon exec* 2025-06-16 10:18:19 +08:00
525085ab86 Implement system call msync 2025-06-15 16:25:37 +08:00
796635486c Handle broken netlink attributes 2025-06-13 11:27:22 +08:00
deab9b6f72 Truncate netlink messages 2025-06-13 11:27:22 +08:00
0e8106abfa Restrict visibility for TCP internals 2025-06-13 11:07:11 +08:00
639bc91e31 Clean up public re-exports under net/ 2025-06-13 11:07:11 +08:00
86a7aa09eb Improve exception handling panic message 2025-06-13 10:35:47 +08:00
b605bed576 Fix some typos 2025-06-12 22:35:54 +08:00
e78927b449 Manage frame tracking outside the page table 2025-06-12 22:34:46 +08:00
22ccfb1f2b Move COW out of OSTD 2025-06-12 22:34:46 +08:00
0661a0656b Never queue an ignored signal 2025-06-12 16:15:53 +08:00
3e32a38316 Add sys_close_range 2025-06-11 19:56:12 +08:00
71e08b3942 Clean up TTY termios definitions 2025-06-10 14:30:02 +08:00
8583eea62b Fix unreachable error in sys_timer_settime 2025-06-10 11:22:50 +08:00
9109741e8b Add TFDSetTimeFlags and fix reachable panic 2025-06-10 11:22:50 +08:00
0b471ef370 Add sys_epoll_pwait2 2025-06-09 20:20:40 +08:00
597139a7f7 Fix a clippy error 2025-06-09 17:22:14 +08:00
e9f35f6ab8 Debug for try_from impl for Duration 2025-06-09 14:51:05 +08:00
fe6b78058c Correct the blocking behavior 2025-06-09 13:10:34 +08:00
67065835ef Redefine the TTY driver interface 2025-06-09 13:10:34 +08:00
5a9a63e1a7 Use one lock for LineDiscipline 2025-06-09 13:10:34 +08:00
45258d0475 Unpack LineDiscipline from Arc 2025-06-09 13:10:34 +08:00
9e2dde5ebb Add enqueue_signal_async 2025-06-09 13:10:34 +08:00
c56aee92f4 Re-organize some systree-related code 2025-06-09 11:13:48 +08:00
a67bd8cdc9 Add macros to help implementing SysObj trait 2025-06-09 11:13:48 +08:00
1dd1c8c775 Enable read and write operations of the attribute to handle offset 2025-06-09 11:13:48 +08:00
3b1248ba7c Fix some potential bugs of sysfs 2025-06-09 11:13:48 +08:00
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
58e4f45bb1 Add per-CPU counters and track RSS for each Vmar 2025-06-03 23:24:32 +08:00
dfd3042276 Add dynamically-allocated CPU-local objects 2025-06-03 23:24:32 +08:00
3790f616fd Rename PageProperty::new to PageProperty::new_user 2025-06-03 18:42:53 +08:00
c73892c704 Mark pub(super) for internal methods 2025-06-01 15:06:53 +08:00
14388da548 Remove guard generics from xarray::Cursor 2025-06-01 15:06:53 +08:00