Searched refs:sockfd (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/net/native/qtaguid/src/ |
D | NativeQtaguidTest.cpp | 83 int sockfd = socket(family, SOCK_STREAM, 0); in checkNoSocketPointerLeaks() local 90 EXPECT_EQ(0, legacy_tagSocket(sockfd, tag, uid)); in checkNoSocketPointerLeaks() 93 close(sockfd); in checkNoSocketPointerLeaks() 104 int sockfd = socket(AF_INET, SOCK_STREAM, 0); in TEST() local 109 EXPECT_EQ(0, legacy_tagSocket(sockfd, tag, uid)); in TEST() 112 close(sockfd); in TEST() 123 int sockfd = socket(AF_INET6, SOCK_STREAM, 0); in TEST() local 128 EXPECT_EQ(0, legacy_tagSocket(sockfd, tag, uid)); in TEST() 131 close(sockfd); in TEST()
|
/cts/hostsidetests/security/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()
|