Searched refs:users (Results 1 - 10 of 10) sorted by relevance
/systemd/src/login/ |
H A D | logind-user-dbus.c | 296 user = hashmap_get(m->users, UID_TO_PTR(uid)); 327 HASHMAP_FOREACH(user, m->users, i) { 348 user = hashmap_get(m->users, UID_TO_PTR(uid));
|
H A D | logind.c | 77 m->users = hashmap_new(NULL); 84 if (!m->devices || !m->seats || !m->sessions || !m->users || !m->inhibitors || !m->buttons || !m->user_units || !m->session_units) 121 while ((u = hashmap_first(m->users))) 139 hashmap_free(m->users); 362 /* Add lingering users */ 366 d = opendir("/run/systemd/users"); 371 return log_error_errno(errno, "Failed to open /run/systemd/users: %m"); 1059 HASHMAP_FOREACH(user, m->users, i) 1141 mkdir_label("/run/systemd/users", 0755);
|
H A D | logind.h | 46 Hashmap *users; member in struct:Manager
|
H A D | logind-user.c | 74 if (asprintf(&u->state_file, "/run/systemd/users/"UID_FMT, uid) < 0) 88 r = hashmap_put(m->users, UID_TO_PTR(uid), u); 121 hashmap_remove_value(u->manager->users, UID_TO_PTR(u->uid), u); 143 r = mkdir_safe_label("/run/systemd/users", 0755, 0, 0);
|
H A D | logind-core.c | 104 u = hashmap_get(m->users, UID_TO_PTR(uid));
|
H A D | logind-dbus.c | 101 user = hashmap_get(m->users, UID_TO_PTR(uid)); 478 HASHMAP_FOREACH(user, m->users, i) { 1155 u = hashmap_get(m->users, UID_TO_PTR(uid)); 1347 /* Check for other users' sessions. Greeter sessions do not
|
H A D | logind-session.c | 372 user = hashmap_get(s->manager->users, UID_TO_PTR(u));
|
/systemd/src/sysusers/ |
H A D | sysusers.c | 75 static Hashmap *users = NULL, *groups = NULL; variable 550 i = hashmap_get(users, pw->pw_name); 639 i = hashmap_get(users, sp->sp_namp); 1156 j = hashmap_get(users, i->name); 1202 /* Implicitly create additional users and groups, if they were listed in "m" lines */ 1235 i = hashmap_get(users, *m); 1239 r = hashmap_ensure_allocated(&users, &string_hash_ops); 1252 r = hashmap_put(users, j->name, j); 1578 r = hashmap_ensure_allocated(&users, &string_hash_ops); 1609 h = users; [all...] |
/systemd/src/systemd/ |
H A D | sd-login.h | 184 /* Return sessions and users on seat. Returns number of sessions. 211 /* Get all logged in users, store in *users. Returns the number of 212 * users. If users is NULL, this only returns the number of users. */ 213 int sd_get_uids(uid_t **users);
|
/systemd/src/libsystemd/sd-login/ |
H A D | sd-login.c | 257 if (asprintf(p, "/run/systemd/users/" UID_FMT, uid) < 0) 794 _public_ int sd_get_uids(uid_t **users) { argument 800 d = opendir("/run/systemd/users/"); 826 if (users) { 844 if (users) { 845 *users = l; 987 k = inotify_add_watch(fd, "/run/systemd/users/", IN_MOVED_TO|IN_DELETE);
|
Completed in 4574 milliseconds