Lines Matching full:socket
58 * selinux_netlbl_sock_genattr - Generate the NetLabel socket secattr
59 * @sk: the socket
62 * Generate the NetLabel security attributes for a socket, making full use of
63 * the socket's attribute cache. Returns a pointer to the security attributes
92 * @sk: the socket
95 * Query the socket's cached secattr and if the SID matches the cached value
163 * @family: the socket family
235 * being labeled by it's parent socket, if it is just exit */ in selinux_netlbl_skbuff_setsid()
315 * @req: incoming connection request socket
349 * socket via the request_sock struct in selinux_netlbl_inet_conn_request() but
369 * Called whenever a new socket is created by accept(2) or sctp_peeloff(3).
380 * selinux_netlbl_socket_post_create - Label a socket using NetLabel
381 * @sock: the socket to label
385 * Attempt to label a socket using the NetLabel mechanism using the given
424 * against the receiving socket. Returns zero on success, negative values on
475 * @level: the socket level or protocol
476 * @optname: the socket option name
490 * @sock: the socket
491 * @level: the socket level or protocol
492 * @optname: the socket option name
496 * options on a socket and a NetLabel is in place for the socket deny the
501 int selinux_netlbl_socket_setsockopt(struct socket *sock, in selinux_netlbl_socket_setsockopt()
516 * on-the-wire label that is assigned via the socket's options in selinux_netlbl_socket_setsockopt()
531 * selinux_netlbl_socket_connect_helper - Help label a client-side socket on
533 * @sk: the socket to label
537 * Attempt to label a connected socket with NetLabel using the given address.
550 * the socket */ in selinux_netlbl_socket_connect_helper()
570 * selinux_netlbl_socket_connect_locked - Label a client-side socket on
572 * @sk: the socket to label
576 * Attempt to label a connected socket that already has the socket locked
594 * selinux_netlbl_socket_connect - Label a client-side socket on connect
595 * @sk: the socket to label
599 * Attempt to label a connected socket with NetLabel using the given address.