Commit 0c3014f
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 <[email protected]>
Signed-off-by: Paul Moore <[email protected]>1 parent 901ef84 commit 0c3014f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6550 | 6550 | | |
6551 | 6551 | | |
6552 | 6552 | | |
6553 | | - | |
| 6553 | + | |
6554 | 6554 | | |
6555 | 6555 | | |
6556 | 6556 | | |
| |||
0 commit comments