abuild: use gnu find supported way to find suid binaries
This commit is contained in:
parent
d1ab7ed40f
commit
5c05446d07
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue