Hi,<br><br>I am able to re-build with SELinux now and that&#39;s working (using config from /boot/). However, when building with helloworld LSM it does not seem to be working. I can indeed see the &quot;Security Framework initialized&quot;, but none of the printk present in my module. I will be doing more test today.<div><br></div><div>I think LSM should not appear in <span style="line-height:19.7999992370605px">modprobe as they are not loaded anymore. Am I missing something or is this correct?</span><br><div><br></div><div>Thanks,</div><div>Thomas</div><br><div class="gmail_quote">On Mon Jan 19 2015 at 3:45:15 PM Dave Tian &lt;<a href="mailto:dave.jing.tian@gmail.com" target="_blank">dave.jing.tian@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">LSM does not support dynamic module loading now.<br>
<br>
I have tried to create a new LSM based on yama and boot it as the default on my Ubuntu 14.04 (kernel 3.13). It works smoothly. I have NOT tried Fedora with kernel 3.18 yet but I do not think there would be some changes breaking LSM, which has been there for years…Would you please recheck your Kconfig and Makefile? At least, you should see the logging “Security Framework initialized&quot; from dmesg, saying the LSM is init’d, after which your LSM should be  loaded presumably.<br>
<br>
-daveti<br>
<br>
&gt; On Jan 18, 2015, at 9:33 PM, <a href="mailto:Valdis.Kletnieks@vt.edu" target="_blank">Valdis.Kletnieks@vt.edu</a> wrote:<br>
&gt;<br>
&gt; On Sun, 18 Jan 2015 23:49:31 +0000, &quot;Thomas F. J.-M. Pasquier&quot; said:<br>
&gt;<br>
&gt;&gt; I am trying to build a skeleton LSM module, but I am not having much luck<br>
&gt;&gt; so far. The problem seems to be that the LSM init function is never called.<br>
&gt;<br>
&gt; What does &#39;modprobe&#39; report?  Anything in dmesg?<br>
&gt; ______________________________<u></u><u></u>_________________<br>
&gt; Kernelnewbies mailing list<br>
&gt; <a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.<u></u>or<u></u>g</a><br>
&gt; <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.<u></u>org<u></u>/mailman/listinfo/<u></u>kernelnewbie<u></u>s</a><br>
<br>
</blockquote></div></div>