Lines Matching refs:new_rec
670 aps_login_rec *new_rec; in aps_record_login() local
675 new_rec = xmalloc(sizeof (aps_login_rec)); in aps_record_login()
676 memset(new_rec, 0, sizeof (aps_login_rec)); in aps_record_login()
678 new_rec->lr_pid = packet_get_int(); in aps_record_login()
679 new_rec->lr_tty = packet_get_string(NULL); in aps_record_login()
681 proc_path_len = snprintf(NULL, 0, "/proc/%d", new_rec->lr_pid); in aps_record_login()
684 new_rec->lr_pid); in aps_record_login()
688 stat(new_rec->lr_tty, &sbuf) < 0 || in aps_record_login()
692 xfree(new_rec->lr_tty); in aps_record_login()
693 xfree(new_rec); in aps_record_login()
698 new_rec->next = aps_login_list; in aps_record_login()
699 aps_login_list = new_rec; in aps_record_login()
701 record_login(new_rec->lr_pid, new_rec->lr_tty, NULL, in aps_record_login()