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

From: Olaf Titz (olaf@bigred.inka.de)
Date: Sun Apr 22 2001 - 04:48:52 EST


> 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/



This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:42 EST