Miklos Szeredi wrote:
What's wrong with using '/proc/self/fd/N' to implement it?
I thought the intention was to have file descriptors referring to files,
not directories, to represent the directories they are in. In those
cases simply using /proc/PID/fd/N/some/more/dirs wouldn't work and
neither does /proc/PID/fd/N/../some/more/dirs.
Looking at the Sol man page again it seems they don't allow this case
but this has to be guessed from the error codes, not the description.
In this case the /rpco approach should be OK.
But there are always people questioning the use of /proc. We already
have quite a few such cases and adding more is no issue for me, but not
relying on /proc would appease some people.
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]