Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 231495

Summary: elfutils assumes local pid/proc; accesses /proc/*
Product: [Fedora] Fedora Reporter: Andrew Cagney <cagney>
Component: elfutilsAssignee: Roland McGrath <roland>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: drepper
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: 2007-03-08 21:32:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 173278    

Description Andrew Cagney 2007-03-08 18:32:30 UTC
Elfutils likes to directly access /proc/PID et.al.  This only works when the
running process is local.  For the remote case elfutils needs to call back
accessor methods supplied by the client.

libunwind provides an example of this.

Comment 1 Roland McGrath 2007-03-08 21:32:46 UTC
There is no bug here.  The simple dwfl hooks that use /proc are for examples and
for simple tools with the -k/-p options.  There is a callback API for real
applications using the libraries to use.  A real application does not want
elfutils doing that work for it anyway.