Lines Matching defs:gid
39 gid_t gid;
58 gid = getgid();
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);
172 "check_and_open_readonly succeeded with wrong gid");
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);