From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: proced: ppid of process ID 0 can be 0 Date: Tue, 23 Dec 2008 09:44:29 -0500 Message-ID: References: <18765.19040.568030.246241@tfkp04.physik.uni-erlangen.de> <18765.29820.997276.703222@tfkp04.physik.uni-erlangen.de> <18765.51840.943986.608296@tfkp04.physik.uni-erlangen.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230043488 25496 80.91.229.12 (23 Dec 2008 14:44:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Dec 2008 14:44:48 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org, Roland.Winkler@physik.uni-erlangen.de To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 23 15:45:53 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LF8W9-0001wt-CO for ged-emacs-devel@m.gmane.org; Tue, 23 Dec 2008 15:45:53 +0100 Original-Received: from localhost ([127.0.0.1]:48569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LF8Uw-000058-JX for ged-emacs-devel@m.gmane.org; Tue, 23 Dec 2008 09:44:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LF8Us-0008WS-A0 for emacs-devel@gnu.org; Tue, 23 Dec 2008 09:44:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LF8Uq-0008Vu-0H for emacs-devel@gnu.org; Tue, 23 Dec 2008 09:44:33 -0500 Original-Received: from [199.232.76.173] (port=59767 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LF8Up-0008Vr-Rf for emacs-devel@gnu.org; Tue, 23 Dec 2008 09:44:31 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:47260) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LF8Uo-0007qg-NP; Tue, 23 Dec 2008 09:44:30 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvAEAIeHUElMCqh5/2dsb2JhbACBbL1nWJFIhkOBYg X-IronPort-AV: E=Sophos;i="4.36,271,1228107600"; d="scan'208";a="31412202" Original-Received: from 76-10-168-121.dsl.teksavvy.com (HELO pastel.home) ([76.10.168.121]) by ironport2-out.teksavvy.com with ESMTP; 23 Dec 2008 09:44:28 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id E73608780; Tue, 23 Dec 2008 09:44:29 -0500 (EST) In-Reply-To: (Eli Zaretskii's message of "Tue, 23 Dec 2008 06:02:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107237 Archived-At: >> Indeed, it should be in system-process-attributes which is already >> OS-dependent. > If you mean by having no ppid attribute, then that's ambiguous, since > an attribute can be missing because it is inaccessible for some > reason, like some kind of failure unrelated to the fact that the > process is really a root of a tree. Seems very hypothetical. And on top of that, even in that hypothetical case, it's far from clear that it would create any problem. More to the point: even if we could distinguish the "no ppid" from "unkown ppid", it's unclear how Elisp code could make use of it. So I think we shouldn't worry about it. Stefan