aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-02-22 17:12:56 +0100
committerKenton Groombridge <concord@gentoo.org>2024-03-01 12:05:33 -0500
commit83d40084db8ceeaa3225e915ea8d8e9ebfbe878e (patch)
tree1d521d32d51d4a1b144140fa58287949e41cdc33 /support
parentaccess_vectors: define io_uring { cmd } (diff)
downloadhardened-refpolicy-83d40084db8ceeaa3225e915ea8d8e9ebfbe878e.tar.gz
hardened-refpolicy-83d40084db8ceeaa3225e915ea8d8e9ebfbe878e.tar.bz2
hardened-refpolicy-83d40084db8ceeaa3225e915ea8d8e9ebfbe878e.zip
support/genhomedircon: support usr prefixed paths
Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Kenton Groombridge <concord@gentoo.org>
Diffstat (limited to 'support')
-rw-r--r--support/genhomedircon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/genhomedircon.py b/support/genhomedircon.py
index 2721bd7df..d5177ee4a 100644
--- a/support/genhomedircon.py
+++ b/support/genhomedircon.py
@@ -43,7 +43,7 @@
import sys, pwd, getopt, re, os
from subprocess import getstatusoutput
-EXCLUDE_LOGINS=["/sbin/nologin", "/bin/false"]
+EXCLUDE_LOGINS=["/sbin/nologin", "/usr/sbin/nologin", "/bin/false", "/usr/bin/false"]
def getStartingUID():