Re: fd allocation [was: light weight user level semaphores]

Olaf Titz (olaf@bigred.inka.de)
Sun, 22 Apr 2001 11:48:52 +0200


> So, IMHO as long as some library does not mess with fds 0, 1, and 2
> it should be ok [1]. Yes, it would be against the standard but I
>...
> [1] Unintentionally setting the controlling tty may be a problem.

The controlling tty is not what is first opened to fd 0 but what is
first opened, so this problem can occur at any time.

Olaf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/