Commit Graph

884 Commits

Author SHA1 Message Date
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
ffb4097436 Add RISC-V timer support 2025-05-29 19:51:02 +08:00
63daf69e17 Fix incorrect types in sys_getcpu 2025-05-29 10:33:02 +08:00
56e9824dd1 Make current_cpu_racy a method of CpuId 2025-05-29 10:33:02 +08:00
79b3f68892 Make the RCU lifetime of page tables explicit 2025-05-24 17:42:17 +08:00
54fbdcf059 Implement the stray marking in PT to ensure serializability 2025-05-24 17:42:17 +08:00
5b7637eac3 Remove the activation lock and use RCU to protect PT removal 2025-05-24 17:42:17 +08:00
189daa2e09 Fix the return value of read_link for ext2 2025-05-23 10:17:08 +08:00
95744692a5 Remove unnecessary #[inline] attributes 2025-05-22 12:19:21 +08:00
02463ff161 Bump xmas-elf 2025-05-12 22:00:13 +08:00
d5c7a8bae3 Allow non-leaders to operate jobs 2025-05-12 16:09:43 +08:00
773b965767 Allow specifying orderings when loading/storing AtomicCpuSets 2025-05-11 15:29:17 +08:00
ff907d1131 Implement race-free job control 2025-05-09 17:12:31 +08:00
6f20cfbe69 Move fields from PTY master to slave 2025-05-09 17:12:31 +08:00
89e8cd5936 Move functions related to spawning the init process to a seperate module 2025-05-09 13:19:57 +08:00
50ba735e96 Handle negative P(G)IDs via cast_(un)signed 2025-05-09 11:38:01 +08:00
d0719efcb4 Clarify some API usages 2025-05-06 18:47:10 +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
5e13e0c325 Resolve lints in the TTY module 2025-05-06 11:55:06 +08:00
7de9666e65 Retire incomplete features 2025-05-06 11:17:20 +08:00
54bd64269b Rename systree to aster-systree 2025-05-03 18:22:11 +08:00
f720c05706 Fail the CI if workspace lints are not enabled 2025-05-03 18:22:11 +08:00
725a46fe72 Modify VMO usages and fix the atomic-mode issue during handling page fault 2025-04-30 20:59:15 +08:00
af2a7f7497 Refactor the APIs of VMO based on the new XArray 2025-04-30 20:59:15 +08:00