summaryrefslogtreecommitdiff
path: root/sys/security/mac_lomac/mac_lomac.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/mac_lomac/mac_lomac.c')
-rw-r--r--sys/security/mac_lomac/mac_lomac.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/security/mac_lomac/mac_lomac.c b/sys/security/mac_lomac/mac_lomac.c
index fb378e656982b..b2b9f74afb55f 100644
--- a/sys/security/mac_lomac/mac_lomac.c
+++ b/sys/security/mac_lomac/mac_lomac.c
@@ -1449,17 +1449,6 @@ lomac_mount_create(struct ucred *cred, struct mount *mp,
}
static void
-lomac_netatalk_aarp_send(struct ifnet *ifp, struct label *ifplabel,
- struct mbuf *m, struct label *mlabel)
-{
- struct mac_lomac *dest;
-
- dest = SLOT(mlabel);
-
- lomac_set_single(dest, MAC_LOMAC_TYPE_EQUAL, 0);
-}
-
-static void
lomac_netinet_arp_send(struct ifnet *ifp, struct label *ifplabel,
struct mbuf *m, struct label *mlabel)
{
@@ -1832,7 +1821,6 @@ lomac_priv_check(struct ucred *cred, int priv)
* Allow some but not all network privileges. In general, dont allow
* reconfiguring the network stack, just normal use.
*/
- case PRIV_NETATALK_RESERVEDPORT:
case PRIV_NETINET_RESERVEDPORT:
case PRIV_NETINET_RAW:
case PRIV_NETINET_REUSEPORT:
@@ -2987,8 +2975,6 @@ static struct mac_policy_ops lomac_ops =
.mpo_mount_destroy_label = lomac_destroy_label,
.mpo_mount_init_label = lomac_init_label,
- .mpo_netatalk_aarp_send = lomac_netatalk_aarp_send,
-
.mpo_netinet_arp_send = lomac_netinet_arp_send,
.mpo_netinet_firewall_reply = lomac_netinet_firewall_reply,
.mpo_netinet_firewall_send = lomac_netinet_firewall_send,