On Mon, Jan 07, 2019 at 09:46:46AM -0800, Stanislav Fomichev wrote:
> We have some tests that assume create_and_get_cgroup returns -1 on error
> which is incorrect (it returns 0 on error). Since fd might be zero in
> general case, change create_and_get_cgroup to return -1 on error
> and fix the use
We have some tests that assume create_and_get_cgroup returns -1 on error
which is incorrect (it returns 0 on error). Since fd might be zero in
general case, change create_and_get_cgroup to return -1 on error
and fix the users that assume 0 on error.
Fixes: f269099a7e7a ("tools/bpf: add a selftest