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
//! macOS: Seatbelt refuses a read its profile denies with `EPERM`. A file
//! mode refuses with `EACCES`, and a missing file is `ENOENT`, so neither is
//! taken for the run's sandbox.
use io;
/// `EPERM` on macOS.
const EPERM: i32 = 1;
/// Nothing to read of this process on macOS: the error says it.
;
/// Read the lock: Seatbelt refuses reads of the state directory.
pub
pub
/// A process in no sandbox, for the tests.
pub
/// The refusal a guard under `openmoat run` gets, for the tests.
pub