fix misc typos
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
parent
c781fb74c9
commit
bdd5036d7a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue