For syscalls such as setxattrat, it is in principle possible to use the existing libpathrs APIs to implement wrappers that work on old kernels, but this is really unergonomic and too annoying for most projects.
We should probably provide a library of backward-compatbile syscalls that use libpathrs internally. Whether this should be part of libpathrs or another library that links to libpathrs is a different question... :/
For syscalls such as
setxattrat, it is in principle possible to use the existing libpathrs APIs to implement wrappers that work on old kernels, but this is really unergonomic and too annoying for most projects.We should probably provide a library of backward-compatbile syscalls that use libpathrs internally. Whether this should be part of libpathrs or another library that links to libpathrs is a different question... :/