Bug 4545

Summary: File descriptors are being inherited when frysk activates a task
Product: frysk Reporter: Rick Moseley <rmoseley>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1633, 4193    

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.