elfcore.c (c77547d2f9e419914c3dc50d8d0fc038c1c8ea05) | elfcore.c (ccb83afd8192c1b5070aa7b4e888223bfd08b00a) |
---|---|
1/*- 2 * Copyright (c) 2007 Sandvine Incorporated 3 * Copyright (c) 1998 John D. Polstra 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 572 unchanged lines hidden (view full) --- 581 cp = memchr(cp, '\0', end - cp); 582 if (cp == NULL) 583 break; 584 *cp = ' '; 585 } 586 } else 587 strlcpy(psinfo->pr_psargs, kip.ki_comm, 588 sizeof(psinfo->pr_psargs)); | 1/*- 2 * Copyright (c) 2007 Sandvine Incorporated 3 * Copyright (c) 1998 John D. Polstra 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 572 unchanged lines hidden (view full) --- 581 cp = memchr(cp, '\0', end - cp); 582 if (cp == NULL) 583 break; 584 *cp = ' '; 585 } 586 } else 587 strlcpy(psinfo->pr_psargs, kip.ki_comm, 588 sizeof(psinfo->pr_psargs)); |
589 psinfo->pr_pid = pid; |
|
589 590 *sizep = sizeof(*psinfo); 591 return (psinfo); 592} 593 594static void * 595elf_note_prstatus(void *arg, size_t *sizep) 596{ --- 238 unchanged lines hidden --- | 590 591 *sizep = sizeof(*psinfo); 592 return (psinfo); 593} 594 595static void * 596elf_note_prstatus(void *arg, size_t *sizep) 597{ --- 238 unchanged lines hidden --- |