Home
last modified time | relevance | path

Searched refs:ALL_MODE (Results 1 – 2 of 2) sorted by relevance

/freebsd/tests/sys/cddl/zfs/tests/ctime/
H A Dctime_001_pos.c42 #define ALL_MODE (mode_t)(S_IRWXU|S_IRWXG|S_IRWXO) macro
131 fd = open(tfile, O_WRONLY | O_CREAT | O_TRUNC, ALL_MODE); in main()
219 if ((fd = open(pfile, O_RDONLY, ALL_MODE)) == -1) { in do_read()
245 if ((fd = open(pfile, O_WRONLY, ALL_MODE)) == -1) { in do_write()
302 if ((fd = creat(pfile, ALL_MODE)) == -1) { in do_creat()
349 if (chmod(pfile, ALL_MODE) == -1) { in do_chmod()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dctime.c50 #define ALL_MODE (mode_t)(S_IRWXU|S_IRWXG|S_IRWXO) macro
116 if ((fd = open(pfile, O_RDONLY, ALL_MODE)) == -1) { in do_read()
140 if ((fd = open(pfile, O_WRONLY, ALL_MODE)) == -1) { in do_write()
191 if ((fd = creat(pfile, ALL_MODE)) == -1) { in do_creat()
231 if (chmod(pfile, ALL_MODE) == -1) { in do_chmod()
330 if ((fd = open(tfile, O_WRONLY | O_CREAT | O_TRUNC, ALL_MODE)) == -1) { in main()