[3940] in arla-drinkers
Re: Process pointer PID panics
daemon@ATHENA.MIT.EDU (Tomas Olsson)
Sat Jun 10 20:46:46 2006
From arla-drinkers-bounces@stacken.kth.se Sun Jun 11 00:46:46 2006
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 12942 invoked from network); 11 Jun 2006 00:46:46 -0000
Received: from mx2.kth.se (130.237.48.98)
by charon.mit.edu with SMTP; 11 Jun 2006 00:46:46 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
by mx2.kth.se (Postfix) with ESMTP id CECBA141637;
Sun, 11 Jun 2006 02:46:45 +0200 (CEST)
Received: from mx2.kth.se ([127.0.0.1])
by localhost (mx2.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
id 26330-01-7; Sun, 11 Jun 2006 02:46:44 +0200 (CEST)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
by mx2.kth.se (Postfix) with ESMTP id 7A5B9140CF0;
Sun, 11 Jun 2006 02:46:44 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
by tapas.stacken.kth.se (Postfix) with ESMTP id 2F7CA534FC;
Sun, 11 Jun 2006 02:46:44 +0200 (CEST)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
by tapas.stacken.kth.se (Postfix) with ESMTP id C5578534FC
for <arla-drinkers@tapas.stacken.kth.se>;
Sun, 11 Jun 2006 02:46:41 +0200 (CEST)
Received: from mx2.kth.se (mx2.kth.se [130.237.48.98])
by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id k5B0kfRv006655
for <arla-drinkers@stacken.kth.se>;
Sun, 11 Jun 2006 02:46:41 +0200 (MET DST)
Received: from localhost (localhost.localdomain [127.0.0.1])
by mx2.kth.se (Postfix) with ESMTP id DDEB5141637
for <arla-drinkers@stacken.kth.se>;
Sun, 11 Jun 2006 02:46:40 +0200 (CEST)
Received: from mx2.kth.se ([127.0.0.1])
by localhost (mx2.kth.se [127.0.0.1]) (amavisd-new,
port 10024) with LMTP
id 29894-03-2; Sun, 11 Jun 2006 02:46:39 +0200 (CEST)
Received: from kashyyyk.ite.kth.se (kashyyyk.ite.kth.se [130.237.31.35])
by mx2.kth.se (Postfix) with ESMTP id 71ECA140CF0;
Sun, 11 Jun 2006 02:46:39 +0200 (CEST)
Received: by kashyyyk.ite.kth.se (Postfix, from userid 18404)
id 67C9C960128; Sun, 11 Jun 2006 02:46:39 +0200 (CEST)
From: Tomas Olsson <tol@stacken.kth.se>
To: christopher@0x90.org
Subject: Re: Process pointer PID panics
References: <20060610060852.GA19245@0x90.org>
Date: 11 Jun 2006 02:46:39 +0200
In-Reply-To: <20060610060852.GA19245@0x90.org>
Message-ID: <lsrirn8jz80.fsf@kashyyyk.ite.kth.se>
Lines: 20
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Status: No, hits=-2.5 tagged_above=-200.0 required=5.0 tests=BAYES_00
X-Spam-Level:
Cc: arla-drinkers@stacken.kth.se
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se
X-Virus-Scanned: by amavisd-new at kth.se
christopher@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
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers