title: Writing to kernel memory in kernel 3 versus kernel 2.4?
body: <p>I've written a <code>LKM</code> which writes to a data structure of kernel <code>(poolinfo_table)</code>. If I <code>insmod</code> this <code>LKM</code> in <code>kernel 2.4</code> I guess it writes to this data structure, but when I do the same with <code>kernel 3.10</code> my system restarts as I expect! What's wrong with <code>kernel 2.4</code>? Its kernel memory isn't protected or I'm not actually writing to it?! I mean I expect any kernel crush when I try to writing to its memory, so I'm in doubt I've written actually to my kernel 2.4's memory. In fact I tried the same code at my host system (Fedora 18) with kernel 3.10 and my guest (Redhat 9) with kernel 2.4. (I have hypervisor Xen)  </p>