4 ms·
> unless knowing an absolute path was enough to allow you to access it If understand correctly in fuchsia "absolute path" is always relative to a filesystem ha
by kiriakasis 8y ago
> unless knowing an absolute path was enough to allow you to access it
If understand correctly in fuchsia "absolute path" is always relative to a filesystem handle so knowing it and being able to use it are pretty similar
- cryptonector 8y agoOk, that works, though you pay a price: you have to keep track of a fair number of such handles. You'll need one for /usr/bin, and for /bin, and all the lib and libexec and share and varstate directories, and /etc. You do get to not let processes see $HOME if you don't want to, and that's very nice. In a shell one would have to expose a path->handle dictionary for scripts.
- Faark 8y agoYou mean key->handle dict? Most environment variables on my windows seem to be what you are describing, except currently being path strings instead of file system handles.