Lines Matching refs:leader
583 pid_t leader;
597 r = sd_bus_message_read(message, "uusssssussbss", &uid, &leader, &service, &type, &class, &desktop, &cseat, &vtnr, &tty, &display, &remote, &remote_user, &remote_host);
603 if (leader < 0 || leader == 1)
604 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid leader PID");
695 if (leader == 0) {
702 r = sd_bus_creds_get_pid(creds, (pid_t*) &leader);
707 r = manager_get_session_by_pid(m, leader, NULL);
728 audit_session_from_pid(leader, &audit_id);
767 session->leader = leader;