Lines Matching refs:DIR_B
77 static char DIR_A[MSGSIZE], DIR_B[MSGSIZE]; variable
104 sprintf(DIR_B, DIR_B_TEMP, mypid); in main()
107 sprintf(setgid_B, "%s/%s", DIR_B, SETGID); in main()
108 sprintf(nosetgid_B, "%s/%s", DIR_B, NOSETGID); in main()
109 sprintf(root_setgid_B, "%s/%s", DIR_B, ROOT_SETGID); in main()
177 if (mkdir(DIR_B, MODE_RWX) == -1) { in main()
178 tst_resm(TFAIL, "Creation of %s failed", DIR_B); in main()
182 if (chown(DIR_B, user1_uid, group2_gid) == -1) { in main()
183 tst_resm(TFAIL, "Chown of %s failed", DIR_B); in main()
187 if (chmod(DIR_B, MODE_SGID) == -1) { in main()
188 tst_resm(TFAIL, "Chmod of %s failed", DIR_B); in main()
192 if (stat(DIR_B, &buf) == -1) { in main()
193 tst_resm(TFAIL, "Stat of %s failed", DIR_B); in main()
201 DIR_B); in main()
207 tst_resm(TFAIL, "%s: Incorrect group", DIR_B); in main()
450 SAFE_RMDIR(NULL, DIR_B); in tst_cleanup()