diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-26 13:47:35 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2017-08-29 00:33:19 +0300 |
commit | 0c3014f22dec0e1d14c8298551bfb6434638bdd9 (patch) | |
tree | 17557ee83464a436e694a9d167c33ff0238abc7e /include/linux/security.h | |
parent | 901ef845fa2469c211ce3b1e955d9e7245ab5d50 (diff) | |
download | linux-0c3014f22dec0e1d14c8298551bfb6434638bdd9.tar.xz |
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 'include/linux/security.h')
0 files changed, 0 insertions, 0 deletions