|
|
|
|
|
by tsimionescu
855 days ago
|
|
Doesn't the Linux behavior make more sense? It basically guarantees that open() always returns a new file description. Having open() return an existing file description for some special files seems like a recipe for exploits. Dup() already exists for this purpose. |
|