security_socket_setsockopt - check permissions before setting the options associated with socket
The event marks that an attempt to set a socket option occurred, probably by the
The event is triggered by the permissions check for the operation, as LSM hook.
The event gives insight to the socket details (which differs from the
setsockopt syscall event, that only pass the socket fd).
However, unlike the
setsockopt syscall event, the option value isn't passed.
int[K] - the file descriptor of the socket.
int[K] - the level that the option should apply to. If the
parse-argumentsoption is on, will be transformed to a string with the level name.
int[K] - the option that is set. If the
parse-argumentsoption is on, will be transformed to a string with the option name.
struct socketaddr*[K] - the details of the socket (like socket type, local IP and port for TCP/UDP sockets, etc.).
The LSM hook of the
setsockopt syscall implementation.