Lines Matching refs:MODE
272 #define MODE 0700 macro
681 if ((fd = creat(path1, MODE)) == -1) { in creat_object()
688 sprintf(Buf, "creat(%s, %#o) was succesful.\n", path1, MODE); in creat_object()
691 tst_resm(TPASS, "creat(%s, %#o) was succesful.", path1, MODE); in creat_object()
1038 TEST(mkdir(tc_ptr->fn_arg[1], MODE)); in do_EEXIST()
1111 if ((chmod(tc_ptr->fn_arg[1], MODE) == -1) && (errno == ENOENT)) { in do_ENOENT()
1192 TEST(chmod(tc_ptr->fn_arg[1], MODE)); in do_ELOOP()
1243 TEST(mkdir(tc_ptr->fn_arg[0], MODE)); in do_ENOTDIR()
1479 if (mkdir(tc_ptr->fn_arg[2], MODE) == -1) in do_chdir()
1484 tc_ptr->fn_arg[2], MODE); in do_chdir()
1630 else if (chmod(tc_ptr->fn_arg[1], (MODE | MASK)) == -1) in do_chmod()
1636 tc_ptr->fn_arg[1], (MODE | MASK)); in do_chmod()
1643 } else if ((statter.st_mode == (MODE | MASK)) in do_chmod()
1649 asymlink.st_mode, (MODE | MASK), in do_chmod()
1774 TEST(open(tc_ptr->fn_arg[1], (O_CREAT | O_RDWR), MODE)); in do_open()