aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-03-28 17:48:29 -0700
committerAlexei Starovoitov <[email protected]>2018-03-28 19:36:13 -0700
commit2f46e0c1273512cbdb944f5a50cc93cf0888c3d7 (patch)
tree1a890a77ef5f1b07c3f55c76d3e8acef52a32dc9 /net/unix/sysctl_net_unix.c
parentfc4484970e7e4bf40ba958f7bc48474ddadfdbfc (diff)
nfp: bpf: add helper for validating stack pointers
Our implementation has restriction on stack pointers for function calls. Move the common checks into a helper for reuse. The state has to be encapsulated into a structure to support parameters other than BPF_REG_2. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Reviewed-by: Jiong Wang <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions