tech-userlevel archive

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

Re: Proposal for write(1) addition



In article <201109171946.PAA00466%Sparkle.Rodents-Montreal.ORG@localhost>,
Mouse  <mouse%Rodents-Montreal.ORG@localhost> wrote:
>>> That could be easily fixed by adding a utmp-writing daemon that took
>>> unix domain messages from clients.  [...]
>> Adding it now would end up in complexity of another daemon running
>> and using memory for something elementary as write, [...]
>
>Um, note the wording: a _utmp-writing_ daemon.  This would be for
>creating (and presumably cleaning up) utmp entries, not for backending
>write(1).

We don't want one or need a daemon; just use pututxline().
We also don't need setuid to deal with ptys. This is what ptyfs is for.

christos



Home | Main Index | Thread Index | Old Index