Re: [PATCH v2 1/4] sysctl: Add register_sysctl_init() interface

2020-05-16 Thread Kees Cook
On Sat, May 16, 2020 at 04:55:12PM +0800, Xiaoming Ni wrote: > In order to eliminate the duplicate code for registering the sysctl > interface during the initialization of each feature, add the > register_sysctl_init() interface > > Signed-off-by: Xiaoming Ni Reviewed-by: Kees Cook -- Kees Co

[PATCH v2 1/4] sysctl: Add register_sysctl_init() interface

2020-05-16 Thread Xiaoming Ni
In order to eliminate the duplicate code for registering the sysctl interface during the initialization of each feature, add the register_sysctl_init() interface Signed-off-by: Xiaoming Ni --- include/linux/sysctl.h | 2 ++ kernel/sysctl.c| 19 +++ 2 files changed, 21 in