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

abuild: use gnu find supported way to find suid binaries

parent d1ab7ed4
...@@ -618,7 +618,7 @@ postcheck() { ...@@ -618,7 +618,7 @@ postcheck() {
echo "$i" echo "$i"
fi fi
# check so we dont have any suid root binaries that are not PIE # 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 \ | xargs scanelf --nobanner --etype ET_EXEC \
| sed "s|ET_EXEC $dir|\t|") | sed "s|ET_EXEC $dir|\t|")
if [ -n "$i" ]; then 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