Skip to main content

probe_read_user_str

Function probe_read_user_str 

Source
pub fn probe_read_user_str<F: KernelAuxiliaryOps>(
    dst: &mut [u8],
    src: *const u8,
) -> BpfResult<usize>
Expand description

Copy a NULL terminated string from an unsafe user address unsafe_ptr to dst.