diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-04 10:53:15 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-04 12:10:03 +0100 |
commit | 6204a717fc63891839faefda75e95a364ec0434e (patch) | |
tree | 16e5fcbca14942650391abdc21fe8bb66b0c8257 /libhurdbugaddr | |
parent | 93976a816e6d690a6c7d77801e31ce6ee5bc4899 (diff) |
trans: make the fakeroot environment more transparent
Previously fakeroot did not explicitly proxy io_identity requests, so
the default implementation from libnetfs handled them. But as the fsys
identity port returned was always netfs_fsys_identity, this broke the
getcwd logic (assuming /media/scratch is a translator):
% cd /media/scratch/foo && fakeroot-hurd pwd
/foo
Fix this by proxying io_identity requests. Since then no-one is
handing out our netfs_fsys_identity port anymore, an optimization in
netfs_fsys_identity is made obsolete by this change.
* trans/fakeroot.c (netfs_S_dir_lookup): Adjust code accordingly.
(netfs_S_io_identity): New function.
Diffstat (limited to 'libhurdbugaddr')
0 files changed, 0 insertions, 0 deletions