| 1974 | } |
| 1975 | |
| 1976 | static void |
| 1977 | mls_socket_relabel(struct ucred *cred, struct socket *so, |
| 1978 | struct label *solabel, struct label *newlabel) |
| 1979 | { |
| 1980 | struct mac_mls *source, *dest; |
| 1981 | |
| 1982 | SOCK_LOCK_ASSERT(so); |
| 1983 | |
| 1984 | source = SLOT(newlabel); |
| 1985 | dest = SLOT(solabel); |
| 1986 | |
| 1987 | mls_copy(source, dest); |
| 1988 | } |
| 1989 | |
| 1990 | static void |
| 1991 | mls_socketpeer_set_from_mbuf(struct mbuf *m, struct label *mlabel, |
nothing calls this directly
no test coverage detected