OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Bugtraq archives for 3rd quarter (Jul-Sep) 1998: Re: Serious Linux 2.0.34 security problem

Re: Serious Linux 2.0.34 security problem

Alan Cox (alanLXORGUK.UKUU.ORG.UK)
Wed, 1 Jul 1998 17:07:15 +0100

> >   fcntl(0,F_SETOWN,p);
> >   s = fcntl(0,F_GETFL,0);
> >   fcntl(0,F_SETFL,s|O_ASYNC);
> >   printf("Sending SIGIO - press enter.\n");
> >   getchar();
> >   fcntl(0,F_SETFL,s&~O_ASYNC);
> >   printf("SIGIO send attempted.\n");
> >   return 0;
> > }
>
> Well, that looks like one of the class of security problems described
> by www.openbsd.org/advisories/signals.  Hasn't anyone else fixed those
> problems yet?

Of course Theo if you actually bothered to look back at the Linux sources
you'd see thats an error that crept in and we had SIGIO right way before
the old advisories that predate OpenBSD.

Alan