summaryrefslogtreecommitdiff
path: root/sys/security
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-05-06 16:59:04 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-05-06 16:59:04 +0000
commitbc5ade0d1069d1c1fdfe74edd210bb58228fd52b (patch)
treeccc865dc7c0cdafd6da66b59062ba061821ab896 /sys/security
parentea0ccffc39aae52b7e0d7d282d2429cd5b7e523c (diff)
Notes
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac/mac_cred.c2
-rw-r--r--sys/security/mac/mac_framework.c2
-rw-r--r--sys/security/mac_biba/mac_biba.h2
-rw-r--r--sys/security/mac_lomac/mac_lomac.c2
-rw-r--r--sys/security/mac_lomac/mac_lomac.h2
-rw-r--r--sys/security/mac_mls/mac_mls.c2
-rw-r--r--sys/security/mac_mls/mac_mls.h2
7 files changed, 7 insertions, 7 deletions
diff --git a/sys/security/mac/mac_cred.c b/sys/security/mac/mac_cred.c
index 372679b5e833..48bd4803d1d1 100644
--- a/sys/security/mac/mac_cred.c
+++ b/sys/security/mac/mac_cred.c
@@ -174,7 +174,7 @@ mac_cred_internalize_label(struct label *label, char *string)
/*
* When a new process is created, its label must be initialized. Generally,
- * this involves inheritence from the parent process, modulo possible deltas.
+ * this involves inheritance from the parent process, modulo possible deltas.
* This function allows that processing to take place.
*/
void
diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c
index d76b28012bae..f56627c7ea0e 100644
--- a/sys/security/mac/mac_framework.c
+++ b/sys/security/mac/mac_framework.c
@@ -437,7 +437,7 @@ mac_policy_register(struct mac_policy_conf *mpc)
* Per-policy initialization. Currently, this takes place under the
* exclusive lock, so policies must not sleep in their init method.
* In the future, we may want to separate "init" from "start", with
- * "init" occuring without the lock held. Likewise, on tear-down,
+ * "init" occurring without the lock held. Likewise, on tear-down,
* breaking out "stop" from "destroy".
*/
if (mpc->mpc_ops->mpo_init != NULL)
diff --git a/sys/security/mac_biba/mac_biba.h b/sys/security/mac_biba/mac_biba.h
index 05eefab05b0d..a97f29b672af 100644
--- a/sys/security/mac_biba/mac_biba.h
+++ b/sys/security/mac_biba/mac_biba.h
@@ -54,7 +54,7 @@
* MAC_BIBA_TYPE_LABEL. */
#define MAC_BIBA_TYPE_HIGH 3 /* Dominates any
* MAC_BIBA_TYPE_LABEL. */
-#define MAC_BIBA_TYPE_EQUAL 4 /* Equivilent to any
+#define MAC_BIBA_TYPE_EQUAL 4 /* Equivalent to any
* MAC_BIBA_TYPE_LABEL. */
/*
diff --git a/sys/security/mac_lomac/mac_lomac.c b/sys/security/mac_lomac/mac_lomac.c
index 5607940cbdc0..b7c6289b7a99 100644
--- a/sys/security/mac_lomac/mac_lomac.c
+++ b/sys/security/mac_lomac/mac_lomac.c
@@ -1472,7 +1472,7 @@ lomac_netinet_firewall_send(struct mbuf *m, struct label *mlabel)
dest = SLOT(mlabel);
- /* XXX: where is the label for the firewall really comming from? */
+ /* XXX: where is the label for the firewall really coming from? */
lomac_set_single(dest, MAC_LOMAC_TYPE_EQUAL, 0);
}
diff --git a/sys/security/mac_lomac/mac_lomac.h b/sys/security/mac_lomac/mac_lomac.h
index 9edba981aa07..9e69f9501ac5 100644
--- a/sys/security/mac_lomac/mac_lomac.h
+++ b/sys/security/mac_lomac/mac_lomac.h
@@ -56,7 +56,7 @@
* MAC_LOMAC_TYPE_LABEL. */
#define MAC_LOMAC_TYPE_HIGH 3 /* Dominates any
* MAC_LOMAC_TYPE_LABEL. */
-#define MAC_LOMAC_TYPE_EQUAL 4 /* Equivilent to any
+#define MAC_LOMAC_TYPE_EQUAL 4 /* Equivalent to any
* MAC_LOMAC_TYPE_LABEL. */
/*
diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c
index 6a074d0279bd..935c1594b60a 100644
--- a/sys/security/mac_mls/mac_mls.c
+++ b/sys/security/mac_mls/mac_mls.c
@@ -1276,7 +1276,7 @@ mls_netinet_firewall_send(struct mbuf *m, struct label *mlabel)
dest = SLOT(mlabel);
- /* XXX: where is the label for the firewall really comming from? */
+ /* XXX: where is the label for the firewall really coming from? */
mls_set_effective(dest, MAC_MLS_TYPE_EQUAL, 0, NULL);
}
diff --git a/sys/security/mac_mls/mac_mls.h b/sys/security/mac_mls/mac_mls.h
index 7bed921b87fb..b1ba469f5b64 100644
--- a/sys/security/mac_mls/mac_mls.h
+++ b/sys/security/mac_mls/mac_mls.h
@@ -54,7 +54,7 @@
* MAC_MLS_TYPE_LABEL. */
#define MAC_MLS_TYPE_HIGH 3 /* Dominates any
* MAC_MLS_TYPE_LABEL. */
-#define MAC_MLS_TYPE_EQUAL 4 /* Equivilent to any
+#define MAC_MLS_TYPE_EQUAL 4 /* Equivalent to any
* MAC_MLS_TYPE_LABEL. */
/*