aboutsummaryrefslogtreecommitdiff
path: root/sys/security/mac
diff options
context:
space:
mode:
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)