Re: 2.6.25.11-97.fc9 (P): idr_remove called for id=236 which is not allocated
From: Vegard Nossum
Date: Tue Aug 19 2008 - 02:53:31 EST
On Tue, Aug 19, 2008 at 12:15 AM, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> pty: If the administrator creates a device not for a ptmx slave don't error
>
> From: Alan Cox <alan@xxxxxxxxxx>
>
>
> The open path for ptmx slaves is via the ptmx device. Opening them any
> other way is not allowed. Vegard Nossum found that previously this was not
> the case and mknod foo c 128 42; cat foo would produce nasty diagnostics
> ---
Thanks, this seems to work for me. I do get a "SLAP" in dmesg each
time, however :-)
Vegard
--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/