Messages in this thread | | | Subject | Re: [PATCHv2 5/5] VFS: DazukoFS, stackable-fs, file access control | From | (Eric W. Biederman) | Date | Thu, 12 Feb 2009 12:24:20 -0800 |
| |
John Ogness <dazukocode@ogness.net> writes:
> Patch 5: Creates /dev/dazukofs.ign as an (optional) mechanism for any > processes to hide themselves from DazukoFS file access > control.
Your reference counting is broken. What happens if a process exits and you are ignoring it.
When fixing this use a struct pid * not struct task_struct *. That is what struct pid is for there is no need to pin the entire task struct into memory after the process exits just because you decided to ignore it.
Eric
| |