[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] who and stale utmp entries

From: Paul Eggert
Subject: Re: [patch] who and stale utmp entries
Date: Wed, 23 Mar 2005 12:42:10 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Tim Waugh <address@hidden> writes:

> Here is a patch to prevent the who(1) command showing stale utmp
> entries of user logins.

That patch has a problem when process-IDs are reused.

Can you please explain more what is going on here?  As I understand
it, "users" and "pinky" do not suffer from the stale-utmp problem.
They do not invoke kill(), so they must have a method that doesn't
involve testing whether a process-ID exists.  Can we modify "who" to
use their method?

Also, does that patch attempt to send signals even when "who" is
invoked as (say) "who -q file"?  That doesn't sound quite right.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]