Searched refs:oldso (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/security/mac/ |
H A D | mac_socket.c | 243 mac_socket_newconn(struct socket *oldso, struct socket *newso) in mac_socket_newconn() argument 246 MAC_POLICY_PERFORM_NOSLEEP(socket_newconn, oldso, oldso->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 282 MAC_POLICY_PERFORM_NOSLEEP(socketpeer_set_from_socket, oldso, in mac_socketpeer_set_from_socket() 283 oldso->so_label, newso, newso->so_peerlabel); in mac_socketpeer_set_from_socket()
|
H A D | mac_framework.h | 409 void mac_socket_newconn(struct socket *oldso, struct socket *newso); 418 void mac_socketpeer_set_from_socket(struct socket *oldso,
|
H A D | mac_policy.h | 461 typedef void (*mpo_socket_newconn_t)(struct socket *oldso, 475 typedef void (*mpo_socketpeer_set_from_socket_t)(struct socket *oldso,
|
/freebsd/sys/security/mac_stub/ |
H A D | mac_stub.c | 1055 stub_socket_newconn(struct socket *oldso, struct label *oldsolabel, in stub_socket_newconn() argument 1060 SOCK_LOCK(oldso); in stub_socket_newconn() 1061 SOCK_UNLOCK(oldso); in stub_socket_newconn() 1089 stub_socketpeer_set_from_socket(struct socket *oldso, in stub_socketpeer_set_from_socket() argument 1095 SOCK_LOCK(oldso); in stub_socketpeer_set_from_socket() 1096 SOCK_UNLOCK(oldso); in stub_socketpeer_set_from_socket()
|
/freebsd/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 2046 lomac_socket_newconn(struct socket *oldso, struct label *oldsolabel, in lomac_socket_newconn() argument 2051 SOCK_LOCK(oldso); in lomac_socket_newconn() 2053 SOCK_UNLOCK(oldso); in lomac_socket_newconn() 2091 lomac_socketpeer_set_from_socket(struct socket *oldso, in lomac_socketpeer_set_from_socket() argument 2097 SOCK_LOCK(oldso); in lomac_socketpeer_set_from_socket() 2099 SOCK_UNLOCK(oldso); in lomac_socketpeer_set_from_socket()
|
/freebsd/sys/security/mac_test/ |
H A D | mac_test.c | 1886 test_socket_newconn(struct socket *oldso, struct label *oldsolabel, in test_socket_newconn() argument 1890 SOCK_LOCK(oldso); in test_socket_newconn() 1892 SOCK_UNLOCK(oldso); in test_socket_newconn() 1964 test_socketpeer_set_from_socket(struct socket *oldso, in test_socketpeer_set_from_socket() argument 1969 SOCK_LOCK(oldso); in test_socketpeer_set_from_socket() 1971 SOCK_UNLOCK(oldso); in test_socketpeer_set_from_socket()
|
/freebsd/sys/security/mac_biba/ |
H A D | mac_biba.c | 2250 biba_socket_newconn(struct socket *oldso, struct label *oldsolabel, in biba_socket_newconn() argument 2255 SOCK_LOCK(oldso); in biba_socket_newconn() 2257 SOCK_UNLOCK(oldso); in biba_socket_newconn() 2295 biba_socketpeer_set_from_socket(struct socket *oldso, in biba_socketpeer_set_from_socket() argument 2301 SOCK_LOCK(oldso); in biba_socketpeer_set_from_socket() 2303 SOCK_UNLOCK(oldso); in biba_socketpeer_set_from_socket()
|
/freebsd/sys/security/mac_mls/ |
H A D | mac_mls.c | 1958 mls_socket_newconn(struct socket *oldso, struct label *oldsolabel, in mls_socket_newconn() argument 1963 SOCK_LOCK(oldso); in mls_socket_newconn() 1965 SOCK_UNLOCK(oldso); in mls_socket_newconn() 2003 mls_socketpeer_set_from_socket(struct socket *oldso, in mls_socketpeer_set_from_socket() argument 2009 SOCK_LOCK(oldso); in mls_socketpeer_set_from_socket() 2011 SOCK_UNLOCK(oldso); in mls_socketpeer_set_from_socket()
|