Ruihan Li
|
c3572e9548
|
Support SCM_CREDENTIALS
|
2025-07-23 20:02:15 +08:00 |
Qingsong Chen
|
e86f7584a3
|
Fix atomic mode issue when VMO commit needs IO
|
2025-07-23 11:23:03 +08:00 |
Cautreoxit
|
6ecccad3ee
|
Add sys_ioprio_set and sys_ioprio_get
|
2025-07-22 17:22:52 +08:00 |
Chen Chengjun
|
ef0382b164
|
Enhance waitid syscall support
|
2025-07-21 21:31:32 +08:00 |
Chen Chengjun
|
4d52241c6c
|
Fix some definition errors of siginfo_t
|
2025-07-21 21:31:32 +08:00 |
Qingsong Chen
|
f1299d4b8d
|
Save FPU context on signal stack
|
2025-07-18 11:40:16 +08:00 |
Qingsong Chen
|
6cd53fbb8a
|
Refactor FPU context using pre_schedule_handler
|
2025-07-18 11:40:16 +08:00 |
jiangjianfeng
|
010da31b3e
|
Align execve argument limits with Linux
|
2025-07-14 15:43:34 +08:00 |
Wang Siyuan
|
37cc54f2aa
|
Store `offset` in `MappedVmo` instead of `range`
|
2025-07-03 18:54:53 +08:00 |
Wang Siyuan
|
a13297ae4c
|
Add fields in `/proc/*/stat` and `/proc/*/status`
|
2025-07-02 20:13:47 +08:00 |
jiangjianfeng
|
e4c5c36be9
|
Support SO_PEERCRED & SO_PEERGROUPS
|
2025-06-24 17:25:44 +08:00 |
Zhang Junyang
|
93015a6090
|
Make user program relocation code readable
|
2025-06-24 10:15:09 +08:00 |
Marsman1996
|
1c56fbc871
|
Fix unwrap panic of dropped VMAR in PID status
|
2025-06-22 17:58:33 +08:00 |
Wang Siyuan
|
11f9675f37
|
Support the system call `mremap`
|
2025-06-21 16:18:09 +08:00 |
Marsman1996
|
bb3f21b41e
|
Fix integer overflow in futex wake
|
2025-06-20 15:58:19 +08:00 |
jiangjianfeng
|
95faea0fb0
|
Support WSTOPPED and WCONTINUED
|
2025-06-20 11:51:44 +08:00 |
Chen Chengjun
|
627dd0386b
|
Enable FUTEX_WAKE_OP
|
2025-06-16 11:02:17 +08:00 |
Chen Chengjun
|
860bb6c07f
|
Adjust and correct parts of the futex implementation code
|
2025-06-16 11:02:17 +08:00 |
Wang Siyuan
|
b605bed576
|
Fix some typos
|
2025-06-12 22:35:54 +08:00 |
Zhang Junyang
|
e78927b449
|
Manage frame tracking outside the page table
|
2025-06-12 22:34:46 +08:00 |
Ruihan Li
|
0661a0656b
|
Never queue an ignored signal
|
2025-06-12 16:15:53 +08:00 |
Cautreoxit
|
3e32a38316
|
Add sys_close_range
|
2025-06-11 19:56:12 +08:00 |
Ruihan Li
|
67065835ef
|
Redefine the TTY driver interface
|
2025-06-09 13:10:34 +08:00 |
Ruihan Li
|
45258d0475
|
Unpack `LineDiscipline` from `Arc`
|
2025-06-09 13:10:34 +08:00 |
Ruihan Li
|
9e2dde5ebb
|
Add `enqueue_signal_async`
|
2025-06-09 13:10:34 +08:00 |
jiangjianfeng
|
f0957d2f54
|
Fix clippy warnings in kernel crate
|
2025-06-06 18:22:09 +08:00 |
Zejun Zhao
|
3790f616fd
|
Rename `PageProperty::new` to `PageProperty::new_user`
|
2025-06-03 18:42:53 +08:00 |
Zhang Junyang
|
79b3f68892
|
Make the RCU lifetime of page tables explicit
|
2025-05-24 17:42:17 +08:00 |
Ruihan Li
|
d5c7a8bae3
|
Allow non-leaders to operate jobs
|
2025-05-12 16:09:43 +08:00 |
Ruihan Li
|
ff907d1131
|
Implement race-free job control
|
2025-05-09 17:12:31 +08:00 |
jiangjianfeng
|
89e8cd5936
|
Move functions related to spawning the init process to a seperate module
|
2025-05-09 13:19:57 +08:00 |
Ruihan Li
|
50ba735e96
|
Handle negative P(G)IDs via `cast_(un)signed`
|
2025-05-09 11:38:01 +08:00 |
Ruihan Li
|
d0719efcb4
|
Clarify some API usages
|
2025-05-06 18:47:10 +08:00 |
Ruihan Li
|
a993264265
|
Refactor and test `get{pgid,sid}`
|
2025-05-06 18:47:10 +08:00 |
Ruihan Li
|
7e4509df9c
|
Refactor and test `set{pgid,sid}`
|
2025-05-06 18:47:10 +08:00 |
Chen Chengjun
|
725a46fe72
|
Modify VMO usages and fix the atomic-mode issue during handling page fault
|
2025-04-30 20:59:15 +08:00 |
jiangjianfeng
|
8815ca384f
|
Add syscall ppoll
|
2025-04-21 11:19:48 +08:00 |
Zhang Junyang
|
85d4cdbbb0
|
Avoid excessive heap allocations in `sys_futex`
|
2025-04-15 21:56:15 +08:00 |
Ruihan Li
|
a1f81df263
|
Remove `ostd/src/mm/offset.rs`
|
2025-04-15 09:15:22 +08:00 |
Ruihan Li
|
8600278a5f
|
Drop files at the correct time
|
2025-04-14 21:13:11 +08:00 |
Ruihan Li
|
7e1abc1fbb
|
Rename `ProcessVmarGuard::get` to `unwrap`
|
2025-04-14 21:13:11 +08:00 |
Ruihan Li
|
ceb79ea27a
|
Always move zombie children to init
|
2025-04-07 13:01:22 +08:00 |
Chen Chengjun
|
e4f07b76a0
|
Add real vfork logics
|
2025-04-03 14:44:39 +08:00 |
le-monde-bleu
|
43e43ca133
|
Add vfork syscall and related clone flags
|
2025-04-03 14:44:39 +08:00 |
jiangjianfeng
|
0e1c660225
|
Make VmReader's several methods accept `&mut self`
|
2025-03-25 14:25:08 +08:00 |
Zhang Junyang
|
f1c7564184
|
Move CPU context implementations to a specific module
|
2025-03-21 21:19:50 +08:00 |
Zhang Junyang
|
f9284d3803
|
Workaround the missing process of a thread
|
2025-03-21 18:05:10 +08:00 |
Fabing Li
|
bce23a63bd
|
Add sys_signalfd/sys_signalfd implementation
|
2025-03-21 16:10:55 +08:00 |
Ruihan Li
|
bb1b41b413
|
Fix dead code lints
|
2025-03-21 16:00:35 +08:00 |
Chen Chengjun
|
135100a472
|
Modify the getting-VMAR usages in other syscalls
|
2025-03-20 14:20:47 +08:00 |
Chen Chengjun
|
2a20f6b59a
|
Add mutable functionality to the process VMAR
|
2025-03-20 14:20:47 +08:00 |
Chen Chengjun
|
248b24fb4e
|
Remove UserSpace abstraction from OSTD
|
2025-03-20 14:20:47 +08:00 |
jiangjianfeng
|
d366043876
|
Enable sig_action test from gVisor test
|
2025-03-14 16:09:11 +08:00 |
jiangjianfeng
|
7e96810e1a
|
Remove trampoline code in handling user kernel
|
2025-03-14 16:09:11 +08:00 |
Ruihan Li
|
aa29640ed7
|
Send RST packets when appropriate
|
2025-03-10 18:08:08 +08:00 |
Wang Siyuan
|
eca3c8fb59
|
Refactor RLimit64 to atomic
|
2025-03-06 11:22:05 +08:00 |
Chen Chengjun
|
801eac9386
|
Support PR_SET/GET_CHILD_SUBREAPER for sys_prctl
|
2025-03-03 19:31:50 +08:00 |
Ruihan Li
|
18e0eae331
|
Never expose `ERESTARTSYS` to the userspace
|
2025-02-23 23:11:05 +08:00 |
Ruihan Li
|
8187fa2f1b
|
Fix timeout mechanism in `wait_events`
|
2025-02-23 23:11:05 +08:00 |
Ruihan Li
|
2411ba671c
|
Reapply "Make `pause_timeout` return `EINTR`"
This reverts commit 7a017faa44.
|
2025-02-23 23:11:05 +08:00 |
Zejun Zhao
|
d71771e49a
|
Re-enable CFS
|
2025-02-11 10:51:12 +08:00 |
Ruihan Li
|
0dca168717
|
Use `#[expect(lint)]`, not `#[allow(lint)]`
|
2025-02-08 15:10:04 +08:00 |
Ruihan Li
|
b415538097
|
Remove useless `#[allow(lint)]`
|
2025-02-08 15:10:04 +08:00 |
Ruihan Li
|
b9ce3e64ad
|
Make the file lookup faster
|
2025-01-09 10:58:16 +08:00 |
Zhang Junyang
|
cdac59beda
|
Implement a new set of physical page APIs
|
2024-12-27 12:12:51 +08:00 |
Marsman1996
|
5df8d59563
|
Exit when handle_user_signal fail
|
2024-12-26 18:33:32 +08:00 |
anbo225
|
e75b6320ad
|
Add support for group-based permission checking in ext2
|
2024-12-26 17:07:55 +08:00 |
Ruihan Li
|
0bfe7aceb8
|
Utilize `ThreadLocal`
|
2024-12-26 14:51:20 +08:00 |
Marsman1996
|
9753d796c5
|
Add overflow check for futex_addr
|
2024-12-26 09:05:24 +08:00 |
Wang Siyuan
|
1e3403e756
|
Support ELF files with zero `p_filesz`.
|
2024-12-22 15:16:22 +08:00 |
Marsman1996
|
3d12ccdbea
|
Warn unsupported clone flags instead of panic
|
2024-12-20 09:21:25 +08:00 |
Fabing Li
|
24f1e02b26
|
Support prctl(PR_SET_KEEPCAPS/PR_GET_KEEPCAPS)
|
2024-12-17 20:14:13 +08:00 |
Fabing Li
|
636efe68fd
|
Give root process a full capability set
|
2024-12-17 20:14:13 +08:00 |
Ruihan Li
|
35c20620bc
|
Rewrite `exit()` and `exit_group()`
|
2024-12-17 19:36:38 +08:00 |
Zejun Zhao
|
bc5a058fc5
|
Add TODO for a potential vulnerability in futex implementation
|
2024-12-16 21:12:08 +08:00 |
Zejun Zhao
|
ced0023d6b
|
Introduce a syscall restart mechanism
|
2024-12-16 21:12:08 +08:00 |
Ruihan Li
|
1716f4f324
|
Use `Pollee` as the socket observer
|
2024-12-12 20:50:12 +08:00 |
Fabing Li
|
fc45592a28
|
Fix rlimits_test
|
2024-12-12 16:19:01 +08:00 |
Ruihan Li
|
969ac97144
|
Make atomic mode panics have clear messages
|
2024-12-11 20:27:29 +08:00 |
Ruihan Li
|
36fc1d3757
|
Move FS things to `PosixThread`
|
2024-12-05 13:44:09 +08:00 |
Ruihan Li
|
fe7e4884c9
|
Clarify what `CLONE_THREAD` depends on
|
2024-12-05 13:44:09 +08:00 |
徐启航
|
878f3f3760
|
Scheduling class support
|
2024-12-04 09:36:41 +08:00 |
anbo225
|
9608a57cb0
|
Make sys_setuid and sys_setgid behave consistently with Linux
|
2024-12-02 16:43:25 +08:00 |
Marsman1996
|
d44737360f
|
Remove assert in `check_segment_align`
|
2024-12-02 16:40:47 +08:00 |
Qingsong Chen
|
5e35704e38
|
Support eagerly FPU state save/restore
Co-authored-by: Shaowei Song <songshaowei.ssw@antgroup.com>
|
2024-11-29 21:53:14 +08:00 |
Ruize Tang
|
6c4f56723c
|
Fix futex lost wakeup
|
2024-11-27 10:27:22 +08:00 |
Ruize Tang
|
05ff441577
|
Clear `DF` flag during signal handling to conform to x86-64 calling convention
|
2024-11-26 10:50:58 +08:00 |
jiangjianfeng
|
495c93c2ad
|
Refactor Rwlock to take type parameter
|
2024-11-21 15:46:10 +08:00 |
Ruihan Li
|
ec2c6ab7a3
|
Make `Pollee` semi-stateless
|
2024-11-20 16:39:18 +08:00 |
Ruihan Li
|
fab61f5f66
|
Make `Pollee` stateless
|
2024-11-20 16:39:18 +08:00 |
Ruihan Li
|
5450d0bd71
|
Remove dead `(un)register_observer` methods
|
2024-11-20 16:39:18 +08:00 |
Ruihan Li
|
39d303c72f
|
Rename `get_current_userspace` to `current_userspace`
|
2024-11-15 13:24:58 +08:00 |
Ruihan Li
|
96de617ad9
|
Rename `get_user_space` to `user_space`
|
2024-11-15 13:24:58 +08:00 |
Ruihan Li
|
e6c613f538
|
Rename `(Posix)ThreadExt` to `As(Posix)Thread`
|
2024-11-13 21:44:37 +08:00 |
Ruihan Li
|
9233d1cdbb
|
Add `ThreadExt` and clean up `PosixThreadExt`
|
2024-11-13 21:44:37 +08:00 |
Ruihan Li
|
a4a8807a20
|
Remove `KernelThreadExt`
|
2024-11-13 21:44:37 +08:00 |
Marsman1996
|
c200997c9a
|
Avoid init stack top at `MAX_USERSPACE_VADDR`
|
2024-11-13 21:43:28 +08:00 |
Wang Siyuan
|
4ea3e49788
|
Refactor `Vmar` and `VmMapping`.
Co-authored-by: Zhang Junyang <junyang@stu.pku.edu.cn>
|
2024-11-13 17:29:57 +08:00 |
Ruihan Li
|
054c64542b
|
Use `PollAdaptor` to signal `SIGIO`
|
2024-11-13 14:15:44 +08:00 |
Ruihan Li
|
e32fb2f91b
|
Introduce `PollAdaptor` and `Poller`
|
2024-11-13 14:15:44 +08:00 |