commit | ef15314aa5de955c6afd87d512e8b00f5ac08d06 | [log] [tgz] |
---|---|---|
author | YiFei Zhu <zhuyifei@google.com> | Tue Sep 15 16:45:40 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue Sep 15 18:28:27 2020 -0700 |
tree | 4304215946fe8c286207c11d6e6e22afcf1cf0f2 | |
parent | 984fe94f94756dacb3c8cc52904a23adf9e04da1 [diff] |
bpf: Add BPF_PROG_BIND_MAP syscall This syscall binds a map to a program. Returns success if the map is already bound to the program. Signed-off-by: YiFei Zhu <zhuyifei@google.com> Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Cc: YiFei Zhu <zhuyifei1999@gmail.com> Link: https://lore.kernel.org/bpf/20200915234543.3220146-3-sdf@google.com