Bug 4545 - File descriptors are being inherited when frysk activates a task
Summary: File descriptors are being inherited when frysk activates a task
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 1633 4193
  Show dependency treegraph
 
Reported: 2007-05-24 21:42 UTC by Rick Moseley
Modified: 2007-08-01 19:33 UTC (History)
0 users

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 Rick Moseley 2007-05-24 21:42:33 UTC
When using the Frysk source window to "Run executable...", the frysk mechanism
ofManager.host.requestCreateAttachedProc is used to start the new task.  If you
do a "ls -la /proc/PID/fd" on the task that you executed you will see that all
of the file descriptors of Frysk are now part of the new task task.

There is supposed to be a way of actiavting a task and having all of the
extraneous fd's closed when the task is forked/execed.
Comment 1 Rick Moseley 2007-08-01 19:33:54 UTC
This appears to be fixed thanks to some of Nurdin's file descriptor leak fixes.