aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2017-05-27 15:45:03 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-29 15:11:39 +0100
commit4ea593aed96129c58e6bc24df71334c2a2bccff0 (patch)
tree452c13655f7b902566fc2c974d6a08ece3cb6ead /meta/recipes-extended
parent643979162fa7f0329ed9d01c4b1c7f142e2cae0e (diff)
downloadopenembedded-core-4ea593aed96129c58e6bc24df71334c2a2bccff0.tar.gz
lsof: clear setuid
Having 'lsof' as a +s (setuid) binary could lead to security issues if a compromise in the binary is found. It is better that it be -s by default as a precaution. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 346c65dd6855106069d1861ca965d3121eb084d1) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/lsof/lsof_4.89.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/lsof/lsof_4.89.bb b/meta/recipes-extended/lsof/lsof_4.89.bb
index b732cf0acd..650b34c7e2 100644
--- a/meta/recipes-extended/lsof/lsof_4.89.bb
+++ b/meta/recipes-extended/lsof/lsof_4.89.bb
@@ -53,6 +53,6 @@ do_compile () {
do_install () {
install -d ${D}${sbindir} ${D}${mandir}/man8
- install -m 4755 lsof ${D}${sbindir}/lsof
+ install -m 0755 lsof ${D}${sbindir}/lsof
install -m 0644 lsof.8 ${D}${mandir}/man8/lsof.8
}