From bdd5036d7ab2f6249a493e861196c96eb7c7475e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Thu, 22 Feb 2024 17:22:50 +0100 Subject: [PATCH] fix misc typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian Göttsche --- 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()