diff options
author | Stanislav Fomichev <sdf@google.com> | 2019-08-14 13:37:50 -0400 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-08-17 17:18:54 -0400 |
commit | 9e819ffcfe35c3779166d0fc0088215cf4924c33 (patch) | |
tree | fc03bb3db6ca7ab34279d5b0d17f53b18e746611 | |
parent | 8f51dfc73bf181f2304e1498f55d5f452e060cbe (diff) |
bpf: sync bpf.h to tools/
Sync new sk storage clone flag.
Cc: Martin KaFai Lau <kafai@fb.com>
Cc: Yonghong Song <yhs@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-rw-r--r-- | tools/include/uapi/linux/bpf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index 4393bd4b2419..0ef594ac3899 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h | |||
@@ -337,6 +337,9 @@ enum bpf_attach_type { | |||
337 | #define BPF_F_RDONLY_PROG (1U << 7) | 337 | #define BPF_F_RDONLY_PROG (1U << 7) |
338 | #define BPF_F_WRONLY_PROG (1U << 8) | 338 | #define BPF_F_WRONLY_PROG (1U << 8) |
339 | 339 | ||
340 | /* Clone map from listener for newly accepted socket */ | ||
341 | #define BPF_F_CLONE (1U << 9) | ||
342 | |||
340 | /* flags for BPF_PROG_QUERY */ | 343 | /* flags for BPF_PROG_QUERY */ |
341 | #define BPF_F_QUERY_EFFECTIVE (1U << 0) | 344 | #define BPF_F_QUERY_EFFECTIVE (1U << 0) |
342 | 345 | ||