Lines Matching refs:target
274 const char target[] = "/dev/null"; in FORTIFY_TEST() local
291 EXPECT_FORTIFY_DEATH(open(target, O_CREAT)); in FORTIFY_TEST()
293 EXPECT_FORTIFY_DEATH(open(target, O_TMPFILE)); in FORTIFY_TEST()
295 EXPECT_FORTIFY_DEATH(open64(target, O_CREAT)); in FORTIFY_TEST()
297 EXPECT_FORTIFY_DEATH(open64(target, O_TMPFILE)); in FORTIFY_TEST()
299 EXPECT_FORTIFY_DEATH(openat(dirfd, target, O_CREAT)); in FORTIFY_TEST()
301 EXPECT_FORTIFY_DEATH(openat(dirfd, target, O_TMPFILE)); in FORTIFY_TEST()
303 EXPECT_FORTIFY_DEATH(openat64(dirfd, target, O_CREAT)); in FORTIFY_TEST()
305 EXPECT_FORTIFY_DEATH(openat64(dirfd, target, O_TMPFILE)); in FORTIFY_TEST()
308 EXPECT_NO_DEATH(open(target, O_RDONLY, 0777)); in FORTIFY_TEST()
310 EXPECT_NO_DEATH(open64(target, O_RDONLY, 0777)); in FORTIFY_TEST()
312 EXPECT_NO_DEATH(openat(dirfd, target, O_RDONLY, 0777)); in FORTIFY_TEST()
314 EXPECT_NO_DEATH(openat64(dirfd, target, O_RDONLY, 0777)); in FORTIFY_TEST()