commit | 51de082570e5374d4578cb159738485ddb0fddfe | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Thu Nov 30 09:02:29 2017 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Nov 30 19:58:11 2017 +0100 |
tree | e8bcdbb86fe2b9df74d232c7cf90e6a781333f36 | |
parent | 9f66816a6a4dd740bfa29cc8a8e19b90fd7df4e7 [diff] |
samples/bpf: Convert magic numbers to names in multi-prog cgroup test case Attach flag 1 == BPF_F_ALLOW_OVERRIDE; attach flag 2 == BPF_F_ALLOW_MULTI. Update the calls to bpf_prog_attach() in test_cgrp2_attach2.c to use the names over the magic numbers. Fixes: 39323e788cb67 ("samples/bpf: add multi-prog cgroup test case") Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>