Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755305Ab0HaTc5 (ORCPT ); Tue, 31 Aug 2010 15:32:57 -0400 Received: from mail-yx0-f174.google.com ([209.85.213.174]:49020 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752718Ab0HaTc4 convert rfc822-to-8bit (ORCPT ); Tue, 31 Aug 2010 15:32:56 -0400 MIME-Version: 1.0 In-Reply-To: <4C7D248A.2080507@redhat.com> References: <1282950052.3284.110.camel@dhcp231-106.rdu.redhat.com> <1283210070.3284.139.camel@dhcp231-106.rdu.redhat.com> <4C7CC107.1050304@redhat.com> <4C7D0DAD.9030505@redhat.com> <4C7D141A.9060102@redhat.com> <4C7D1868.3090701@redhat.com> <1283267765.3284.150.camel@dhcp231-106.rdu.redhat.com> <4C7D1E1B.4020700@redhat.com> <1283268367.3284.154.camel@dhcp231-106.rdu.redhat.com> <4C7D248A.2080507@redhat.com> From: Kay Sievers Date: Tue, 31 Aug 2010 21:32:39 +0200 Message-ID: Subject: Re: selinux vs devtmpfs (vs udev) To: Harald Hoyer Cc: Eric Paris , Daniel J Walsh , linux-kernel@vger.kernel.org, selinux@tycho.nsa.gov, greg@kroah.com, sds@tycho.nsa.gov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 903 Lines: 21 On Tue, Aug 31, 2010 at 17:49, Harald Hoyer 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/