Reading/writing in Linux kernel space
<p>I want to add functions in the Linux kernel to write and read data. But I don't know how/where to store it so other programs can read/overwrite/delete it.</p>

<p>Program A calls <code>uf_obj_add(param, param, param)</code> it stores information in memory.<br>
Program B does the same.<br>
Program C calls <code>uf_obj_get(param)</code> the kernel checks if operation is allowed and if it is, it returns data.</p>

<p>Do I just need to <code>malloc()</code> memory or is it more difficult ?<br>
And how <code>uf_obj_get()</code> can access memory where <code>uf_obj_add()</code> writes ?<br>
Where to store memory location information so both functions can access the same data ?</p>