diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-04 10:43:04 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-04 12:10:03 +0100 |
commit | 93976a816e6d690a6c7d77801e31ce6ee5bc4899 (patch) | |
tree | 6876384dd11d78bb9816ec8cdc8ecc81e804b805 /libfshelp/delegate.c | |
parent | df66588b0f6daf99573153cb384a676ced27f0b1 (diff) |
trans: fix transparent reauthentication in fakeroot
When looking up files, fakeroot intercepts reauthentication requests
and executes io_reauthenticate and auth_user_authenticate
transparently for the client. This, however, makes the client
incorrectly assume that the lookup is finished (assuming
/media/scratch is a translator):
% cd /media/scratch && fakeroot-hurd pwd
pwd: reading directory `..': Bad file descriptor
Make the reauthentication completely transparent to the client by
re-doing the lookup ourselves.
* trans/fakeroot.c (netfs_S_dir_lookup): Fix transparent reauthentication.
Diffstat (limited to 'libfshelp/delegate.c')
0 files changed, 0 insertions, 0 deletions