Subject: struct proc->p_dupfd should be per-lwp?
To: None <>
From: Jaromir Dolecek <>
List: tech-kern
Date: 06/29/2003 18:30:21

p_dupfd appears as if it should be per-LWP. It's not supposed
to be shared by all threads within process, it's pertinent to currently
executing caller - i.e. LWP.

Any reason to keep it in struct proc rather than moving to struct lwp?

Jaromir Dolecek <>  
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-