Lines Matching refs:required_uid
232 uid_t required_uid, gid_t required_gid) in restricted_chown() argument
239 if (required_uid == (uid_t) -1 && required_gid == (gid_t) -1) in restricted_chown()
260 else if ((required_uid == (uid_t) -1 || required_uid == st.st_uid) in restricted_chown()
285 uid_t required_uid, gid_t required_gid, in change_file_owner() argument
371 else if (required_uid == (uid_t) -1 && required_gid == (gid_t) -1 in change_file_owner()
399 && (required_uid == (uid_t) -1 in change_file_owner()
400 || required_uid == file_stats->st_uid) in change_file_owner()
443 required_uid, required_gid); in change_file_owner()
537 uid_t required_uid, gid_t required_gid, in chown_files() argument
543 int stat_flags = ((required_uid != (uid_t) -1 || required_gid != (gid_t) -1 in chown_files()
569 required_uid, required_gid, chopt); in chown_files()