aboutsummaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-08-26 16:17:35 +0530
committerPaul Moore <paul@paul-moore.com>2017-08-28 17:33:19 -0400
commit0c3014f22dec0e1d14c8298551bfb6434638bdd9 (patch)
tree17557ee83464a436e694a9d167c33ff0238abc7e /security/security.c
parentselinux: allow per-file labeling for cgroupfs (diff)
downloadlinux-dev-0c3014f22dec0e1d14c8298551bfb6434638bdd9.tar.xz
linux-dev-0c3014f22dec0e1d14c8298551bfb6434638bdd9.zip
selinux: constify nf_hook_ops
nf_hook_ops are not supposed to change at runtime. nf_register_net_hooks and nf_unregister_net_hooks are working with const nf_hook_ops. So mark the non-const nf_hook_ops structs as const. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions