Hello,
While investigating a bug about systemd/udev not setting the proper
context on the hwdb.bin file, Michael Biebl discovered that apparently
the selabel_lookup_raw() function is not coping properly with paths with
double slashes (like "//lib/udev/hwdb.bin")
Shouldn't the selabel_lookup*() functions be more resilient to this
case? Or should application canonicalize (with realpath()?) the path
before calling these functions?
Regards,
Laurent Bigonville
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863854