--- Ian jonhson <[EMAIL PROTECTED]> wrote: > I used the LSM to implement access control of > security. I know how to > set the private information to static files via > setfattr or setxattr > in syscall, but I don't know how to set xattr > information to current > task.
The hooks you're looking for are getprocattr and setprocattr. > I means, whether we can run a program in user mode > and set the > private information in *security of current > task_struct? > > I want to use the proc files , but I don't know to > do this. Could > anybody give me some advices? You can look at the selinux hooks. In this case they are simple enough. 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