提交 16014d87 编写于 作者: J Jarkko Sakkinen 提交者: Casey Schaufler

Smack: compilation fix

On some build configurations PER_CLEAR_ON_SETID symbol was not
found when compiling smack_lsm.c. This patch fixes the issue by
explicitly doing #include <linux/personality.h>.
Signed-off-by: NJarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
Signed-off-by: NCasey Schaufler <cschaufler@cschaufler-intel.(none)>
上级 f8859d98
......@@ -35,6 +35,7 @@
#include <linux/audit.h>
#include <linux/magic.h>
#include <linux/dcache.h>
#include <linux/personality.h>
#include "smack.h"
#define task_security(task) (task_cred_xxx((task), security))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册