Bug 1550 - add Proc.getExecutablePath()
Summary: add Proc.getExecutablePath()
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
: 2106 (view as bug list)
Depends on: 2106
Blocks: 1586 1593 1651 1652 1654
  Show dependency treegraph
 
Reported: 2005-10-26 15:15 UTC by Sami Wagiaalla
Modified: 2006-11-21 16:37 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Wagiaalla 2005-10-26 15:15:05 UTC
this will be required for program observables to check
if the event came from the same executable the user 
specified
Comment 1 Sami Wagiaalla 2005-10-28 16:35:10 UTC
It should be noted that processies wich represent scripts
/proc/$$/exe points to the script engine... exe /bin/bash
Comment 2 Andrew Cagney 2006-01-07 19:34:50 UTC
Index: frysk-core/frysk/proc/ChangeLog
2006-01-07  Andrew Cagney  <cagney@redhat.com>

        * LinuxProc.java (sendrecExe()): Add.
        * TestProcGet.java (testGetExe()): Add.
        * Proc.java (exe, sendrecExe(), getExe()): Add.

Index: frysk-sys/frysk/sys/proc/ChangeLog
2006-01-07  Andrew Cagney  <cagney@redhat.com>

        * cni/Exe.cxx: New.
        * Exe.java: New.

java.io.File(String).getCanonicalPath() proves useful!
Comment 3 Andrew Cagney 2006-01-07 19:36:31 UTC
*** Bug 2106 has been marked as a duplicate of this bug. ***