Lines Matching defs:so
552 * so the caller may need to revert the sbuf by restoring the offset if
1096 mls_inpcb_create(struct socket *so, struct label *solabel, struct inpcb *inp,
1120 mls_inpcb_sosetlabel(struct socket *so, struct label *solabel,
1125 SOCK_LOCK_ASSERT(so);
1175 /* NOOP: we only accept matching labels, so no need to update */
1220 /* NOOP: we only accept matching labels, so no need to update */
1852 mls_socket_check_deliver(struct socket *so, struct label *solabel,
1864 SOCK_LOCK(so);
1866 SOCK_UNLOCK(so);
1872 mls_socket_check_relabel(struct ucred *cred, struct socket *so,
1878 SOCK_LOCK_ASSERT(so);
1925 mls_socket_check_visible(struct ucred *cred, struct socket *so,
1936 SOCK_LOCK(so);
1938 SOCK_UNLOCK(so);
1941 SOCK_UNLOCK(so);
1947 mls_socket_create(struct ucred *cred, struct socket *so,
1959 mls_socket_create_mbuf(struct socket *so, struct label *solabel,
1967 SOCK_LOCK(so);
1969 SOCK_UNLOCK(so);
1990 mls_socket_relabel(struct ucred *cred, struct socket *so,
1995 SOCK_LOCK_ASSERT(so);
2005 struct socket *so, struct label *sopeerlabel)
2012 SOCK_LOCK(so);
2014 SOCK_UNLOCK(so);
2620 * exec-time as part of MLS, so disallow non-NULL MLS label