Wind River Support Network

HomeDefectsLIN8-9915
Fixed

LIN8-9915 : RCPL27: cat /proc//environ

Created: Oct 22, 2018    Updated: Jan 14, 2019
Resolved Date: Nov 26, 2018
Found In Version: 8.0.0.27
Fix Version: 8.0.0.28
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

When running:
$ cat /proc/1/environ | tr '\0' '\n'
on RCPL 27 the output is damaged

Steps to Reproduce

1. Run qemux86-64 with RCPL 26 and run: 
cat /proc/1/environ | tr '\0' '\n'
2. Run qemux86-64 with RCPL 27 and run: 
cat /proc/1/environ | tr '\0' '\n'

Watch difference

Also, this should display contents of VARIABLE1:
VARIABLE1="proof" sleep 10 &
cat /proc/$!/environ | grep -a "VARIABLE1"

Other Downloads


Live chat
Online