Re: [dev] Announcing sinit - the suckless init

From: sin <sin_AT_2f30.org>
Date: Mon, 10 Feb 2014 12:31:59 +0000

On Sat, Feb 08, 2014 at 11:58:47PM +0100, Eckehard Berns wrote:
> On Fri, Feb 07, 2014 at 09:36:01PM +0000, sin wrote:
> > On Fri, Feb 07, 2014 at 09:56:17PM +0100, Eckehard Berns wrote:
> > > I tested v0.3 and besides some glitches due to my system everything
> > > worked fine. I'm using fgetty (yeah, freeing a couple more kb might
> > > not be worth using it, but I tried it some time ago and kept it) and
> > > it complains about file descriptor 3 when I try to log in. Aparently
> > > (haven't checked the fgetty code) it uses file descriptor 3 for internal
> > > communication of some sort and that would be sinit's sigfd. I added
> > > a line to spawn() to close sigfd in the first child (if sigfd >= 0)
> > > and I could log in again.
> >
> > I use SFD_CLOEXEC now - should work.
>
> Just had a chance to test v0.4-4-gebccd1b and everything works
> beautifully.

Hi there,

I just pushed a simple implementation of getty[1] to ubase. Would
be nice to see if that works ok with your setup (and maybe get rid of
fgetty ;-)).


[1] http://git.2f30.org/ubase/tree/getty.c
Received on Mon Feb 10 2014 - 13:31:59 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 10 2014 - 13:36:06 CET