Lines Matching refs:uid
49 return sd_bus_message_append(reply, "(uo)", (uint32_t) s->user->user_record->uid, p); in property_get_user()
174 s->user->user_record->uid, in bus_session_method_terminate()
222 s->user->user_record->uid, in bus_session_method_lock()
240 uid_t uid; in method_set_idle_hint() local
254 r = sd_bus_creds_get_euid(creds, &uid); in method_set_idle_hint()
258 if (uid != 0 && uid != s->user->user_record->uid) in method_set_idle_hint()
273 uid_t uid; in method_set_locked_hint() local
287 r = sd_bus_creds_get_euid(creds, &uid); in method_set_locked_hint()
291 if (uid != 0 && uid != s->user->user_record->uid) in method_set_locked_hint()
330 s->user->user_record->uid, in bus_session_method_kill()
349 uid_t uid; in method_take_control() local
362 r = sd_bus_creds_get_euid(creds, &uid); in method_take_control()
366 if (uid != 0 && (force || uid != s->user->user_record->uid)) in method_take_control()
533 uid_t uid; in method_set_brightness() local
557 r = sd_bus_creds_get_euid(creds, &uid); in method_set_brightness()
561 if (uid != 0 && uid != s->user->user_record->uid) in method_set_brightness()
671 uid_t uid; in session_node_enumerator() local
673 r = sd_bus_creds_get_owner_uid(creds, &uid); in session_node_enumerator()
677 user = hashmap_get(m->users, UID_TO_PTR(uid)); in session_node_enumerator()
808 (uint32_t) s->user->user_record->uid, in session_send_create_reply()
820 (uint32_t) s->user->user_record->uid, in session_send_create_reply()