Searched refs:do_chown (Results 1 – 2 of 2) sorted by relevance
212 bool do_chown, do_chmod; in fchmod_and_chown_with_fallback() local231 do_chown = in fchmod_and_chown_with_fallback()238 … do_chown); /* If we change ownership, make sure we reset the mode afterwards, since chown() in fchmod_and_chown_with_fallback()246 if (do_chown && do_chmod) { in fchmod_and_chown_with_fallback()262 if (do_chown) in fchmod_and_chown_with_fallback()278 return do_chown || do_chmod; in fchmod_and_chown_with_fallback()
838 bool do_chown; in fd_set_perms() local860 do_chown = in fd_set_perms()870 if (i->mode_set && do_chown) { in fd_set_perms()892 if (do_chown) { in fd_set_perms()908 if (i->mode_set || do_chown) { in fd_set_perms()914 if (!do_chown && ((new_mode ^ st->st_mode) & 07777) == 0) in fd_set_perms()