lsof: clear setuid
cover lsof: clear setuid
From: Kai Kang <[email protected]>
The following changes since commit 5eed6c644f715783edb0d05926373e719442dd6a:
libpcap: add native package (2017-05-25 23:59:32 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib kangkai/lsof
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/lsof
Kai Kang (1):
lsof: clear setuid
meta/recipes-extended/lsof/lsof_4.89.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.10.1
PATCH 1/1 lsof: clear setuid
From: Kai Kang <[email protected]>
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 <[email protected]>
--- meta/recipes-extended/lsof/lsof_4.89.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/lsof/lsof_4.89.bb +1 -1
@@ -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 }
Signature · 1 line
2.10.1