Home
last modified time | relevance | path

Searched refs:fpathp (Results 1 – 4 of 4) sorted by relevance

/freebsd-11-stable/tools/regression/priv/
HDmain.c403 setup_file(const char *test, char *fpathp, uid_t uid, gid_t gid, mode_t mode) in setup_file() argument
407 strcpy(fpathp, "/tmp/priv.XXXXXXXXXXX"); in setup_file()
408 fd = mkstemp(fpathp); in setup_file()
413 err(-1, "test %s: fchown(%s, %d, %d)", test, fpathp, uid, in setup_file()
417 err(-1, "test %s: chmod(%s, 0%o)", test, fpathp, mode); in setup_file()
HDpriv_vfs_chflags.c59 getflags(char *fpathp) in getflags() argument
63 if (stat(fpathp, &sb) < 0) in getflags()
64 err(-1, "stat(%s)", fpathp); in getflags()
HDpriv_vfs_read_write.c62 try_io(const char *label, const char *fpathp, int asroot, int injail, in try_io() argument
67 fd = open(fpathp, flags); in try_io()
HDmain.h51 void setup_file(const char *test, char *fpathp, uid_t uid, gid_t gid,