socket_getpeersec_stream

Function socket_getpeersec_stream 

Source
pub fn socket_getpeersec_stream(
    current_task: &CurrentTask,
    socket: &Socket,
) -> Result<Vec<u8>, Errno>
Expand description

Returns the Security Context with which the [crate::vfs::Socket]’s peer is labeled. Corresponds to the socket_getpeersec_stream() LSM hook.