Skip to content
Snippets Groups Projects
Commit 95bd0062 authored by Marta Rybczynska's avatar Marta Rybczynska Committed by Bernhard Rosenkränzer
Browse files

binutils: harden installation permissions


Compilers and related utils are better restricted on production platforms.
Change permissions of all installed binutils tools to remove access from
users outside of the root group.

Signed-off-by: default avatarMarta Rybczynska <marta.rybczynska@huawei.com>
parent 42bce0a6
No related branches found
No related tags found
No related merge requests found
...@@ -54,6 +54,10 @@ do_install_class-native () { ...@@ -54,6 +54,10 @@ do_install_class-native () {
rmdir ${D}/${libdir}64 || : rmdir ${D}/${libdir}64 || :
} }
do_install_append_class-target () {
chmod o-rx ${D}${prefix}/${TARGET_SYS}/bin/*
}
# libctf races with libbfd # libctf races with libbfd
PARALLEL_MAKEINST_class-target = "" PARALLEL_MAKEINST_class-target = ""
PARALLEL_MAKEINST_class-nativesdk = "" PARALLEL_MAKEINST_class-nativesdk = ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment