diff options
author | Kai Kang <kai.kang@windriver.com> | 2017-05-27 15:45:03 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-29 11:57:28 +0100 |
commit | a58b021b7512604425ebbeed82c40848c8de42ef (patch) | |
tree | 923e9a692e31dfe1ee0edf2a3f095c093d255a27 /meta | |
parent | 279e22c16b293c3bee333e313364a8be2ecba233 (diff) | |
download | poky-a58b021b7512604425ebbeed82c40848c8de42ef.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.
(From OE-Core rev: 6cf2891fe1526570c4e3eb8d78dc4d914d2d2079)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/lsof/lsof_4.89.bb | 2 |
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 () { | |||
53 | 53 | ||
54 | do_install () { | 54 | do_install () { |
55 | install -d ${D}${sbindir} ${D}${mandir}/man8 | 55 | install -d ${D}${sbindir} ${D}${mandir}/man8 |
56 | install -m 4755 lsof ${D}${sbindir}/lsof | 56 | install -m 0755 lsof ${D}${sbindir}/lsof |
57 | install -m 0644 lsof.8 ${D}${mandir}/man8/lsof.8 | 57 | install -m 0644 lsof.8 ${D}${mandir}/man8/lsof.8 |
58 | } | 58 | } |