Searched defs:old_mask (Results 1 - 15 of 15) sorted by relevance

/dovecot/src/lib-storage/
H A Dmailbox-uidvalidity.c42 mode_t old_mask; local
46 old_mask = umask(0666 & ~perm.file_create_mode);
48 umask(old_mask);
118 mode_t old_mask; local
169 old_mask = umask(0);
171 umask(old_mask);
H A Dmail-storage.c2769 mode_t old_mask; local
2776 old_mask = umask(0);
2778 umask(old_mask);
/dovecot/src/auth/
H A Dauth-token.c103 mode_t old_mask; local
108 old_mask = umask(0);
110 umask(old_mask);
/dovecot/src/lib/
H A Dmkdir-parents.c18 mode_t old_mask; local
23 old_mask = umask(0);
25 umask(old_mask);
H A Dfile-dotlock.c323 mode_t old_mask; local
352 old_mask = umask(0666);
353 lock_info->fd = safe_mkstemp(tmp_path, 0666 ^ old_mask,
355 umask(old_mask);
796 mode_t old_mask; local
799 old_mask = umask(0666 ^ mode);
801 umask(old_mask);
/dovecot/src/lib-storage/index/dbox-multi/
H A Dmdbox-file.c305 mode_t old_mask; local
311 old_mask = umask(0666 & ~perm.file_create_mode);
313 umask(old_mask);
326 old_mask = umask(0666 & ~perm.file_create_mode);
328 umask(old_mask);
/dovecot/src/lib-storage/index/dbox-single/
H A Dsdbox-file.c248 mode_t old_mask; local
251 old_mask = umask(0666 & ~perm->file_create_mode);
253 umask(old_mask);
266 old_mask = umask(0666 & ~perm->file_create_mode);
268 umask(old_mask);
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-keywords.c359 mode_t old_mask; local
375 old_mask = umask(0777 & ~perm->file_create_mode);
378 umask(old_mask);
H A Dmaildir-storage.c393 mode_t old_mask; local
402 old_mask = umask(0);
405 umask(old_mask);
468 mode_t old_mask; local
479 old_mask = umask(0);
481 umask(old_mask);
H A Dmaildir-save.c350 mode_t old_mask; local
367 old_mask = umask(0777 & ~perm->file_create_mode);
370 umask(old_mask);
H A Dmaildir-uidlist.c142 mode_t old_mask; local
159 old_mask = umask(0777 & ~perm->file_create_mode);
162 umask(old_mask);
1395 mode_t old_mask; local
1410 old_mask = umask(0777 & ~perm->file_create_mode);
1412 umask(old_mask);
/dovecot/src/plugins/acl/
H A Dacl-cache.c197 struct acl_mask *change_mask, *old_mask, *new_mask; local
203 old_mask = *mask_p;
204 new_mask = old_mask;
208 if (old_mask == NULL) {
220 if (old_mask->size >= change_mask->size) {
223 old_mask->mask[i] |= change_mask->mask[i];
226 for (i = 0; i < old_mask->size; i++)
227 change_mask->mask[i] |= old_mask->mask[i];
232 if (old_mask == NULL || change_mask == NULL) {
238 size = I_MIN(old_mask
[all...]
/dovecot/src/lib-index/
H A Dmail-index.c571 mode_t old_mask; local
578 old_mask = umask(0);
580 umask(old_mask);
586 old_mask = umask(0);
588 umask(old_mask);
H A Dmail-transaction-log-file.c847 mode_t old_mask; local
871 old_mask = umask(index->mode ^ 0666);
873 umask(old_mask);
/dovecot/src/plugins/fts-squat/
H A Dsquat-trie.c1542 mode_t old_mask; local
1545 old_mask = umask(0);
1547 umask(old_mask);

Completed in 52 milliseconds