1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
//! 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.
pub const REEXEC_SELFCHECK: Label;
/// Selects the root lanes' tests: the `ROOT` group, and the modules whose tests those lanes run whole.
pub const ROOT: Label;
/// Selects the tests that unshare namespaces and mounts (the `NAMESPACES` group).
pub const NAMESPACES: Label;
/// Selects the test that maps a drive letter for the whole logon session.
pub const DRIVE_MAPPING: Label;
/// Selects the `SETUID` group's tests.
pub const SETUID: Label;
/// Selects the setuid test that is also run as root (the `setuid-root` lane).
pub const SETUID_ROOT: Label;
/// Selects the path-resolution canaries and surveys (the `PATH_PROBES` group).
pub const PATH_PROBES: Label;
/// Selects the probes that elevate through `ShellExecuteEx` (the `SHELL_EXECUTE` group).
pub const SHELL_EXECUTE: Label;
/// Selects the probes that execute batch files through `ShellExecuteEx` (the `SHELL_PROBES` group).
pub const SHELL_PROBES: Label;
/// Selects the token and logon probes (the `ELEVATION_ROUTES` group).
pub const ELEVATION_ROUTES: Label;
/// Isolated `SHELL_PROBES` probe: a trailing dot on an existing extensionless file.
pub const ISOLATED_TRAILING_DOT: Label;
/// Isolated `SHELL_PROBES` probe: `PATHEXT` against an existing extensionless file.
pub const ISOLATED_PATHEXT_PRECEDENCE: Label;
/// Isolated `SHELL_PROBES` probe: whether an existing extensionless file ever launches.
pub const ISOLATED_EXISTING_EXTENSIONLESS: 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).
pub const CGROUP: Label;
/// Selects the `TRACER` group's tests: those that attach a tracer to a child, as a debugger would.
pub const TRACER: Label;
/// Selects the `UID_SWITCH` group's test: it runs as real root and switches to other real uids.
pub const UID_SWITCH: Label;
/// Selects the tests that gain real administrator or root privileges (the `ELEVATION` group).
pub const ELEVATION: 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.
pub const PIDFD_GROUP_SIGNAL: Label;
/// Selects the `CLONE3` group's tests: those that need a host whose seccomp profile and kernel allow
/// `clone3`. Docker's default seccomp profile answers `clone3` with `ENOSYS` (without
/// `CAP_SYS_ADMIN`): set `COSCA_TEST_CLONE3=0` under any default Docker profile.
pub const CLONE3: Label;
/// Selects the `STRAY_SIGNAL` group's tests: those whose failure may signal an unrelated process.
pub const STRAY_SIGNAL: 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).
pub const UNPRIVILEGED: Label;