Re: selinux vs devtmpfs (vs udev)

From: Kay Sievers
Date: Tue Aug 31 2010 - 15:33:00 EST


On Tue, Aug 31, 2010 at 17:49, Harald Hoyer <harald@xxxxxxxxxx> wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=575128#c14
> https://bugzilla.redhat.com/attachment.cgi?id=442223&format=raw
>
> udev/udev-node.c
>
> + Â Â Â Â Â Â Â Â Â Â Â /* set selinux file context on add events */
> + Â Â Â Â Â Â Â Â Â Â Â if (strcmp(udev_device_get_action(dev), "add") == 0)
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â udev_selinux_lsetfilecon(udev, file, mode);

I can't access these bugs.

Does that makes sense/work for you?
http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=326c5fc3ea684825629eccaf33a548759162a539

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/