Re: Process pointer PID panics
Tomas Olsson <[email protected]>
| Newsgroups | gmane.comp.file-systems.arla.general |
|---|---|
| Message-ID | <[email protected]> |
[email protected] writes: > It seems a simple patch for such a harrowing journey through kernel > internals trying to pinpoint this. > They always do, don't they. > If a client application (ie: not arlad) opens the /dev/nnpfs0 device > before daemon-ifying itself, the (chan->proc) pointer will point into > the process struct from the starting shell. > Any particular reason why one would do such a thing? > + if (chan->proc == NULL || chan->proc != nnpfs_get_proc(uiop)) > chan->proc = nnpfs_get_proc(uiop); > Apple demands that procs are released too. It's not hard at all, I just want to understand why we want this. thanks /t