pub unsafe extern "C" fn alpm_sandbox_setup_child(
handle: *mut alpm_handle_t,
sandboxuser: *const c_char,
sandbox_path: *const c_char,
) -> c_int
Expand description
Drop privileges by switching to a different user. @param handle the context handle @param sandboxuser the user to switch to @param sandbox_path if non-NULL, restrict writes to this filesystem path @return 0 on success, -1 on failure