summaryrefslogtreecommitdiff
path: root/include/linux/security.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-01-23 02:02:58 +0300
committerJames Morris <jmorris@namei.org>2008-01-25 03:29:54 +0300
commit1996a10948e50e546dc2b64276723c0b64d3173b (patch)
tree971b235907b7c6911c21c9139e0ba85c5b84ef80 /include/linux/security.h
parent63cb34492351078479b2d4bae6a881806a396286 (diff)
downloadlinux-1996a10948e50e546dc2b64276723c0b64d3173b.tar.xz
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/linux/security.h')
-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 e4a91cb1b187..d24974262dc6 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);
}