Searched refs:query_prog_cnt (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lsm_cgroup.c | 19 static __u32 query_prog_cnt(int cgroup_fd, const char *attach_func) in query_prog_cnt() function 107 ASSERT_EQ(query_prog_cnt(cgroup_fd, NULL), 0, "total prog count"); in test_lsm_cgroup_functional() 116 ASSERT_EQ(query_prog_cnt(cgroup_fd, NULL), 1, "total prog count"); in test_lsm_cgroup_functional() 123 ASSERT_EQ(query_prog_cnt(cgroup_fd, NULL), 2, "total prog count"); in test_lsm_cgroup_functional() 133 ASSERT_EQ(query_prog_cnt(cgroup_fd, NULL), 3, "total prog count"); in test_lsm_cgroup_functional() 141 ASSERT_EQ(query_prog_cnt(cgroup_fd, NULL), 3, "total prog count"); in test_lsm_cgroup_functional() 145 ASSERT_EQ(query_prog_cnt(cgroup_fd, "bpf_lsm_socket_bind"), 0, "prog count"); in test_lsm_cgroup_functional() 151 ASSERT_EQ(query_prog_cnt(cgroup_fd, NULL), 4, "total prog count"); in test_lsm_cgroup_functional() 160 ASSERT_EQ(query_prog_cnt(cgroup_fd, NULL), 4, "total prog count"); in test_lsm_cgroup_functional() 174 ASSERT_EQ(query_prog_cnt(cgroup_fd, NULL), 4, "total prog count"); in test_lsm_cgroup_functional() [all …]
|