Enforce qualified pidfs host and process broker contracts
This commit is contained in:
parent
16defc768a
commit
f840a48376
1 changed files with 1539 additions and 30 deletions
44
.clippy.toml
Normal file
44
.clippy.toml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Generated from support/process-safety.toml; do not edit.
|
||||
|
||||
disallowed-types = [
|
||||
{ path = "std::process::Child", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "std::process::Command", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "tokio::process::Child", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "tokio::process::Command", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
]
|
||||
|
||||
disallowed-methods = [
|
||||
{ path = "libc::clone", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "libc::execve", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "libc::execveat", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "libc::fork", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "libc::posix_spawn", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "libc::sigaction", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "libc::signal", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "libc::vfork", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "libc::wait", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "libc::wait4", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "libc::waitid", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "libc::waitpid", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "nix::sys::signal::sigaction", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "nix::sys::wait::wait", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "nix::sys::wait::waitid", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "nix::sys::wait::waitpid", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "nix::unistd::execve", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "nix::unistd::execveat", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "nix::unistd::fork", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "nix::unistd::vfork", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "rustix::process::kill_process", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "rustix::process::kill_process_group", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "rustix::process::pidfd_open", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "rustix::process::pidfd_send_signal", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "rustix::process::waitid", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "rustix::process::waitpid", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "std::process::Child::kill", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "std::process::Child::try_wait", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "std::process::Child::wait", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "std::process::Child::wait_with_output", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "std::process::Command::output", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "std::process::Command::spawn", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
{ path = "std::process::Command::status", reason = "process control is confined to the reviewed Lazaret spawn/reap broker" },
|
||||
]
|
||||
Loading…
Reference in a new issue