Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-hypervisor/cloud-hypervisor
/ restrict_self
Method
restrict_self
vmm/src/landlock.rs:116–121 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
114
}
115
116
pub fn restrict_self(self) -> Result<(), LandlockError> {
117
self.ruleset
118
.restrict_self()
119
.map_err(LandlockError::ManageRuleset)?;
120
Ok(())
121
}
122
}
123
124
#[test]
Callers
5
start_vmm
Function · 0.80
start_event_monitor_thread
Function · 0.80
setup_signal_handler
Method · 0.80
apply_landlock
Method · 0.80
start_http_thread
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected