Lines Matching defs:mode
40 mode_t mode;
59 mode = (S_IRUSR | S_IWUSR);
83 uid, gid, S_IFREG|mode, 0);
108 ret = check_file(newpath, uid, gid, S_IFREG|mode, 0, NULL, false);
135 ret = check_file(newpath, uid, gid, S_IFREG|mode, 0, NULL, true);
148 ret = check_and_open_readonly("/dev/null", &fd, uid, gid, S_IFREG|mode, 0);
159 ret = check_and_open_readonly(filename, &fd, uid+1, gid, S_IFREG|mode, 0);
170 ret = check_and_open_readonly(filename, &fd, uid, gid+1, S_IFREG|mode, 0);
182 uid, gid, S_IFREG|mode|S_IWOTH, 0);
184 "check_and_open_readonly succeeded with wrong mode");
193 ret = check_and_open_readonly(filename, &fd, uid, gid, S_IFREG|mode, 0);
207 ret = check_and_open_readonly(filename, &fd, uid, gid, S_IFREG|mode, 0);