summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_mac.c6
-rw-r--r--sys/security/mac/mac_framework.c6
-rw-r--r--sys/security/mac/mac_internal.h6
-rw-r--r--sys/security/mac/mac_net.c6
-rw-r--r--sys/security/mac/mac_pipe.c6
-rw-r--r--sys/security/mac/mac_process.c6
-rw-r--r--sys/security/mac/mac_syscalls.c6
-rw-r--r--sys/security/mac/mac_system.c6
-rw-r--r--sys/security/mac/mac_vfs.c6
9 files changed, 27 insertions, 27 deletions
diff --git a/sys/kern/kern_mac.c b/sys/kern/kern_mac.c
index d96abb2..8df223d 100644
--- a/sys/kern/kern_mac.c
+++ b/sys/kern/kern_mac.c
@@ -1044,13 +1044,13 @@ mac_init_structmac(struct mac *mac)
}
int
-mac_init_mbuf(struct mbuf *m, int how)
+mac_init_mbuf(struct mbuf *m, int flag)
{
KASSERT(m->m_flags & M_PKTHDR, ("mac_init_mbuf on non-header mbuf"));
- /* "how" is one of M_(TRY|DONT)WAIT */
mac_init_label(&m->m_pkthdr.label);
- MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, how);
+
+ MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, flag);
#ifdef MAC_DEBUG
atomic_add_int(&nmacmbufs, 1);
#endif
diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c
index d96abb2..8df223d 100644
--- a/sys/security/mac/mac_framework.c
+++ b/sys/security/mac/mac_framework.c
@@ -1044,13 +1044,13 @@ mac_init_structmac(struct mac *mac)
}
int
-mac_init_mbuf(struct mbuf *m, int how)
+mac_init_mbuf(struct mbuf *m, int flag)
{
KASSERT(m->m_flags & M_PKTHDR, ("mac_init_mbuf on non-header mbuf"));
- /* "how" is one of M_(TRY|DONT)WAIT */
mac_init_label(&m->m_pkthdr.label);
- MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, how);
+
+ MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, flag);
#ifdef MAC_DEBUG
atomic_add_int(&nmacmbufs, 1);
#endif
diff --git a/sys/security/mac/mac_internal.h b/sys/security/mac/mac_internal.h
index d96abb2..8df223d 100644
--- a/sys/security/mac/mac_internal.h
+++ b/sys/security/mac/mac_internal.h
@@ -1044,13 +1044,13 @@ mac_init_structmac(struct mac *mac)
}
int
-mac_init_mbuf(struct mbuf *m, int how)
+mac_init_mbuf(struct mbuf *m, int flag)
{
KASSERT(m->m_flags & M_PKTHDR, ("mac_init_mbuf on non-header mbuf"));
- /* "how" is one of M_(TRY|DONT)WAIT */
mac_init_label(&m->m_pkthdr.label);
- MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, how);
+
+ MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, flag);
#ifdef MAC_DEBUG
atomic_add_int(&nmacmbufs, 1);
#endif
diff --git a/sys/security/mac/mac_net.c b/sys/security/mac/mac_net.c
index d96abb2..8df223d 100644
--- a/sys/security/mac/mac_net.c
+++ b/sys/security/mac/mac_net.c
@@ -1044,13 +1044,13 @@ mac_init_structmac(struct mac *mac)
}
int
-mac_init_mbuf(struct mbuf *m, int how)
+mac_init_mbuf(struct mbuf *m, int flag)
{
KASSERT(m->m_flags & M_PKTHDR, ("mac_init_mbuf on non-header mbuf"));
- /* "how" is one of M_(TRY|DONT)WAIT */
mac_init_label(&m->m_pkthdr.label);
- MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, how);
+
+ MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, flag);
#ifdef MAC_DEBUG
atomic_add_int(&nmacmbufs, 1);
#endif
diff --git a/sys/security/mac/mac_pipe.c b/sys/security/mac/mac_pipe.c
index d96abb2..8df223d 100644
--- a/sys/security/mac/mac_pipe.c
+++ b/sys/security/mac/mac_pipe.c
@@ -1044,13 +1044,13 @@ mac_init_structmac(struct mac *mac)
}
int
-mac_init_mbuf(struct mbuf *m, int how)
+mac_init_mbuf(struct mbuf *m, int flag)
{
KASSERT(m->m_flags & M_PKTHDR, ("mac_init_mbuf on non-header mbuf"));
- /* "how" is one of M_(TRY|DONT)WAIT */
mac_init_label(&m->m_pkthdr.label);
- MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, how);
+
+ MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, flag);
#ifdef MAC_DEBUG
atomic_add_int(&nmacmbufs, 1);
#endif
diff --git a/sys/security/mac/mac_process.c b/sys/security/mac/mac_process.c
index d96abb2..8df223d 100644
--- a/sys/security/mac/mac_process.c
+++ b/sys/security/mac/mac_process.c
@@ -1044,13 +1044,13 @@ mac_init_structmac(struct mac *mac)
}
int
-mac_init_mbuf(struct mbuf *m, int how)
+mac_init_mbuf(struct mbuf *m, int flag)
{
KASSERT(m->m_flags & M_PKTHDR, ("mac_init_mbuf on non-header mbuf"));
- /* "how" is one of M_(TRY|DONT)WAIT */
mac_init_label(&m->m_pkthdr.label);
- MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, how);
+
+ MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, flag);
#ifdef MAC_DEBUG
atomic_add_int(&nmacmbufs, 1);
#endif
diff --git a/sys/security/mac/mac_syscalls.c b/sys/security/mac/mac_syscalls.c
index d96abb2..8df223d 100644
--- a/sys/security/mac/mac_syscalls.c
+++ b/sys/security/mac/mac_syscalls.c
@@ -1044,13 +1044,13 @@ mac_init_structmac(struct mac *mac)
}
int
-mac_init_mbuf(struct mbuf *m, int how)
+mac_init_mbuf(struct mbuf *m, int flag)
{
KASSERT(m->m_flags & M_PKTHDR, ("mac_init_mbuf on non-header mbuf"));
- /* "how" is one of M_(TRY|DONT)WAIT */
mac_init_label(&m->m_pkthdr.label);
- MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, how);
+
+ MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, flag);
#ifdef MAC_DEBUG
atomic_add_int(&nmacmbufs, 1);
#endif
diff --git a/sys/security/mac/mac_system.c b/sys/security/mac/mac_system.c
index d96abb2..8df223d 100644
--- a/sys/security/mac/mac_system.c
+++ b/sys/security/mac/mac_system.c
@@ -1044,13 +1044,13 @@ mac_init_structmac(struct mac *mac)
}
int
-mac_init_mbuf(struct mbuf *m, int how)
+mac_init_mbuf(struct mbuf *m, int flag)
{
KASSERT(m->m_flags & M_PKTHDR, ("mac_init_mbuf on non-header mbuf"));
- /* "how" is one of M_(TRY|DONT)WAIT */
mac_init_label(&m->m_pkthdr.label);
- MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, how);
+
+ MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, flag);
#ifdef MAC_DEBUG
atomic_add_int(&nmacmbufs, 1);
#endif
diff --git a/sys/security/mac/mac_vfs.c b/sys/security/mac/mac_vfs.c
index d96abb2..8df223d 100644
--- a/sys/security/mac/mac_vfs.c
+++ b/sys/security/mac/mac_vfs.c
@@ -1044,13 +1044,13 @@ mac_init_structmac(struct mac *mac)
}
int
-mac_init_mbuf(struct mbuf *m, int how)
+mac_init_mbuf(struct mbuf *m, int flag)
{
KASSERT(m->m_flags & M_PKTHDR, ("mac_init_mbuf on non-header mbuf"));
- /* "how" is one of M_(TRY|DONT)WAIT */
mac_init_label(&m->m_pkthdr.label);
- MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, how);
+
+ MAC_PERFORM(init_mbuf_label, &m->m_pkthdr.label, flag);
#ifdef MAC_DEBUG
atomic_add_int(&nmacmbufs, 1);
#endif
OpenPOWER on IntegriCloud