Age | Commit message (Collapse) | Author |
|
file_name_lookup_carefully is like file_name_lookup but tries hard to
avoid starting any passive translators while doing the lookup. The
callback contains code to get a new handle to the root if it
encounters a translator, but this code was not being executed if the
node had no record of an passive translator, just an active one.
Fix the callback by dropping the test for a passive translator. AIUI
the current check for a passive translator makes no sense, as the code
is supposed to fail on encountering a passive translator.
This fixes lookups inside translators that have no passive
translator. For example if /run is a tmpfs started only as active
translator, touch /run/lock && mount tmpfs -t tmpfs /run/lock -o
size=5M would fail.
* sutils/clookup.c (lookup): Drop the test for an passive translator.
|
|
* Fix spelling with codespell[1] and manually review it.
[1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
|
|
* clookup.c (file_name_lookup_carefully): Don't use MOVE_SEND in
Hurd RPC.
|
|
* clookup.c: Add #include <sys/mman.h>.
|
|
* clookup.c (file_name_lookup_carefully): Use munmap instead of
vm_deallocate.
|
|
* clookup.c (file_name_lookup_carefully): Change __getuids to geteuids.
Use hurd_file_name_lookup instead of __hurd_file_name_lookup.
|
|
* clookup.c (file_name_lookup_carefully): Use getdport instead of
__getdport, getumask () instead of _hurd_umask.
|
|
RETRY_NAME, use strcpy instead of strcat.
|
|
|