Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
abuild
Commits
5c05446d
Commit
5c05446d
authored
Feb 22, 2016
by
Timo Teräs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: use gnu find supported way to find suid binaries
parent
d1ab7ed4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
abuild.in
abuild.in
+1
-1
No files found.
abuild.in
View file @
5c05446d
...
...
@@ -618,7 +618,7 @@ postcheck() {
echo
"$i"
fi
#
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment