Your message dated Thu, 1 Jun 2017 11:29:45 +0200
with message-id <070cda6f-fcdf-1cd0-9989-9cc97eaaf...@debian.org>
has caused the   report #863854,
regarding selabel_lookup_raw() doesn't find correct context for  
"//lib/udev/hwdb.bin"
to be marked as having been forwarded to the upstream software
author(s) seli...@tycho.nsa.gov

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
863854: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863854
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
_______________________________________________
SELinux-devel mailing list
SELinux-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/selinux-devel

Reply via email to