最新文章

Linux 进程安全上下文 struct cred

3 分钟读完

在学习LSM过程中,发现有的系统为实现特定功能,需要在进程上附加自定义的信息,其中一个系统laminar基于内核2.6,定义一个新的 struct task_security_struct,然后挂接到task_struct的void *security指针上,security指针是LSM框架的辅助信息。