EXPECT_EQ 43 tools/testing/selftests/bpf/test_tcpbpf_user.c EXPECT_EQ(expected_events, result->event_map, "#" PRIx32); EXPECT_EQ 44 tools/testing/selftests/bpf/test_tcpbpf_user.c EXPECT_EQ(501ULL, result->bytes_received, "llu"); EXPECT_EQ 45 tools/testing/selftests/bpf/test_tcpbpf_user.c EXPECT_EQ(1002ULL, result->bytes_acked, "llu"); EXPECT_EQ 46 tools/testing/selftests/bpf/test_tcpbpf_user.c EXPECT_EQ(1, result->data_segs_in, PRIu32); EXPECT_EQ 47 tools/testing/selftests/bpf/test_tcpbpf_user.c EXPECT_EQ(1, result->data_segs_out, PRIu32); EXPECT_EQ 48 tools/testing/selftests/bpf/test_tcpbpf_user.c EXPECT_EQ(0x80, result->bad_cb_test_rv, PRIu32); EXPECT_EQ 49 tools/testing/selftests/bpf/test_tcpbpf_user.c EXPECT_EQ(0, result->good_cb_test_rv, PRIu32); EXPECT_EQ 50 tools/testing/selftests/bpf/test_tcpbpf_user.c EXPECT_EQ(1, result->num_listen, PRIu32); EXPECT_EQ 65 tools/testing/selftests/bpf/test_tcpbpf_user.c EXPECT_EQ(0, rv, "d"); EXPECT_EQ 66 tools/testing/selftests/bpf/test_tcpbpf_user.c EXPECT_EQ(0, res, "d"); EXPECT_EQ 70 tools/testing/selftests/bpf/test_tcpbpf_user.c EXPECT_EQ(0, rv, "d"); EXPECT_EQ 71 tools/testing/selftests/bpf/test_tcpbpf_user.c EXPECT_EQ(1, res, "d"); EXPECT_EQ 93 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); EXPECT_EQ 95 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(buf, test_str, send_len), 0); EXPECT_EQ 193 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); EXPECT_EQ 194 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, recv_buf, to_send, MSG_WAITALL), to_send); EXPECT_EQ 195 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); EXPECT_EQ 198 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, st.st_size, MSG_WAITALL), st.st_size); EXPECT_EQ 209 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(buf, recv_mem, send_len), 0); EXPECT_EQ 219 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); EXPECT_EQ 221 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(buf, test_str, send_len), 0); EXPECT_EQ 230 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len); EXPECT_EQ 231 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_DONTWAIT), -1); EXPECT_EQ 232 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); EXPECT_EQ 233 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, send_len * 2, MSG_WAITALL), EXPECT_EQ 235 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(buf, test_str, send_len), 0); EXPECT_EQ 244 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len); EXPECT_EQ 245 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_DONTWAIT), -1); EXPECT_EQ 262 tools/testing/selftests/net/tls.c EXPECT_EQ(sendmsg(self->fd, &msg, 0), send_len); EXPECT_EQ 263 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_WAITALL), send_len); EXPECT_EQ 264 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(buf, test_str, send_len), 0); EXPECT_EQ 287 tools/testing/selftests/net/tls.c EXPECT_EQ(sendmsg(self->fd, &msg, 0), SEND_LEN * frags); EXPECT_EQ 288 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, SEND_LEN * frags, MSG_WAITALL), EXPECT_EQ 292 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(buf + SEND_LEN * i, EXPECT_EQ 314 tools/testing/selftests/net/tls.c EXPECT_EQ(sendmsg(self->cfd, &msg, 0), send_len); EXPECT_EQ 346 tools/testing/selftests/net/tls.c EXPECT_EQ(sendmsg(self->cfd, &msg, 0), total_len); EXPECT_EQ 350 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_strs[i], buf + len_cmp, EXPECT_EQ 383 tools/testing/selftests/net/tls.c EXPECT_EQ(sendmsg(self->fd, &msg, 0), total_len); EXPECT_EQ 403 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, mem_recv, send_len, MSG_WAITALL), send_len); EXPECT_EQ 404 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); EXPECT_EQ 421 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, mem_recv, send_len, MSG_WAITALL), send_len); EXPECT_EQ 422 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); EXPECT_EQ 436 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len2, 0), send_len2); EXPECT_EQ 437 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, send_len2, MSG_WAITALL), send_len2); EXPECT_EQ 438 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str, buf, send_len2), 0); EXPECT_EQ 443 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, mem_recv, send_len, MSG_WAITALL), send_len); EXPECT_EQ 444 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); EXPECT_EQ 458 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(mem_send, mem_recv, send_len), 0); EXPECT_EQ 470 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); EXPECT_EQ 476 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str, buf, send_len), 0); EXPECT_EQ 487 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, send_mem, send_len, 0), send_len); EXPECT_EQ 494 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(send_mem, recv_mem, send_len), 0); EXPECT_EQ 509 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, buf, send_len, 0), send_len); EXPECT_EQ 538 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(send_mem, recv_mem, total_len), 0); EXPECT_EQ 551 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, recv_mem, total_len, MSG_WAITALL), total_len); EXPECT_EQ 553 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(send_mem, recv_mem, send_len), 0); EXPECT_EQ 554 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(send_mem, recv_mem + send_len, send_len), 0); EXPECT_EQ 567 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, recv_mem, recv_len, 0), recv_len); EXPECT_EQ 568 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, recv_mem + recv_len, recv_len, 0), 5); EXPECT_EQ 569 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(send_mem, recv_mem, total_len), 0); EXPECT_EQ 581 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); EXPECT_EQ 584 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str_first, recv_mem, strlen(test_str_first)), 0); EXPECT_EQ 588 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str_second, recv_mem, strlen(test_str_second)), EXPECT_EQ 597 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, sizeof(buf), MSG_DONTWAIT), -1); EXPECT_EQ 599 tools/testing/selftests/net/tls.c EXPECT_EQ(err, true); EXPECT_EQ 608 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); EXPECT_EQ 610 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str, buf, send_len), 0); EXPECT_EQ 613 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str, buf, send_len), 0); EXPECT_EQ 624 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); EXPECT_EQ 627 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str, buf, send_len), 0); EXPECT_EQ 631 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str, buf, send_len), 0); EXPECT_EQ 643 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str_first, len, 0), len); EXPECT_EQ 646 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str_second, len, 0), len); EXPECT_EQ 650 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); EXPECT_EQ 654 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str_first, buf, len), 0); EXPECT_EQ 658 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, len, MSG_WAITALL), len); EXPECT_EQ 664 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str, buf, len), 0); EXPECT_EQ 670 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str_first, len, MSG_MORE), len); EXPECT_EQ 673 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str_second, len, 0), len); EXPECT_EQ 677 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); EXPECT_EQ 680 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str, buf, len), 0); EXPECT_EQ 692 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str_first, len, 0), len); EXPECT_EQ 695 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str_second, len, 0), len); EXPECT_EQ 702 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(test_str, buf, len), 0); EXPECT_EQ 711 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, send_mem, 10, 0), 10); EXPECT_EQ 712 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, send_mem, 5, 0), 5); EXPECT_EQ 715 tools/testing/selftests/net/tls.c EXPECT_EQ(setsockopt(self->cfd, SOL_SOCKET, SO_RCVLOWAT, EXPECT_EQ 717 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, recv_mem, 1, MSG_WAITALL), 1); EXPECT_EQ 718 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, recv_mem + 1, 6, MSG_WAITALL), 6); EXPECT_EQ 719 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, recv_mem + 7, 10, 0), 8); EXPECT_EQ 721 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(send_mem, recv_mem, 10), 0); EXPECT_EQ 722 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(send_mem, recv_mem + 10, 5), 0); EXPECT_EQ 750 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); EXPECT_EQ 752 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(buf, test_str, send_len), 0); EXPECT_EQ 756 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->cfd, test_str, send_len, 0), send_len); EXPECT_EQ 758 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(buf, test_str, send_len), 0); EXPECT_EQ 768 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); EXPECT_EQ 772 tools/testing/selftests/net/tls.c EXPECT_EQ(poll(&fd, 1, 20), 1); EXPECT_EQ 773 tools/testing/selftests/net/tls.c EXPECT_EQ(fd.revents & POLLIN, 1); EXPECT_EQ 774 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_WAITALL), send_len); EXPECT_EQ 776 tools/testing/selftests/net/tls.c EXPECT_EQ(poll(&fd, 1, 20), 0); EXPECT_EQ 788 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); EXPECT_EQ 790 tools/testing/selftests/net/tls.c EXPECT_EQ(poll(&fd, 1, -1), 1); EXPECT_EQ 791 tools/testing/selftests/net/tls.c EXPECT_EQ(fd.revents & POLLIN, 1); EXPECT_EQ 792 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, recv_mem, send_len, MSG_WAITALL), send_len); EXPECT_EQ 804 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, send_mem, sizeof(send_mem), 0), EXPECT_EQ 807 tools/testing/selftests/net/tls.c EXPECT_EQ(poll(&fd, 1, -1), 1); EXPECT_EQ 808 tools/testing/selftests/net/tls.c EXPECT_EQ(fd.revents & POLLIN, 1); EXPECT_EQ 809 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, recv_mem, sizeof(recv_mem), MSG_WAITALL), EXPECT_EQ 815 tools/testing/selftests/net/tls.c EXPECT_EQ(poll(&fd, 1, -1), 1); EXPECT_EQ 816 tools/testing/selftests/net/tls.c EXPECT_EQ(fd.revents & POLLIN, 1); EXPECT_EQ 817 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, recv_mem, sizeof(recv_mem), 0), EXPECT_EQ 844 tools/testing/selftests/net/tls.c EXPECT_EQ(status, 0); EXPECT_EQ 845 tools/testing/selftests/net/tls.c EXPECT_EQ(res, pid2); EXPECT_EQ 875 tools/testing/selftests/net/tls.c EXPECT_EQ(setsockopt(self->fd, SOL_SOCKET, SO_SNDBUF, EXPECT_EQ 905 tools/testing/selftests/net/tls.c EXPECT_EQ(status, 0); EXPECT_EQ 906 tools/testing/selftests/net/tls.c EXPECT_EQ(res, pid2); EXPECT_EQ 967 tools/testing/selftests/net/tls.c EXPECT_EQ(status, 0); EXPECT_EQ 1067 tools/testing/selftests/net/tls.c EXPECT_EQ(sendmsg(self->fd, &msg, 0), send_len); EXPECT_EQ 1069 tools/testing/selftests/net/tls.c EXPECT_EQ(recv(self->cfd, buf, send_len, 0), -1); EXPECT_EQ 1072 tools/testing/selftests/net/tls.c EXPECT_EQ(recvmsg(self->cfd, &msg, MSG_WAITALL | MSG_PEEK), send_len); EXPECT_EQ 1076 tools/testing/selftests/net/tls.c EXPECT_EQ(cmsg->cmsg_level, SOL_TLS); EXPECT_EQ 1077 tools/testing/selftests/net/tls.c EXPECT_EQ(cmsg->cmsg_type, TLS_GET_RECORD_TYPE); EXPECT_EQ 1079 tools/testing/selftests/net/tls.c EXPECT_EQ(record_type, 100); EXPECT_EQ 1080 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(buf, test_str, send_len), 0); EXPECT_EQ 1086 tools/testing/selftests/net/tls.c EXPECT_EQ(recvmsg(self->cfd, &msg, MSG_WAITALL), send_len); EXPECT_EQ 1089 tools/testing/selftests/net/tls.c EXPECT_EQ(cmsg->cmsg_level, SOL_TLS); EXPECT_EQ 1090 tools/testing/selftests/net/tls.c EXPECT_EQ(cmsg->cmsg_type, TLS_GET_RECORD_TYPE); EXPECT_EQ 1092 tools/testing/selftests/net/tls.c EXPECT_EQ(record_type, 100); EXPECT_EQ 1093 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(buf, test_str, send_len), 0); EXPECT_EQ 1104 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); EXPECT_EQ 1106 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(buf, test_str, send_len), 0); EXPECT_EQ 1117 tools/testing/selftests/net/tls.c EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len); EXPECT_EQ 1137 tools/testing/selftests/net/tls.c EXPECT_EQ(ret, 0); EXPECT_EQ 1139 tools/testing/selftests/net/tls.c EXPECT_EQ(ret, -1); EXPECT_EQ 1140 tools/testing/selftests/net/tls.c EXPECT_EQ(errno, EINVAL); EXPECT_EQ 1143 tools/testing/selftests/net/tls.c EXPECT_EQ(ret, -1); EXPECT_EQ 1144 tools/testing/selftests/net/tls.c EXPECT_EQ(errno, EISCONN); EXPECT_EQ 1172 tools/testing/selftests/net/tls.c EXPECT_EQ(ret, -1); EXPECT_EQ 1176 tools/testing/selftests/net/tls.c EXPECT_EQ(errno, ENOTCONN); EXPECT_EQ 1179 tools/testing/selftests/net/tls.c EXPECT_EQ(ret, -1); EXPECT_EQ 1180 tools/testing/selftests/net/tls.c EXPECT_EQ(errno, ENOTCONN); EXPECT_EQ 1192 tools/testing/selftests/net/tls.c EXPECT_EQ(ret, -1); EXPECT_EQ 1193 tools/testing/selftests/net/tls.c EXPECT_EQ(errno, EEXIST); EXPECT_EQ 1240 tools/testing/selftests/net/tls.c EXPECT_EQ(ret, 0); EXPECT_EQ 1249 tools/testing/selftests/net/tls.c EXPECT_EQ(ret, 0); EXPECT_EQ 1253 tools/testing/selftests/net/tls.c EXPECT_EQ(ret, 0); EXPECT_EQ 1327 tools/testing/selftests/net/tls.c EXPECT_EQ(send(fd, test_str, send_len, 0), send_len); EXPECT_EQ 1329 tools/testing/selftests/net/tls.c EXPECT_EQ(memcmp(buf, test_str, send_len), 0); EXPECT_EQ 71 tools/testing/selftests/rtc/rtctest.c EXPECT_EQ(NUM_UIE, irq); EXPECT_EQ 106 tools/testing/selftests/rtc/rtctest.c EXPECT_EQ(NUM_UIE, irq); EXPECT_EQ 260 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret) { EXPECT_EQ 275 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, ret); EXPECT_EQ 276 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EFAULT, errno) { EXPECT_EQ 301 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, ret); EXPECT_EQ 302 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EACCES, errno); EXPECT_EQ 304 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret); EXPECT_EQ 405 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, ret); EXPECT_EQ 406 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno); EXPECT_EQ 425 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret); EXPECT_EQ 431 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(2, ret); EXPECT_EQ 467 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, ret); EXPECT_EQ 468 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno); EXPECT_EQ 490 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 509 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)) { EXPECT_EQ 531 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)) { EXPECT_EQ 576 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 578 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); EXPECT_EQ 611 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 614 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_times, &fatal_address)); EXPECT_EQ 656 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 663 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(MAP_FAILED, map2); EXPECT_EQ 799 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, ret); EXPECT_EQ 800 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno); EXPECT_EQ 829 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 830 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, read(0, NULL, 0)); EXPECT_EQ 831 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(E2BIG, errno); EXPECT_EQ 847 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 849 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, read(0, NULL, 0)); EXPECT_EQ 869 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 870 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, read(0, NULL, 0)); EXPECT_EQ 871 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(4095, errno); EXPECT_EQ 900 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 901 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, read(0, NULL, 0)); EXPECT_EQ 902 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(12, errno); EXPECT_EQ 999 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(SIGSYS, test); EXPECT_EQ 1010 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(__NR_getpid, sigsys->_syscall); EXPECT_EQ 1114 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, res); EXPECT_EQ 1140 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, res); EXPECT_EQ 1143 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, res); EXPECT_EQ 1168 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 1170 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); EXPECT_EQ 1193 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 1195 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); EXPECT_EQ 1218 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 1220 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); EXPECT_EQ 1241 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 1242 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); EXPECT_EQ 1263 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 1264 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); EXPECT_EQ 1283 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 1285 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, syscall(__NR_getpid)); EXPECT_EQ 1304 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 1306 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, syscall(__NR_getpid)); EXPECT_EQ 1324 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 1326 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(mypid, syscall(__NR_getpid)); EXPECT_EQ 1344 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 1346 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(mypid, syscall(__NR_getpid)); EXPECT_EQ 1491 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret); EXPECT_EQ 1502 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret); EXPECT_EQ 1554 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, self->poked); EXPECT_EQ 1556 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, ret); EXPECT_EQ 1557 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0x1001, self->poked); EXPECT_EQ 1570 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, self->poked); EXPECT_EQ 1572 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, self->poked); EXPECT_EQ 1615 tools/testing/selftests/seccomp/seccomp_bpf.c # define EXPECT_SYSCALL_RETURN(val, action) EXPECT_EQ(-1, action) EXPECT_EQ 1621 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, action); \ EXPECT_EQ 1622 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-(val), errno); \ EXPECT_EQ 1624 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(val, action); \ EXPECT_EQ 1641 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ptrace(PTRACE_GETREGS, tracee, 0, ®s)) { EXPECT_EQ 1650 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ptrace(PTRACE_GETREGSET, tracee, NT_PRSTATUS, &iov)) { EXPECT_EQ 1677 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret) {} EXPECT_EQ 1698 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret); EXPECT_EQ 1710 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret); EXPECT_EQ 1734 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret); EXPECT_EQ 1745 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret); EXPECT_EQ 1751 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(__NR_getpid, get_syscall(_metadata, tracee)); EXPECT_EQ 1756 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(__NR_gettid, get_syscall(_metadata, tracee)); EXPECT_EQ 1761 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(__NR_openat, get_syscall(_metadata, tracee)); EXPECT_EQ 1766 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(__NR_getppid, get_syscall(_metadata, tracee)); EXPECT_EQ 1769 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, msg) { EXPECT_EQ 1792 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret); EXPECT_EQ 1793 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(entry ? PTRACE_EVENTMSG_SYSCALL_ENTRY EXPECT_EQ 1907 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(self->parent, syscall(__NR_getppid)); EXPECT_EQ 1922 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(self->parent, syscall(__NR_getpid)); EXPECT_EQ 1982 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, syscall(__NR_getpid)); EXPECT_EQ 1983 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EPERM, errno); EXPECT_EQ 2044 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, syscall(__NR_getpid)); EXPECT_EQ 2045 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EPERM, errno); EXPECT_EQ 2100 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno) { EXPECT_EQ 2106 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno) { EXPECT_EQ 2110 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno) { EXPECT_EQ 2116 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno) { EXPECT_EQ 2120 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EFAULT, errno) { EXPECT_EQ 2125 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, errno) { EXPECT_EQ 2151 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret) { EXPECT_EQ 2157 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno) { EXPECT_EQ 2162 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno) { EXPECT_EQ 2205 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, ret); EXPECT_EQ 2206 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EFAULT, errno) { EXPECT_EQ 2227 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, ret); EXPECT_EQ 2228 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EFAULT, errno) { EXPECT_EQ 2238 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, ret); EXPECT_EQ 2239 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno) { EXPECT_EQ 2250 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, ret); EXPECT_EQ 2251 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno) { EXPECT_EQ 2278 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret) { EXPECT_EQ 2479 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(SIBLING_EXIT_FAILURE, (long)status); EXPECT_EQ 2481 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(SIBLING_EXIT_UNKILLED, (long)status); EXPECT_EQ 2521 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0x0, (long)status); EXPECT_EQ 2523 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0x0, (long)status); EXPECT_EQ 2547 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(SIBLING_EXIT_NEWPRIVS, (long)status); EXPECT_EQ 2549 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(SIBLING_EXIT_NEWPRIVS, (long)status); EXPECT_EQ 2587 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0x0, (long)status); EXPECT_EQ 2589 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0x0, (long)status); EXPECT_EQ 2632 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(SIBLING_EXIT_UNKILLED, (long)status); EXPECT_EQ 2634 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(SIBLING_EXIT_UNKILLED, (long)status); EXPECT_EQ 2692 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(SIBLING_EXIT_UNKILLED, (long)status); EXPECT_EQ 2717 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, (long)status); EXPECT_EQ 2776 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ptrace(PTRACE_TRACEME)); EXPECT_EQ 2777 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, raise(SIGSTOP)); EXPECT_EQ 2779 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, close(pipefd[1])); EXPECT_EQ 2781 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { EXPECT_EQ 2786 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret) { EXPECT_EQ 2790 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(1, read(pipefd[0], &buf, 1)) { EXPECT_EQ 2793 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ('.', buf) { EXPECT_EQ 2800 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, nanosleep(&timeout, NULL)) { EXPECT_EQ 2805 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(1, read(pipefd[0], &buf, 1)) { EXPECT_EQ 2808 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ('!', buf) { EXPECT_EQ 2816 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, close(pipefd[0])); EXPECT_EQ 2833 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(__NR_nanosleep, get_syscall(_metadata, child_pid)); EXPECT_EQ 2839 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, info.si_errno); EXPECT_EQ 2840 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(getuid(), info.si_uid); EXPECT_EQ 2842 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(child_pid, info.si_pid); EXPECT_EQ 2857 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(SIGSTOP, info.si_signo); EXPECT_EQ 2884 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(__NR_nanosleep, ret); EXPECT_EQ 2888 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(__NR_restart_syscall, ret); EXPECT_EQ 2894 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, close(pipefd[1])); EXPECT_EQ 2936 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno) { EXPECT_EQ 2942 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret); EXPECT_EQ 2950 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret); EXPECT_EQ 2955 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, ret); EXPECT_EQ 2957 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(parent, syscall(__NR_getppid)); EXPECT_EQ 2959 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, syscall(__NR_getpid)); EXPECT_EQ 2978 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ret, 0); EXPECT_EQ 2982 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ret, 0) { EXPECT_EQ 2990 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ret, -1); EXPECT_EQ 2991 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(errno, EOPNOTSUPP); EXPECT_EQ 3022 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, seccomp(SECCOMP_SET_MODE_FILTER, EXPECT_EQ 3024 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog)); EXPECT_EQ 3026 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, close(pipefd[0])); EXPECT_EQ 3045 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(sizeof(md), ret) { EXPECT_EQ 3050 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(md.flags, SECCOMP_FILTER_FLAG_LOG); EXPECT_EQ 3051 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(md.filter_off, 0); EXPECT_EQ 3055 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(sizeof(md), ret); EXPECT_EQ 3056 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(md.flags, 0); EXPECT_EQ 3057 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(md.filter_off, 1); EXPECT_EQ 3115 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(waitpid(pid, &status, 0), pid); EXPECT_EQ 3116 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(true, WIFEXITED(status)); EXPECT_EQ 3117 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, WEXITSTATUS(status)); EXPECT_EQ 3120 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog), 0); EXPECT_EQ 3121 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog), 0); EXPECT_EQ 3122 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog), 0); EXPECT_EQ 3123 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog), 0); EXPECT_EQ 3131 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(user_trap_syscall(__NR_getppid, EXPECT_EQ 3134 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(errno, EBUSY); EXPECT_EQ 3148 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(pollfd.revents, POLLIN); EXPECT_EQ 3155 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(-1, ret); EXPECT_EQ 3156 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(EINVAL, errno); EXPECT_EQ 3160 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); EXPECT_EQ 3167 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(pollfd.revents, POLLOUT); EXPECT_EQ 3169 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(req.data.nr, __NR_getppid); EXPECT_EQ 3177 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), -1); EXPECT_EQ 3178 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(errno, EINVAL); EXPECT_EQ 3181 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), 0); EXPECT_EQ 3183 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(waitpid(pid, &status, 0), pid); EXPECT_EQ 3184 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(true, WIFEXITED(status)); EXPECT_EQ 3185 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, WEXITSTATUS(status)); EXPECT_EQ 3217 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); EXPECT_EQ 3218 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_ID_VALID, &req.id), 0); EXPECT_EQ 3220 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(kill(pid, SIGKILL), 0); EXPECT_EQ 3221 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(waitpid(pid, NULL, 0), pid); EXPECT_EQ 3223 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_ID_VALID, &req.id), -1); EXPECT_EQ 3227 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ret, -1); EXPECT_EQ 3228 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(errno, ENOENT); EXPECT_EQ 3282 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); EXPECT_EQ 3284 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(kill(pid, SIGUSR1), 0); EXPECT_EQ 3291 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(read(sk_pair[0], &c, 1), 1); EXPECT_EQ 3297 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), -1); EXPECT_EQ 3298 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(errno, ENOENT); EXPECT_EQ 3301 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); EXPECT_EQ 3307 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), 0); EXPECT_EQ 3309 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(waitpid(pid, &status, 0), pid); EXPECT_EQ 3310 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(true, WIFEXITED(status)); EXPECT_EQ 3311 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, WEXITSTATUS(status)); EXPECT_EQ 3342 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(waitpid(pid, &status, 0), pid); EXPECT_EQ 3343 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(true, WIFEXITED(status)); EXPECT_EQ 3344 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, WEXITSTATUS(status)); EXPECT_EQ 3369 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); EXPECT_EQ 3370 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(req.pid, pid); EXPECT_EQ 3376 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), 0); EXPECT_EQ 3378 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(waitpid(pid, &status, 0), pid); EXPECT_EQ 3379 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(true, WIFEXITED(status)); EXPECT_EQ 3380 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, WEXITSTATUS(status)); EXPECT_EQ 3415 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(waitpid(pid2, &status, 0), pid2); EXPECT_EQ 3416 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(true, WIFEXITED(status)); EXPECT_EQ 3417 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, WEXITSTATUS(status)); EXPECT_EQ 3434 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(req.pid, 0); EXPECT_EQ 3446 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(waitpid(pid, &status, 0), pid); EXPECT_EQ 3447 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(true, WIFEXITED(status)); EXPECT_EQ 3448 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, WEXITSTATUS(status)); EXPECT_EQ 3450 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(waitpid(pid2, &status, 0), pid2); EXPECT_EQ 3451 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(true, WIFEXITED(status)); EXPECT_EQ 3452 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, WEXITSTATUS(status)); EXPECT_EQ 3475 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, NULL), -1); EXPECT_EQ 3476 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(errno, EFAULT); EXPECT_EQ 3479 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_RECV, &req), 0); EXPECT_EQ 3480 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(req.pid, pid); EXPECT_EQ 3486 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(ioctl(listener, SECCOMP_IOCTL_NOTIF_SEND, &resp), 0); EXPECT_EQ 3488 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(waitpid(pid, &status, 0), pid); EXPECT_EQ 3489 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(true, WIFEXITED(status)); EXPECT_EQ 3490 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(0, WEXITSTATUS(status)); EXPECT_EQ 3498 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(sizes.seccomp_notif, sizeof(struct seccomp_notif)); EXPECT_EQ 3499 tools/testing/selftests/seccomp/seccomp_bpf.c EXPECT_EQ(sizes.seccomp_notif_resp, sizeof(struct seccomp_notif_resp)); EXPECT_EQ 360 tools/testing/selftests/uevent/uevent_filtering.c EXPECT_EQ(0, ret) {