hi, I am using these information for the scheduler I am developing in Linux. The scheduler selects the next process to run based on the resources needed so that a high priority process will not starve for a semaphore key, file lock etc that were acquired by a low priority process. The user may change the file descriptor only through syscalls. If I intercept them and update the resource history that I am maintaining, then will the information break? Thanks, selva --- Arjan van de Ven wrote: > On Thu, 2004-12-30 at 04:13 -0800, selvakumar > nagendran wrote: > > > > Thanks for ur help. The user will be changing > > this using system calls like dup,dup2 etc. If I > keep > > track of all these modifications by intercepting > all > > those syscalls and use inode number for > identifying > > the structure uniquely, will it break? > > it sure is not a reliable method. The user can > change the fd's YOU log. > So your logging is inaccurate. That may or may not > be a problem, it > depends on what the application of this is. > > > __________________________________ Do you Yahoo!? All your favorites on one personal page – Try My Yahoo! http://my.yahoo.com