Lines Matching refs:tstdir1
41 * create a directory tstdir1 with S_ISGID set
43 * create a directtory tstdir2 user tstdir1
45 * if they are the same as tstdir1's
92 char tstdir1[100];
126 sprintf(tstdir1, "tstdir1.%d", getpid());
160 if (mkdir(tstdir1, PERMS) != 0) {
168 if (stat(tstdir1, &buf1) == -1) {
176 if (chmod(tstdir1, buf1.st_mode | S_ISGID) != 0) {
201 sprintf(tstdir2, "%s/tstdir2.%d", tstdir1, getpid());
238 tstdir1);
254 if (stat(tstdir1, &buf1) == -1) {