aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-01-23 00:02:58 +0100
committerJames Morris <jmorris@namei.org>2008-01-25 11:29:54 +1100
commit1996a10948e50e546dc2b64276723c0b64d3173b (patch)
tree971b235907b7c6911c21c9139e0ba85c5b84ef80 /include
parent63cb34492351078479b2d4bae6a881806a396286 (diff)
security/selinux: constify function pointer tables and fields
Constify function pointer tables and fields. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/security.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index e4a91cb1b18..d24974262dc 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -2300,7 +2300,7 @@ static inline struct dentry *securityfs_create_file(const char *name,
mode_t mode,
struct dentry *parent,
void *data,
- struct file_operations *fops)
+ const struct file_operations *fops)
{
return ERR_PTR(-ENODEV);
}