MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / prctl_1arg

Function prctl_1arg

src/prctl.rs:36–39  ·  view source on GitHub ↗
(option: c_int)

Source from the content-addressed store, hash-verified

34
35#[inline]
36pub(crate) unsafe fn prctl_1arg(option: c_int) -> io::Result<c_int> {
37 const NULL: *mut c_void = null_mut();
38 syscalls::prctl(option, NULL, NULL, NULL, NULL)
39}
40
41#[inline]
42pub(crate) unsafe fn prctl_2args(option: c_int, arg2: *mut c_void) -> io::Result<c_int> {

Callers 15

get_keep_capabilitiesFunction · 0.85
secure_computing_modeFunction · 0.85
capabilities_secure_bitsFunction · 0.85
current_timer_slackFunction · 0.85
no_new_privsFunction · 0.85
dumpable_behaviorFunction · 0.85
timing_methodFunction · 0.85

Calls 1

prctlFunction · 0.50

Tested by

no test coverage detected