From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 01 Feb 2005 02:14:33 +0000 Subject: Re: [PATCH, UDEV] don't call selinux_restore() if Message-Id: <1107224073.4637.94.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, 2005-02-01 at 00:55 +0100, Michael Buesch wrote: > 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 Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel