aboutsummaryrefslogtreecommitdiff
path: root/sys/security/mac
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/mac
parentea0ccffc39aae52b7e0d7d282d2429cd5b7e523c (diff)
Notes
Diffstat (limited to 'sys/security/mac')
-rw-r--r--sys/security/mac/mac_cred.c2
-rw-r--r--sys/security/mac/mac_framework.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac/mac_cred.c b/sys/security/mac/mac_cred.c
index 372679b5e8335..48bd4803d1d1f 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 d76b28012bae8..f56627c7ea0e5 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)