Bug 155943

Summary: /proc/$$/auxv has zero size
Product: Red Hat Enterprise Linux 4 Reporter: Andrew Cagney <cagney>
Component: kernelAssignee: Ingo Molnar <mingo>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: davej, jjohnstn, mnewsome
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 16:00:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 116894    

Description Andrew Cagney 2005-04-25 22:24:08 UTC
Description of problem:

/proc's per-process AUXV has a finite size (the size doesn't change during the
lifetime of the process) yet

$ ls -l /proc/$$/auxv
-r--------  1 cagney cagney 0 Apr 25 18:14 /proc/12877/auxv
$ file /proc/$$/auxv
/proc/12877/auxv: empty
$ wc -c !$
wc -c /proc/$$/auxv
0 /proc/12877/auxv
$ cat /proc/$$/auxv | wc -c
128

Version-Release number of selected component (if applicable):

RHEL-4 FC-4

How reproducible:

100%

Expected results:

$ ls -l /proc/$$/auxv
-r--------   1 cagney   cagney       152 Apr 25 15:09 /proc/23038/auxv
$ wc -c /proc/$$/auxv
     152 /proc/23038/auxv

Comment 1 Ingo Molnar 2005-09-15 22:37:35 UTC
/proc files are special and rarely match their true size. Check out 'ls -l
/proc'. Does this issue have any practical relevance?

Comment 3 Jiri Pallich 2012-06-20 16:00:56 UTC
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.