Hacker News new | ask | show | jobs
by jakobegger 2899 days ago
What benefit would requiring veil() before unveil() have? There is no point in calling unveil() if the file system isn't hidden. Making the hiding implicit reduces the number of possible mistakes people can make when using the API.
1 comments

You could be more sure that something else didn't already unveil things you want hidden in your current invocation.