[Fwd: getcwd syscall]

From: Paolo Zeppegno (zeppegno.paolo@seat.it)
Date: Thu Feb 24 2000 - 13:44:53 EST


This is an old email, I exchanged with Linus some time ago.


attached mail follows:



On Wed, 4 Mar 1998, Paolo Zeppegno wrote:
>
> Why not add a syscall? The way glibc does it now, seem a real hack to
> me. (Yes, we have this syscall, but it's not really a syscall... well..)

Agreed. I'll add it, as it should be fairly simple.

> The old user land implementation had also the side effect that if a
> directory
> was not readable meant that getcwd would not give a pathname back. Now
> I think the syscall will never fail. Is this kosher for posix?

We can make it fail if we want to. I don't think we want to, and I don't
think POSIX says anything about it, but let's just do it and see what
people think...

                Linus

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



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:10 EST