Skip to content

Commit 8b213c2

Browse files
committed
missed this
1 parent a390068 commit 8b213c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/shims/trace/child.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ impl Supervisor {
137137
/// # Safety
138138
/// The invariants for `fork()` must be upheld by the caller.
139139
pub unsafe fn init_sv() -> Result<(), SvInitError> {
140+
// FIXME: Much of this could be reimplemented via the mitosis crate if we upstream the
141+
// relevant missing bits
142+
140143
// On Linux, this will check whether ptrace is fully disabled by the Yama module.
141144
// If Yama isn't running or we're not on Linux, we'll still error later, but
142145
// this saves a very expensive fork call

0 commit comments

Comments
 (0)