Lines Matching refs:user
22 ** SAFEFILE -- return 0 if a file exists and is safe for a user.
26 ** uid -- user id to compare against.
28 ** user -- user name to compare against (used for group
46 safefile(fn, uid, gid, user, flags, mode, st)
50 char *user;
96 ** If final file is set-user-ID, run as the owner of that
109 user = NULL;
129 ret = safedirpath(".", uid, gid, user,
135 ret = safedirpath(fn, uid, gid, user,
168 ret = safedirpath(".", uid, gid, user, flags, 0, 0);
173 ret = safedirpath(fn, uid, gid, user, flags, 0, 0);
182 ** ensure that it is writable by this user.
223 else if (user != NULL && !DontInitGroups &&
231 if (strcmp(*gp, user) == 0)
337 else if (user != NULL && !DontInitGroups &&
344 if (strcmp(*gp, user) == 0)
377 ** uid -- user id to compare against.
379 ** user -- user name to compare against (used for group
394 safedirpath(fn, uid, gid, user, flags, level, offset)
398 char *user;
579 ret = safedirpath(target, uid, gid, user, flags,
628 ** running as a privileged user. This allows ACLs
642 if (user != NULL && !DontInitGroups &&
649 if (strcmp(*gp, user) == 0)