Process pointer PID panics

Tomas Olsson tol at stacken.kth.se
Sun Jun 11 02:46:39 CEST 2006


christopher at 0x90.org 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


More information about the Arla-drinkers mailing list