Re: Serious flaw in glibc ?

Peter Benie (pjb1008@cam.ac.uk)
Wed, 14 Oct 1998 09:55:52 +0100


Linus Torvalds writes ("Re: Serious flaw in glibc ?"):
>
> Finally, I should probably just add a "opendir()" system call. That way
> I could return EISDIR for normal open() calls some day in the future
> when we can drop the old binary support. Consider it done.

I agree that open() should not work on directories, however, it will
break existing programs that use open() followed by fchdir().

Peter

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