Lines Matching defs:so
591 * so the caller may need to revert the sbuf by restoring the offset if
1178 biba_inpcb_create(struct socket *so, struct label *solabel,
1186 SOCK_LOCK(so);
1188 SOCK_UNLOCK(so);
1204 biba_inpcb_sosetlabel(struct socket *so, struct label *solabel,
1209 SOCK_LOCK_ASSERT(so);
1259 /* NOOP: we only accept matching labels, so no need to update */
1304 /* NOOP: we only accept matching labels, so no need to update */
2150 biba_socket_check_deliver(struct socket *so, struct label *solabel,
2162 SOCK_LOCK(so);
2164 SOCK_UNLOCK(so);
2169 biba_socket_check_relabel(struct ucred *cred, struct socket *so,
2175 SOCK_LOCK_ASSERT(so);
2222 biba_socket_check_visible(struct ucred *cred, struct socket *so,
2233 SOCK_LOCK(so);
2235 SOCK_UNLOCK(so);
2238 SOCK_UNLOCK(so);
2244 biba_socket_create(struct ucred *cred, struct socket *so,
2256 biba_socket_create_mbuf(struct socket *so, struct label *solabel,
2264 SOCK_LOCK(so);
2266 SOCK_UNLOCK(so);
2287 biba_socket_relabel(struct ucred *cred, struct socket *so,
2292 SOCK_LOCK_ASSERT(so);
2302 struct socket *so, struct label *sopeerlabel)
2309 SOCK_LOCK(so);
2311 SOCK_UNLOCK(so);
2995 * exec-time as part of Biba, so disallow non-NULL Biba label