X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=net%2Fcore%2Fsysctl_net_core.c;h=0df2aa6525308a365d89f57f6da76d57a24238f0;hb=4f3446bb809f20ad56cadf712e6006815ae7a8f9;hp=a6beb7b6ae556dff501413d6661d9c4655502e36;hpb=d66435cc7da95964cb386674bd82ec12ca66320a;p=cascardo%2Flinux.git diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index a6beb7b6ae55..0df2aa652530 100644 --- a/net/core/sysctl_net_core.c +++ b/net/core/sysctl_net_core.c @@ -294,6 +294,15 @@ static struct ctl_table net_core_table[] = { .mode = 0644, .proc_handler = proc_dointvec }, +# ifdef CONFIG_HAVE_EBPF_JIT + { + .procname = "bpf_jit_harden", + .data = &bpf_jit_harden, + .maxlen = sizeof(int), + .mode = 0600, + .proc_handler = proc_dointvec, + }, +# endif #endif { .procname = "netdev_tstamp_prequeue",