Searched refs:new_rec (Results 1 – 1 of 1) sorted by relevance
670 aps_login_rec *new_rec; in aps_record_login() local675 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()[all …]