Skip to contentSkip to conversation

don't call selinux_restore() if

PATCH Kay Sievers 1 participant 1 message Feb 1, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · Michael Buesch

The attached patch fixes the code path if namedev_name_device() fails. As selinux_init() is not called we should not call selinux_restore(). Is this correct? It's not tested as I don't have selinux.

Looks like a sensible fix. I've applied it to my tree.

Thanks,
Kay

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel