Skip to main content

krun_setuid

Function krun_setuid 

Source
pub unsafe extern "C" fn krun_setuid(ctx_id: u32, uid: uid_t) -> i32
Expand description

Set the uid before starting the microVM. This allows virtiofsd to run with CAP_SETUID for proper ownership handling.