Wind River Support Network


LIN8-6103 : lsof usage contain host information - wrlinux 8

Created: Mar 20, 2017    Updated: Dec 3, 2018
Resolved Date: Apr 1, 2017
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace


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 wrl8 project based on:

--enable-board=qemu_x86 --enable-build=production --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-jobs=88 --enable-parallel-pkgbuilds=88 --enable-reconfig 

2. check target sided lsof binary.

also see the attached archive

Other Downloads

Live chat