Replace lexical Rust fragments with real modules

This commit is contained in:
ms2k 2026-07-19 05:12:57 +09:00
commit 247819250b

View file

@ -427,7 +427,19 @@ fn require_captured_parent_edge(parent_edge: ParentEdge) -> io::Result<()> {
}
}
include!("process/broker.rs");
include!("process/recovery.rs");
include!("process/launch.rs");
include!("process/tests.rs");
mod broker;
mod launch;
mod recovery;
pub use broker::{dispatch_private_process_role, verify_direct_child_pidfd};
pub use launch::{
BarrierRelease, BarrierWait, append_parent_identity, exec_target, launch_barrier,
parse_wrapper_arguments, suspend_current_process,
};
pub use recovery::{
arm_parent_death_and_recheck, current_process_identity, match_recovery_process, parse_boot_id,
read_boot_id, read_start_time, recover_process, recover_process_action, require_pidfs_magic,
};
#[cfg(test)]
mod tests;