Commit 5c05446d authored by Timo Teräs's avatar Timo Teräs
Browse files

abuild: use gnu find supported way to find suid binaries

parent d1ab7ed4
......@@ -618,7 +618,7 @@ postcheck() {
echo "$i"
# check so we dont have any suid root binaries that are not PIE
i=$(find "$dir" -type f -perm +6000 \
i=$(find "$dir" -type f -perm /6000 \
| xargs scanelf --nobanner --etype ET_EXEC \
| sed "s|ET_EXEC $dir|\t|")
if [ -n "$i" ]; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment