[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proced: ppid of process ID 0 can be 0
From: |
Giorgos Keramidas |
Subject: |
Re: proced: ppid of process ID 0 can be 0 |
Date: |
Wed, 24 Dec 2008 00:34:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) |
On Tue, 23 Dec 2008 15:41:56 -0500, Stefan Monnier <address@hidden> wrote:
>>> >> 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.
>>
>> It's not hypothetical, I've seen such cases and reported them to
>> Roland.
>
> What were those cases?
>
>>> 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.
>> Lisp code cannot, but a primitive written in C can.
>
> Like what can it do?
It can differentiate between FreeBSD 4.3 and FreeBSD 7.2 if they use a
different style of `process root', or between Linux 1.2.X, 2.4.X and
2.6.X. Right now, Emacs sets `system-type' to "berkeley-unix" on more
than one BSD system. They might be easier to detect at C level.
- Re: proced: ppid of process ID 0 can be 0, (continued)
- Re: proced: ppid of process ID 0 can be 0, David De La Harpe Golden, 2008/12/22
- Re: proced: ppid of process ID 0 can be 0, Andreas Schwab, 2008/12/22
- Re: proced: ppid of process ID 0 can be 0, Stefan Monnier, 2008/12/22
- Re: proced: ppid of process ID 0 can be 0, Eli Zaretskii, 2008/12/22
- Re: proced: ppid of process ID 0 can be 0, Stefan Monnier, 2008/12/22
- Re: proced: ppid of process ID 0 can be 0, Eli Zaretskii, 2008/12/22
- Re: proced: ppid of process ID 0 can be 0, Roland Winkler, 2008/12/23
- Re: proced: ppid of process ID 0 can be 0, Stefan Monnier, 2008/12/23
- Re: proced: ppid of process ID 0 can be 0, Eli Zaretskii, 2008/12/23
- Re: proced: ppid of process ID 0 can be 0, Stefan Monnier, 2008/12/23
- Re: proced: ppid of process ID 0 can be 0,
Giorgos Keramidas <=
- Re: proced: ppid of process ID 0 can be 0, Stefan Monnier, 2008/12/23
- Re: proced: ppid of process ID 0 can be 0, Eli Zaretskii, 2008/12/23
- Re: proced: ppid of process ID 0 can be 0, Stefan Monnier, 2008/12/24
- Re: proced: ppid of process ID 0 can be 0, Eli Zaretskii, 2008/12/23
- Re: proced: ppid of process ID 0 can be 0, Stefan Monnier, 2008/12/24
- Re: proced: ppid of process ID 0 can be 0, Eli Zaretskii, 2008/12/24
- Re: proced: ppid of process ID 0 can be 0, Stefan Monnier, 2008/12/24
- Re: proced: ppid of process ID 0 can be 0, Eli Zaretskii, 2008/12/24
- Re: proced: ppid of process ID 0 can be 0, Stefan Monnier, 2008/12/30
- Re: proced: ppid of process ID 0 can be 0, Eli Zaretskii, 2008/12/30