cosca 0.7.0

Unified cross-platform subprocess management: spawning, stdio, process trees, stable identity, and elevation.
Documentation
//! Labels the lib's tests declare for skuld to select by.

/// Marks a test run under a label selection, to check that selection does not leak into re-exec'd children.
#[skuld::label]
pub const REEXEC_SELFCHECK: skuld::Label;

/// Selects the root lanes' tests: the `ROOT` group, and the modules whose tests those lanes run whole.
#[skuld::label]
pub const ROOT: skuld::Label;

/// Selects the tests that unshare namespaces and mounts (the `NAMESPACES` group).
#[skuld::label]
pub const NAMESPACES: skuld::Label;

/// Selects the test that maps a drive letter for the whole logon session.
#[skuld::label]
pub const DRIVE_MAPPING: skuld::Label;

/// Selects the `SETUID` group's tests.
#[skuld::label]
pub const SETUID: skuld::Label;

/// Selects the setuid test that is also run as root (the `setuid-root` lane).
#[skuld::label]
pub const SETUID_ROOT: skuld::Label;

/// Selects the path-resolution canaries and surveys (the `PATH_PROBES` group).
#[skuld::label]
pub const PATH_PROBES: skuld::Label;

/// Selects the probes that elevate through `ShellExecuteEx` (the `SHELL_EXECUTE` group).
#[skuld::label]
pub const SHELL_EXECUTE: skuld::Label;

/// Selects the probes that execute batch files through `ShellExecuteEx` (the `SHELL_PROBES` group).
#[skuld::label]
pub const SHELL_PROBES: skuld::Label;

/// Selects the token and logon probes (the `ELEVATION_ROUTES` group).
#[skuld::label]
pub const ELEVATION_ROUTES: skuld::Label;

/// Isolated `SHELL_PROBES` probe: a trailing dot on an existing extensionless file.
#[skuld::label]
pub const ISOLATED_TRAILING_DOT: skuld::Label;

/// Isolated `SHELL_PROBES` probe: `PATHEXT` against an existing extensionless file.
#[skuld::label]
pub const ISOLATED_PATHEXT_PRECEDENCE: skuld::Label;

/// Isolated `SHELL_PROBES` probe: whether an existing extensionless file ever launches.
#[skuld::label]
pub const ISOLATED_EXISTING_EXTENSIONLESS: skuld::Label;

/// Selects the `CGROUP` group's tests, and keeps in the cgroup lane the other tests its old `test(/cgroup/)` name
/// filter selected (most use fake leaves and also run in the main lanes).
#[skuld::label]
pub const CGROUP: skuld::Label;

/// Selects the `TRACER` group's tests: those that attach a tracer to a child, as a debugger would.
#[skuld::label]
pub const TRACER: skuld::Label;

/// Selects the `UID_SWITCH` group's test: it runs as real root and switches to other real uids.
#[skuld::label]
pub const UID_SWITCH: skuld::Label;

/// Selects the tests that gain real administrator or root privileges (the `ELEVATION` group).
#[skuld::label]
pub const ELEVATION: skuld::Label;

/// Selects the `PIDFD_GROUP_SIGNAL` group's tests: those that need Linux 6.9+, whose
/// `pidfd_send_signal` signals a whole process group through its leader's pidfd.
#[skuld::label]
pub const PIDFD_GROUP_SIGNAL: skuld::Label;

/// Selects the `UNPRIVILEGED` group's tests: those that mean something only when the process holds no
/// privilege (for one, `RLIMIT_NPROC` does not bind root).
#[skuld::label]
pub const UNPRIVILEGED: skuld::Label;