Searched refs:sockfd (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/net/native/qtaguid/src/ |
D | NativeQtaguidTest.cpp | 76 int sockfd = socket(family, SOCK_STREAM, 0); in checkNoSocketPointerLeaks() local 83 EXPECT_EQ(0, legacy_tagSocket(sockfd, tag, uid)); in checkNoSocketPointerLeaks() 86 close(sockfd); in checkNoSocketPointerLeaks() 93 int sockfd = socket(AF_INET, SOCK_STREAM, 0); in TEST() local 98 EXPECT_EQ(0, legacy_tagSocket(sockfd, tag, uid)); in TEST() 101 close(sockfd); in TEST() 108 int sockfd = socket(AF_INET6, SOCK_STREAM, 0); in TEST() local 113 EXPECT_EQ(0, legacy_tagSocket(sockfd, tag, uid)); in TEST() 116 close(sockfd); in TEST()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-0844/ |
D | poc.c | 67 int sockfd; in main() local 72 if ((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { in main() 73 printf("socket = %d, %s\n", sockfd, strerror(errno)); in main() 77 trigger(sockfd, ifname); in main()
|