Lines Matching refs:uid
148 uint32_t uid; in list_sessions() local
150 r = sd_bus_message_read(reply, "(susso)", &id, &uid, &user, &seat, &object); in list_sessions()
175 TABLE_UID, (uid_t) uid, in list_sessions()
218 uint32_t uid; in list_users() local
220 r = sd_bus_message_read(reply, "(uso)", &uid, &user, NULL); in list_users()
227 TABLE_UID, (uid_t) uid, in list_users()
327 uid_t uid; member
347 uid_t uid; member
446 … "(uo)", prop_map_first_of_struct, offsetof(SessionStatusInfo, uid) }, in print_session_status_info()
468 printf("%s (%"PRIu32")\n", i.name, i.uid); in print_session_status_info()
470 printf("%"PRIu32"\n", i.uid); in print_session_status_info()
568 … "u", NULL, offsetof(UserStatusInfo, uid) }, in print_user_status_info()
591 printf("%s (%"PRIu32")\n", i.name, i.uid); in print_user_status_info()
593 printf("%"PRIu32"\n", i.uid); in print_user_status_info()
721 uint32_t uid; in print_property() local
723 r = sd_bus_message_read(m, "(uo)", &uid, NULL); in print_property()
727 if (!uid_is_valid(uid)) in print_property()
730 uid); in print_property()
732 bus_print_property_valuef(name, expected_value, flags, UID_FMT, uid); in print_property()
862 uid_t uid; in show_user() local
864 r = get_user_creds((const char**) (argv+i), &uid, NULL, NULL, NULL, 0); in show_user()
875 "u", (uint32_t) uid); in show_user()
1039 uid_t uid; in enable_linger() local
1042 uid = UID_INVALID; in enable_linger()
1044 r = get_user_creds((const char**) (argv+i), &uid, NULL, NULL, NULL, 0); in enable_linger()
1054 "ubb", (uint32_t) uid, b, true); in enable_linger()
1073 uid_t uid; in terminate_user() local
1076 uid = getuid(); in terminate_user()
1080 r = get_user_creds(&u, &uid, NULL, NULL, NULL, 0); in terminate_user()
1085 … r = bus_call_method(bus, bus_login_mgr, "TerminateUser", &error, NULL, "u", (uint32_t) uid); in terminate_user()
1107 uid_t uid; in kill_user() local
1110 uid = getuid(); in kill_user()
1114 r = get_user_creds(&u, &uid, NULL, NULL, NULL, 0); in kill_user()
1124 "ui", (uint32_t) uid, arg_signal); in kill_user()