mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 20:03:22 +00:00
Remove the shim kernel crate
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
d76c7a5b1e
commit
dafd16075f
38
kernel/src/process/mod.rs
Normal file
38
kernel/src/process/mod.rs
Normal file
@ -0,0 +1,38 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
mod clone;
|
||||
pub mod credentials;
|
||||
mod exit;
|
||||
mod kill;
|
||||
pub mod posix_thread;
|
||||
#[allow(clippy::module_inception)]
|
||||
mod process;
|
||||
mod process_filter;
|
||||
pub mod process_table;
|
||||
mod process_vm;
|
||||
mod program_loader;
|
||||
mod rlimit;
|
||||
pub mod signal;
|
||||
mod status;
|
||||
pub mod sync;
|
||||
mod term_status;
|
||||
mod wait;
|
||||
|
||||
pub use clone::{clone_child, CloneArgs, CloneFlags};
|
||||
pub use credentials::{Credentials, Gid, Uid};
|
||||
pub use exit::do_exit_group;
|
||||
pub use kill::{kill, kill_all, kill_group, tgkill};
|
||||
pub use process::{
|
||||
ExitCode, JobControl, Pgid, Pid, Process, ProcessBuilder, ProcessGroup, Session, Sid, Terminal,
|
||||
};
|
||||
pub use process_filter::ProcessFilter;
|
||||
pub use process_vm::{MAX_ARGV_NUMBER, MAX_ARG_LEN, MAX_ENVP_NUMBER, MAX_ENV_LEN};
|
||||
pub use program_loader::{check_executable_file, load_program_to_vm};
|
||||
pub use rlimit::ResourceType;
|
||||
pub use term_status::TermStatus;
|
||||
pub use wait::{wait_child_exit, WaitOptions};
|
||||
|
||||
pub(super) fn init() {
|
||||
process::init();
|
||||
posix_thread::futex::init();
|
||||
}
|
Reference in New Issue
Block a user