openSUSE / libpathrs

C-friendly API to make path resolution safer on Linux.
GNU Lesser General Public License v3.0
83 stars 6 forks source link

flags: ResolverFlags rework #47

Closed cyphar closed 4 months ago

cyphar commented 4 months ago

O_NOFOLLOW doesn't make a sense as a flag. Instead, we should have a Root::resolve_nofollow. This also makes it easy to implement Root::readlink.