Le 20/08/2020 à 14:04, Antony Antony a écrit :
[snip]
> @@ -38,6 +48,15 @@ static struct ctl_table xfrm_table[] = {
>               .mode           = 0644,
>               .proc_handler   = proc_dointvec
>       },
> +     {
> +             .procname       = "xfrm_redact_secret",
> +             .maxlen         = sizeof(u32),
> +             .mode           = 0644,
> +             /* only handle a transition from "0" to "1" */
> +             .proc_handler   = proc_dointvec_minmax,
> +             .extra1         = SYSCTL_ONE,
> +             .extra2         = SYSCTL_ONE,
nit for the v3: the '=' of the last two lines is aligned with spaces while the
first lines use tabs.

Reply via email to