Searched refs:dpathp (Results 1 - 2 of 2) sorted by relevance
/freebsd-10.2-release/tools/regression/priv/ |
H A D | main.c | 387 setup_dir(const char *test, char *dpathp, uid_t uid, gid_t gid, mode_t mode) argument 390 strcpy(dpathp, "/tmp/priv.XXXXXXXXXXX"); 391 if (mkdtemp(dpathp) == NULL) 394 if (chown(dpathp, uid, gid) < 0) 395 err(-1, "test %s: chown(%s, %d, %d)", test, dpathp, uid, 398 if (chmod(dpathp, mode) < 0) 399 err(-1, "test %s: chmod(%s, 0%o)", test, dpathp, mode);
|
H A D | main.h | 49 void setup_dir(const char *test, char *dpathp, uid_t uid, gid_t gid,
|
Completed in 44 milliseconds