summaryrefslogtreecommitdiff
path: root/selinux/getenforce.c
diff options
context:
space:
mode:
authorRon Yorston2023-03-24 15:16:35 +0000
committerDenys Vlasenko2023-04-25 16:47:22 +0200
commit64e967fabb1cf6c190b76f51c69e0ecb5fa49be5 (patch)
tree1525a77f544552870eda8eb80c26a85450b8a65d /selinux/getenforce.c
parent8d198665a0d09c3f22f3a12234809f46b1c2b04a (diff)
downloadbusybox-64e967fabb1cf6c190b76f51c69e0ecb5fa49be5.zip
busybox-64e967fabb1cf6c190b76f51c69e0ecb5fa49be5.tar.gz
lineedit: fix matching of directories when searching PATH
Commit 8baa643a3 (lineedit: match local directories when searching PATH) included subdirectories of the current directory in the search when tab-completing commands. Unfortunately a short time later commit 1d180cd74 (lineedit: use strncmp instead of is_prefixed_with (we know the length)) broke this feature by returning an incorrect length for the array of paths. Fix the length and reinstate matching of subdirectories. Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux/getenforce.c')
0 files changed, 0 insertions, 0 deletions