Lines Matching defs:mode
10 * Test whether the access mode are the same for both file descriptors.
12 * Create file with mode, dup2, [change mode], check mode
36 mode_t mode;
37 /* 0 - set mode before dup2, 1 - change mode after dup2 */
83 ofd = SAFE_CREAT(testfile, tc->mode);
92 SAFE_CHMOD(testfile, tc->mode);
93 tst_res(TINFO, "original mode 0777, new mode 0%o after chmod", tc->mode);
101 tst_res(TFAIL, "original(%o) and duped(%o) are not same mode",
104 tst_res(TPASS, "original(%o) and duped(%o) are the same mode",