diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-22 18:02:58 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-01-24 19:29:54 -0500 |
commit | 1996a10948e50e546dc2b64276723c0b64d3173b (patch) | |
tree | 971b235907b7c6911c21c9139e0ba85c5b84ef80 /include/linux/security.h | |
parent | 63cb34492351078479b2d4bae6a881806a396286 (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/linux/security.h')
-rw-r--r-- | include/linux/security.h | 2 |
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, | |||
2300 | mode_t mode, | 2300 | mode_t mode, |
2301 | struct dentry *parent, | 2301 | struct dentry *parent, |
2302 | void *data, | 2302 | void *data, |
2303 | struct file_operations *fops) | 2303 | const struct file_operations *fops) |
2304 | { | 2304 | { |
2305 | return ERR_PTR(-ENODEV); | 2305 | return ERR_PTR(-ENODEV); |
2306 | } | 2306 | } |