* [gentoo-commits] proj/hardened-refpolicy:master commit in: support/, policy/support/
@ 2024-03-01 19:56 Kenton Groombridge
0 siblings, 0 replies; only message in thread
From: Kenton Groombridge @ 2024-03-01 19:56 UTC (permalink / raw
To: gentoo-commits
commit: 85d57ceba1e3c39f6fac27a32b39fb6539166552
Author: Christian Göttsche <cgzones <AT> googlemail <DOT> com>
AuthorDate: Thu Feb 22 16:22:50 2024 +0000
Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org>
CommitDate: Fri Mar 1 17:05:34 2024 +0000
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=85d57ceb
fix misc typos
Signed-off-by: Christian Göttsche <cgzones <AT> googlemail.com>
Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org>
policy/support/loadable_module.spt | 2 +-
policy/support/mls_mcs_macros.spt | 2 +-
support/genhomedircon.py | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/policy/support/loadable_module.spt b/policy/support/loadable_module.spt
index 606ee80d0..1f6163054 100644
--- a/policy/support/loadable_module.spt
+++ b/policy/support/loadable_module.spt
@@ -47,7 +47,7 @@ define(`gen_require',`
')
')
-# helper function, since m4 wont expand macros
+# helper function, since m4 will not expand macros
# if a line is a comment (#):
define(`policy_m4_comment',`
##### $2 depth: $1
diff --git a/policy/support/mls_mcs_macros.spt b/policy/support/mls_mcs_macros.spt
index 7593e20d0..7d1293301 100644
--- a/policy/support/mls_mcs_macros.spt
+++ b/policy/support/mls_mcs_macros.spt
@@ -15,7 +15,7 @@ define(`gen_cats',`decl_cats(0,decr($1))')
#
# gen_sens(N)
#
-# declares sensitivites s0 to s(N-1) with dominance
+# declares sensitivities s0 to s(N-1) with dominance
# in increasing numeric order with s0 lowest, s(N-1) highest
#
define(`decl_sens',`dnl
diff --git a/support/genhomedircon.py b/support/genhomedircon.py
index d5177ee4a..b865a07c8 100644
--- a/support/genhomedircon.py
+++ b/support/genhomedircon.py
@@ -51,7 +51,7 @@ def getStartingUID():
rc=getstatusoutput("grep -h '^UID_MIN' /etc/login.defs")
if rc[0] == 0:
uid_min = re.sub("^UID_MIN[^0-9]*", "", rc[1])
- #stip any comment from the end of the line
+ #strip any comment from the end of the line
uid_min = uid_min.split("#")[0]
uid_min = uid_min.strip()
if int(uid_min) < starting_uid:
@@ -59,7 +59,7 @@ def getStartingUID():
rc=getstatusoutput("grep -h '^LU_UIDNUMBER' /etc/libuser.conf")
if rc[0] == 0:
lu_uidnumber = re.sub("^LU_UIDNUMBER[^0-9]*", "", rc[1])
- #stip any comment from the end of the line
+ #strip any comment from the end of the line
lu_uidnumber = re.sub("[ \t].*", "", lu_uidnumber)
lu_uidnumber = lu_uidnumber.split("#")[0]
lu_uidnumber = lu_uidnumber.strip()
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-01 19:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01 19:56 [gentoo-commits] proj/hardened-refpolicy:master commit in: support/, policy/support/ Kenton Groombridge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox