| 2050 | } |
| 2051 | |
| 2052 | static void |
| 2053 | lomac_socket_relabel(struct ucred *cred, struct socket *so, |
| 2054 | struct label *solabel, struct label *newlabel) |
| 2055 | { |
| 2056 | struct mac_lomac *source, *dest; |
| 2057 | |
| 2058 | SOCK_LOCK_ASSERT(so); |
| 2059 | |
| 2060 | source = SLOT(newlabel); |
| 2061 | dest = SLOT(solabel); |
| 2062 | |
| 2063 | try_relabel(source, dest); |
| 2064 | } |
| 2065 | |
| 2066 | static void |
| 2067 | lomac_socketpeer_set_from_mbuf(struct mbuf *m, struct label *mlabel, |
nothing calls this directly
no test coverage detected