Use MPC_OBJECT_IP6Q to indicate labeling of struct ip6q rather than
MPC_OBJECT_IPQ; it was already defined, just not used. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc.
This commit is contained in:
parent
8ef504d98d
commit
aeaccdebe1
@ -80,7 +80,7 @@ int
|
||||
mac_ip6q_init(struct ip6q *q6, int flag)
|
||||
{
|
||||
|
||||
if (mac_labeled & MPC_OBJECT_IPQ) {
|
||||
if (mac_labeled & MPC_OBJECT_IP6Q) {
|
||||
q6->ip6q_label = mac_ip6q_label_alloc(flag);
|
||||
if (q6->ip6q_label == NULL)
|
||||
return (ENOMEM);
|
||||
|
@ -3553,6 +3553,7 @@ static struct mac_policy_ops mac_biba_ops =
|
||||
MPC_OBJECT_DEVFS | \
|
||||
MPC_OBJECT_MBUF | \
|
||||
MPC_OBJECT_IPQ | \
|
||||
MPC_OBJECT_IP6Q | \
|
||||
MPC_OBJECT_IFNET | \
|
||||
MPC_OBJECT_BPFDESC | \
|
||||
MPC_OBJECT_PIPE | \
|
||||
|
@ -3060,6 +3060,7 @@ static struct mac_policy_ops lomac_ops =
|
||||
MPC_OBJECT_DEVFS | \
|
||||
MPC_OBJECT_MBUF | \
|
||||
MPC_OBJECT_IPQ | \
|
||||
MPC_OBJECT_IP6Q | \
|
||||
MPC_OBJECT_IFNET | \
|
||||
MPC_OBJECT_BPFDESC | \
|
||||
MPC_OBJECT_PIPE | \
|
||||
|
@ -3170,6 +3170,7 @@ static struct mac_policy_ops mls_ops =
|
||||
MPC_OBJECT_DEVFS | \
|
||||
MPC_OBJECT_MBUF | \
|
||||
MPC_OBJECT_IPQ | \
|
||||
MPC_OBJECT_IP6Q | \
|
||||
MPC_OBJECT_IFNET | \
|
||||
MPC_OBJECT_BPFDESC | \
|
||||
MPC_OBJECT_PIPE | \
|
||||
|
@ -1808,6 +1808,7 @@ static struct mac_policy_ops stub_ops =
|
||||
MPC_OBJECT_DEVFS | \
|
||||
MPC_OBJECT_MBUF | \
|
||||
MPC_OBJECT_IPQ | \
|
||||
MPC_OBJECT_IP6Q | \
|
||||
MPC_OBJECT_IFNET | \
|
||||
MPC_OBJECT_BPFDESC | \
|
||||
MPC_OBJECT_PIPE | \
|
||||
|
@ -3147,6 +3147,7 @@ static struct mac_policy_ops test_ops =
|
||||
MPC_OBJECT_DEVFS | \
|
||||
MPC_OBJECT_MBUF | \
|
||||
MPC_OBJECT_IPQ | \
|
||||
MPC_OBJECT_IP6Q | \
|
||||
MPC_OBJECT_IFNET | \
|
||||
MPC_OBJECT_BPFDESC | \
|
||||
MPC_OBJECT_PIPE | \
|
||||
|
Loading…
Reference in New Issue
Block a user