2006-09-18 18:49:32

by Kylene Jo Hall

[permalink] [raw]
Subject: [PATCH] slim: compilation warning fix

There is a warning when compiling the intergity_dummy.c file about
vfs_getxattr not being defined. This patch fixes that by adding the
xattr.h include file.

Signed-off-by: Mimi Zohar <[email protected]>
Signed-off-by: Kylene Hall <[email protected]>
---
security/integrity_dummy.c | 1 +
1 files changed, 1 insertion(+)

--- linux-2.6.18-rc6-mm2/security/integrity_dummy.c 2006-09-15 11:13:55.000000000 -0500
+++ linux-2.6.18-rc6-mm2-slim/security/integrity_dummy.c 2006-09-18 13:14:16.000000000 -0500
@@ -16,6 +16,7 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/integrity.h>
+#include <linux/xattr.h>

/*
* Return the extended attribute