summaryrefslogtreecommitdiffstats
path: root/security/selinux
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 /security/selinux
parent63cb34492351078479b2d4bae6a881806a396286 (diff)
downloadop-kernel-dev-1996a10948e50e546dc2b64276723c0b64d3173b.zip
op-kernel-dev-1996a10948e50e546dc2b64276723c0b64d3173b.tar.gz
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 'security/selinux')
-rw-r--r--security/selinux/selinuxfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c
index 2fa483f..397fd49 100644
--- a/security/selinux/selinuxfs.c
+++ b/security/selinux/selinuxfs.c
@@ -1222,7 +1222,7 @@ static int sel_avc_stats_seq_show(struct seq_file *seq, void *v)
static void sel_avc_stats_seq_stop(struct seq_file *seq, void *v)
{ }
-static struct seq_operations sel_avc_cache_stats_seq_ops = {
+static const struct seq_operations sel_avc_cache_stats_seq_ops = {
.start = sel_avc_stats_seq_start,
.next = sel_avc_stats_seq_next,
.show = sel_avc_stats_seq_show,
OpenPOWER on IntegriCloud