commit | 01d434ce98d38e36901c72493b96afc4075ee887 | [log] [tgz] |
---|---|---|
author | Stanislav Fomichev <sdf@google.com> | Mon Dec 02 12:01:43 2019 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Dec 04 17:56:22 2019 -0800 |
tree | ccfa1fb75daed2ee62cd8252b106dc255a6f8782 | |
parent | edbca120a8cdfa5a5793707e33497aa5185875ca [diff] |
selftests/bpf: Don't hard-code root cgroup id Commit 40430452fd5d ("kernfs: use 64bit inos if ino_t is 64bit") changed the way cgroup ids are exposed to the userspace. Instead of assuming fixed root id, let's query it. Fixes: 40430452fd5d ("kernfs: use 64bit inos if ino_t is 64bit") Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20191202200143.250793-1-sdf@google.com