summaryrefslogtreecommitdiff
path: root/sutils/clookup.c
AgeCommit message (Collapse)Author
2013-06-29sutils: fix file_name_lookup_carefullyJustus Winter
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.
2011-08-20fix common misspellingsJonathan Neuschäfer
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
2000-03-172000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* clookup.c (file_name_lookup_carefully): Don't use MOVE_SEND in Hurd RPC.
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* clookup.c: Add #include <sys/mman.h>.
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* clookup.c (file_name_lookup_carefully): Use munmap instead of vm_deallocate.
1998-11-291998-11-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* clookup.c (file_name_lookup_carefully): Change __getuids to geteuids. Use hurd_file_name_lookup instead of __hurd_file_name_lookup.
1998-10-241998-10-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* clookup.c (file_name_lookup_carefully): Use getdport instead of __getdport, getumask () instead of _hurd_umask.
1996-08-01(file_name_lookup_carefully/lookup): When appending TAIL toThomas Bushnell
RETRY_NAME, use strcpy instead of strcat.
1996-06-19Initial revisionMiles Bader