asterinas/kernel/src/process/mod.rs

40 lines
1.0 KiB
Rust
Raw Normal View History

2024-01-03 03:22:36 +00:00
// SPDX-License-Identifier: MPL-2.0
mod clone;
2024-05-06 05:35:13 +00:00
pub mod credentials;
mod exit;
2023-11-29 11:43:17 +00:00
mod kill;
2022-12-20 06:12:22 +00:00
pub mod posix_thread;
#[expect(clippy::module_inception)]
mod process;
mod process_filter;
2022-12-20 06:12:22 +00:00
pub mod process_table;
mod process_vm;
mod program_loader;
2024-12-11 11:43:20 +00:00
pub mod rlimit;
2022-10-31 08:14:41 +00:00
pub mod signal;
mod status;
2024-05-31 07:48:12 +00:00
pub mod sync;
2024-11-23 14:08:38 +00:00
mod task_set;
2023-09-01 03:40:22 +00:00
mod term_status;
mod wait;
pub use clone::{clone_child, CloneArgs, CloneFlags};
pub use credentials::{Credentials, Gid, Uid};
2023-11-29 11:43:17 +00:00
pub use kill::{kill, kill_all, kill_group, tgkill};
pub use process::{
2025-05-03 09:27:56 +00:00
broadcast_signal_async, enqueue_signal_async, spawn_init_process, ExitCode, JobControl, Pgid,
Pid, Process, ProcessGroup, Session, Sid, Terminal,
};
pub use process_filter::ProcessFilter;
pub use process_vm::{renew_vm_and_map, MAX_LEN_STRING_ARG, MAX_NR_STRING_ARGS};
2025-04-03 06:16:17 +00:00
pub use program_loader::{check_executable_file, ProgramToLoad};
pub use rlimit::ResourceType;
2023-09-01 03:40:22 +00:00
pub use term_status::TermStatus;
2025-07-21 10:37:48 +00:00
pub use wait::{do_wait, WaitOptions, WaitStatus};
2024-05-31 10:11:52 +00:00
pub(super) fn init() {
process::init();
posix_thread::futex::init();
2024-05-31 10:11:52 +00:00
}