[lkml]   [2008]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: (P): idr_remove called for id=236 which is not allocated
On Tue, Aug 19, 2008 at 12:15 AM, Alan Cox <> wrote:
> pty: If the administrator creates a device not for a ptmx slave don't error
> From: Alan Cox <>
> 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 :-)


"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

 \ /
  Last update: 2008-08-19 08:55    [W:0.056 / U:17.256 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site