Searched refs:DIR_A (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/syscalls/open/ |
D | open10.c | 71 char DIR_A[MSGSIZE], DIR_B[MSGSIZE]; in main() local 90 sprintf(DIR_A, DIR_A_TEMP, mypid); in main() 92 sprintf(setgid_A, "%s/%s", DIR_A, SETGID); in main() 93 sprintf(nosetgid_A, "%s/%s", DIR_A, NOSETGID); in main() 127 if (mkdir(DIR_A, MODE_RWX) < 0) { in main() 128 tst_resm(TFAIL | TERRNO, "mkdir(%s) failed", DIR_A); in main() 132 if (chown(DIR_A, user1_uid, group2_gid) < 0) { in main() 133 tst_resm(TFAIL | TERRNO, "chown(%s) failed", DIR_A); in main() 137 if (stat(DIR_A, &buf) < 0) { in main() 138 tst_resm(TFAIL | TERRNO, "stat(%s) failed", DIR_A); in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat08.c | 77 static char DIR_A[MSGSIZE], DIR_B[MSGSIZE]; variable 103 sprintf(DIR_A, DIR_A_TEMP, mypid); in main() 105 sprintf(setgid_A, "%s/%s", DIR_A, SETGID); in main() 106 sprintf(nosetgid_A, "%s/%s", DIR_A, NOSETGID); in main() 143 if (mkdir(DIR_A, MODE_RWX) == -1) { in main() 144 tst_resm(TFAIL, "Creation of %s failed", DIR_A); in main() 148 if (chown(DIR_A, user1_uid, group2_gid) == -1) { in main() 149 tst_resm(TFAIL, "Chown of %s failed", DIR_A); in main() 153 if (stat(DIR_A, &buf) == -1) { in main() 154 tst_resm(TFAIL, "Stat of %s failed", DIR_A); in main() [all …]
|