Re: [PATCH] selinux: fix 'defined but not used' warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 2, 2008 at 6:29 PM, Alan Jenkins
<alan-jenkins@xxxxxxxxxxxxxx> wrote:
> selinux is initialized lazily, so if selinux is disabled then selinux_init will never be called.
>
> This lets udev compile with -Werror again.

Oh, I just ripped out that crap an hour ago, and use it only where
needed. Even "Hello world" will initialize selinux on startup. I was
tired seeing it parsing /proc/mounts and whatever else in strace. So
much for "lazy" init. :)

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux