Home
last modified time | relevance | path

Searched refs:newso (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/security/mac/
H A Dmac_socket.c243 mac_socket_newconn(struct socket *oldso, struct socket *newso) in mac_socket_newconn() argument
247 newso, newso->so_label); in mac_socket_newconn()
276 mac_socketpeer_set_from_socket(struct socket *oldso, struct socket *newso) in mac_socketpeer_set_from_socket() argument
283 oldso->so_label, newso, newso->so_peerlabel); in mac_socketpeer_set_from_socket()
H A Dmac_framework.h409 void mac_socket_newconn(struct socket *oldso, struct socket *newso);
419 struct socket *newso);
H A Dmac_policy.h462 struct label *oldsolabel, struct socket *newso,
476 struct label *oldsolabel, struct socket *newso,
/freebsd/sys/security/mac_stub/
H A Dmac_stub.c1056 struct socket *newso, struct label *newsolabel) in stub_socket_newconn() argument
1064 SOCK_LOCK(newso); in stub_socket_newconn()
1065 SOCK_UNLOCK(newso); in stub_socket_newconn()
1090 struct label *oldsolabel, struct socket *newso, in stub_socketpeer_set_from_socket() argument
1099 SOCK_LOCK(newso); in stub_socketpeer_set_from_socket()
1100 SOCK_UNLOCK(newso); in stub_socketpeer_set_from_socket()
/freebsd/sys/security/mac_lomac/
H A Dmac_lomac.c2047 struct socket *newso, struct label *newsolabel) in lomac_socket_newconn() argument
2057 SOCK_LOCK(newso); in lomac_socket_newconn()
2059 SOCK_UNLOCK(newso); in lomac_socket_newconn()
2092 struct label *oldsolabel, struct socket *newso, in lomac_socketpeer_set_from_socket() argument
2103 SOCK_LOCK(newso); in lomac_socketpeer_set_from_socket()
2105 SOCK_UNLOCK(newso); in lomac_socketpeer_set_from_socket()
/freebsd/sys/security/mac_test/
H A Dmac_test.c1887 struct socket *newso, struct label *newsolabel) in test_socket_newconn() argument
1893 SOCK_LOCK(newso); in test_socket_newconn()
1895 SOCK_UNLOCK(newso); in test_socket_newconn()
1965 struct label *oldsolabel, struct socket *newso, in test_socketpeer_set_from_socket() argument
1972 SOCK_LOCK(newso); in test_socketpeer_set_from_socket()
1974 SOCK_UNLOCK(newso); in test_socketpeer_set_from_socket()
/freebsd/sys/security/mac_biba/
H A Dmac_biba.c2251 struct socket *newso, struct label *newsolabel) in biba_socket_newconn() argument
2261 SOCK_LOCK(newso); in biba_socket_newconn()
2263 SOCK_UNLOCK(newso); in biba_socket_newconn()
2296 struct label *oldsolabel, struct socket *newso, in biba_socketpeer_set_from_socket() argument
2306 SOCK_LOCK(newso); in biba_socketpeer_set_from_socket()
2308 SOCK_UNLOCK(newso); in biba_socketpeer_set_from_socket()
/freebsd/sys/security/mac_mls/
H A Dmac_mls.c1959 struct socket *newso, struct label *newsolabel) in mls_socket_newconn() argument
1969 SOCK_LOCK(newso); in mls_socket_newconn()
1971 SOCK_UNLOCK(newso); in mls_socket_newconn()
2004 struct label *oldsolabel, struct socket *newso, in mls_socketpeer_set_from_socket() argument
2015 SOCK_LOCK(newso); in mls_socketpeer_set_from_socket()
2017 SOCK_UNLOCK(newso); in mls_socketpeer_set_from_socket()