/dovecot/src/ipc/ |
H A D | ipc-connection.h | 4 #include "ipc-group.h" 15 struct ipc_group *group; member in struct:ipc_connection 16 /* prev/next within group */ 41 ipc_connection_lookup_id(struct ipc_group *group, unsigned int id);
|
H A D | client.c | 9 #include "ipc-group.h" 59 struct ipc_group *group; local 80 group = ipc_group_lookup_name(line); 85 if (group == NULL) { 88 ret = ipc_group_cmd(group, data, 95 } else if (group == NULL) { 97 t_strdup_printf("-Unknown IPC group: %s\n", line)); 98 } else if ((conn = ipc_connection_lookup_id(group, id_num)) == NULL) {
|
H A D | ipc-group.c | 6 #include "ipc-group.h" 20 struct ipc_group *group; local 24 group = i_new(struct ipc_group, 1); 25 group->listen_fd = listen_fd; 26 array_append(&ipc_groups, &group, 1); 27 return group; 32 struct ipc_group *const *groups, *group = *_group; local 35 i_assert(group->connections == NULL); 40 if (groups[i] == group) { 45 i_free(group 72 ipc_group_update_name(struct ipc_group *group, const char *name) argument 116 ipc_group_cmd(struct ipc_group *group, const char *cmd, ipc_cmd_callback_t *callback, void *context) argument 148 struct ipc_group *const *groupp, *group; local [all...] |
H A D | ipc-connection.c | 11 #include "ipc-group.h" 139 if (ipc_group_update_name(conn->group, args[1]) < 0) { 143 args[1], conn->group->name)); 161 conn->group->name, line)); 172 conn->group = ipc_group_lookup_listen_fd(listen_fd); 173 if (conn->group == NULL) 174 conn->group = ipc_group_alloc(listen_fd); 186 DLLIST_PREPEND(&conn->group->connections, conn); 195 const char *group_name = conn->group->name != NULL ? 196 conn->group 226 ipc_connection_lookup_id(struct ipc_group *group, unsigned int id) argument [all...] |
/dovecot/src/lib-mail/ |
H A D | test-message-address.c | 198 NULL, NULL, NULL, "group", NULL, FALSE 204 string_t *str, *group; local 210 group = t_str_new(256); 236 str_truncate(group, 0); 237 str_append(group, test->input); 240 str_append(group, ","); 242 str_append(group, " , \n "); 243 str_append(group, test->input); 246 addr = test_parse_address(str_c(group), fill_missing); 256 /* test the address as a group o [all...] |
/dovecot/src/lib/ |
H A D | eacces-error.c | 53 const struct group *group; local 93 /* group would have had enough permissions, 94 but we don't belong to the group */ 95 str_printfa(errmsg, ", we're not in group %s", 97 group = getgrgid(st.st_gid); 98 if (group != NULL) 99 str_printfa(errmsg, "(%s)", group->gr_name); 156 struct group group; local 290 const struct group *group; local [all...] |
H A D | restrict-access.c | 49 struct group group; local 53 if (i_getgrgid(gid, &group) <= 0) 56 ret = t_strdup_printf("%s(%s)", dec2str(gid), group.gr_name); 81 "process group set to %s instead of %s)", 157 struct group group; local 163 switch (i_getgrnam(name, &group)) { 167 i_fatal("unknown group name in extra_groups: %s", name); 169 return group [all...] |
/dovecot/src/lib-master/ |
H A D | service-settings.h | 27 const char *group; member in struct:file_listener_settings 47 const char *group; member in struct:service_settings
|
/dovecot/src/master/ |
H A D | master-settings.c | 35 DEF(SET_STR, group), 44 .group = "", 109 DEF(SET_STR, group), 139 .group = "", 268 expand_group(const char **group, const struct master_settings *set) argument 273 if (strcmp(*group, "$default_internal_group") == 0) 274 *group = set->default_internal_group; 299 expand_group(&set->group, master_set); 658 if (*service->group != '\0') 659 (void)get_gid(service->group, gid_ [all...] |
H A D | main.c | 112 int get_gid(const char *group, gid_t *gid_r, const char **error_r) argument 114 struct group gr; 116 if (*group == '\0') { 121 switch (i_getgrnam(group, &gr)) { 123 *error_r = t_strdup_printf("getgrnam(%s) failed: %m", group); 126 *error_r = t_strdup_printf("Group doesn't exist: %s", group);
|
/dovecot/src/config/ |
H A D | old-set-parser.c | 17 const char *path, *mode, *user, *group; member in struct:socket_set 609 else if (strcmp(key, "group") == 0) 610 p = &ctx->old->socket_set.group; 704 if (set->group != NULL) { 705 config_apply_line(ctx, "group", 706 t_strdup_printf("%s/group=%s", prefix, set->group), NULL);
|
/dovecot/src/lib-storage/index/mbox/ |
H A D | mbox-lock.c | 269 privileged group 346 struct group group; local 367 (st.st_mode & 020) != 0) { /* group-writable */ 368 if (i_getgrgid(st.st_gid, &group) <= 0) 371 name = group.gr_name;
|
/dovecot/src/plugins/quota/ |
H A D | quota-fs.c | 127 {.param_name = "group", .param_handler = handle_group_param}, 330 static void fs_quota_root_disable(struct fs_quota_root *root, bool group) argument 332 if (group) 500 "could not contact RPC service on %s (group)", host); 563 *error_r = "rquota not compiled with group support"; 571 fs_quota_get_linux(struct fs_quota_root *root, bool group, argument 579 type = group ? GRPQUOTA : USRQUOTA; 580 id = group ? root->gid : root->uid; 590 fs_quota_root_disable(root, group); 618 fs_quota_root_disable(root, group); 657 fs_quota_get_bsdaix(struct fs_quota_root *root, bool group, uint64_t *bytes_value_r, uint64_t *bytes_limit_r, uint64_t *count_value_r, uint64_t *count_limit_r, const char **error_r) argument 695 fs_quota_get_netbsd(struct fs_quota_root *root, bool group, uint64_t *bytes_value_r, uint64_t *bytes_limit_r, uint64_t *count_value_r, uint64_t *count_limit_r, const char **error_r) argument 818 fs_quota_get_resources(struct fs_quota_root *root, bool group, uint64_t *bytes_value_r, uint64_t *bytes_limit_r, uint64_t *count_value_r, uint64_t *count_limit_r, const char **error_r) argument [all...] |