Bug 231495 - elfutils assumes local pid/proc; accesses /proc/*
Summary: elfutils assumes local pid/proc; accesses /proc/*
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: elfutils
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Roland McGrath
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 173278
TreeView+ depends on / blocked
 
Reported: 2007-03-08 18:32 UTC by Andrew Cagney
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-03-08 21:32:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.