Wind River Support Network

HomeDefectsLIN6-12580
Fixed

LIN6-12580 : CLONE - lsof usage contain host information - wrlinux 5

Created: Mar 26, 2017    Updated: Dec 3, 2018
Resolved Date: Apr 17, 2017
Found In Version: 6.0
Fix Version: 6.0.0.34
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

The resulting lsof binary contains reference to the project used to build the binary. 
As well as host kernel version. 
This is due how the Configure script retrieve host info and generate the version.h file 

None of the generated info is needed on a embedded system where it is possible to determine how a binary was built by other means.

Steps to Reproduce

1. compile a wrl5 project based on:

--enable-board=intel-xeon-core --enable-build=production --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-jobs=88 --enable-parallel-pkgbuilds=88 --enable-reconfig --with-layer=wr-dpdk,rcfl --with-template=feature/openssl101e,feature/dpdk-1.7 --enable-bootimage=, --without-layer=, --without-template=wr-cgp/cgp/templates/feature/cgp-full/template.conf,wr-cgp/cgp/templates/feature/cgp-full/image.inc,wr-dpdk/templates/default/template.conf,wr-dpdk/templates/default/image.inc --enable-doc-pages=target --enable-addons=wr-rcfl --with-rcpl-version=0039

2. check target sided lsof binary.

also see the attached archive

Other Downloads


Live chat
Online