Lines Matching defs:uid
38 uid_t uid;
57 uid = getuid();
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);
161 "check_and_open_readonly succeeded with wrong uid");
170 ret = check_and_open_readonly(filename, &fd, uid, gid+1, S_IFREG|mode, 0);
182 uid, gid, S_IFREG|mode|S_IWOTH, 0);
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);