On Sat, Aug 26, 2017 at 6:47 AM, Arvind Yadav wrote:
> 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
> ---
> security
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
---
security/selinux/hooks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
2 matches
Mail list logo