sys/security: minor spelling fixes.
No functional change.
This commit is contained in:
parent
ea0ccffc39
commit
bc5ade0d10
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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. */
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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. */
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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. */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user