--- Ian jonhson <[EMAIL PROTECTED]> wrote: > > You can look at the selinux hooks. In this case > > they are simple enough. > > > > > > Thanks, the selinux codes is a good example, but I > don't understand > how the hooks communicate with program of user mode.
% cat /proc/self/attr/current % echo 'value' > /proc/self/attr/current > I have checked > all the docs in SELinux site and did not find any > hint description about the two hooks. Yes, there is that. > How they are called? Look in fs/proc/base.c > how they interact with other hooks and > top level programs? They are treated like file read/write. Casey Schaufler [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
