()
| 157 | /// [the `proc` manual page]: https://man7.org/linux/man-pages/man5/proc.5.html |
| 158 | #[inline] |
| 159 | pub fn secure_computing_mode() -> io::Result<SecureComputingMode> { |
| 160 | unsafe { prctl_1arg(PR_GET_SECCOMP) }.and_then(TryInto::try_into) |
| 161 | } |
| 162 | |
| 163 | const PR_SET_SECCOMP: c_int = 22; |
| 164 |
nothing calls this directly
no test coverage detected