summaryrefslogtreecommitdiffstats
path: root/sys/security/mac
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-06 16:59:04 +0000
committerpfg <pfg@FreeBSD.org>2016-05-06 16:59:04 +0000
commit9d9aae4d8478988a66d4f765a2c2b32a43bf627f (patch)
treeccc865dc7c0cdafd6da66b59062ba061821ab896 /sys/security/mac
parentd8bfd0e5b10678e8d887e9bbb5e2473513fc16ad (diff)
downloadFreeBSD-src-9d9aae4d8478988a66d4f765a2c2b32a43bf627f.zip
FreeBSD-src-9d9aae4d8478988a66d4f765a2c2b32a43bf627f.tar.gz
sys/security: minor spelling fixes.
No functional change.
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 372679b..48bd480 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 d76b280..f56627c 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)
OpenPOWER on IntegriCloud