Skip to main content

send_memfd

Function send_memfd 

Source
fn send_memfd(
    socket: &UnixDatagram,
    path: &Path,
    data: &[u8],
    retry: impl Fn() -> bool,
) -> Result<()>
Expand description

Send the data in a sealed memfd, the only kind journald accepts, as SCM_RIGHTS of an otherwise empty datagram.