Lines Matching refs:rwm
118 char rwm[4];
121 rwm[k++] = 'r';
123 rwm[k++] = 'w';
125 rwm[k++] = 'm';
127 rwm[k] = 0;
129 r = sd_bus_message_append(reply, "(ss)", a->path, rwm);
568 const char *path, *rwm;
575 while ((r = sd_bus_message_read(message, "(ss)", &path, &rwm)) > 0) {
583 if (isempty(rwm))
584 rwm = "rwm";
586 if (!in_charset(rwm, "rwm"))
587 return sd_bus_error_set_errnof(error, EINVAL, "DeviceAllow= requires combination of rwm flags");
613 a->r = !!strchr(rwm, 'r');
614 a->w = !!strchr(rwm, 'w');
615 a->m = !!strchr(rwm, 'm');