imgact_elf.c (c77547d2f9e419914c3dc50d8d0fc038c1c8ea05) | imgact_elf.c (ccb83afd8192c1b5070aa7b4e888223bfd08b00a) |
---|---|
1/*- 2 * Copyright (c) 2000 David O'Brien 3 * Copyright (c) 1995-1996 Søren Schmidt 4 * Copyright (c) 1996 Peter Wemm 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 1860 unchanged lines hidden (view full) --- 1869 end = cp + len - 1; 1870 for (;;) { 1871 cp = memchr(cp, '\0', end - cp); 1872 if (cp == NULL) 1873 break; 1874 *cp = ' '; 1875 } 1876 } | 1/*- 2 * Copyright (c) 2000 David O'Brien 3 * Copyright (c) 1995-1996 Søren Schmidt 4 * Copyright (c) 1996 Peter Wemm 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 1860 unchanged lines hidden (view full) --- 1869 end = cp + len - 1; 1870 for (;;) { 1871 cp = memchr(cp, '\0', end - cp); 1872 if (cp == NULL) 1873 break; 1874 *cp = ' '; 1875 } 1876 } |
1877 psinfo->pr_pid = p->p_pid; |
|
1877 sbuf_bcat(sb, psinfo, sizeof(*psinfo)); 1878 free(psinfo, M_TEMP); 1879 } 1880 *sizep = sizeof(*psinfo); 1881} 1882 1883static void 1884__elfN(note_prstatus)(void *arg, struct sbuf *sb, size_t *sizep) --- 477 unchanged lines hidden --- | 1878 sbuf_bcat(sb, psinfo, sizeof(*psinfo)); 1879 free(psinfo, M_TEMP); 1880 } 1881 *sizep = sizeof(*psinfo); 1882} 1883 1884static void 1885__elfN(note_prstatus)(void *arg, struct sbuf *sb, size_t *sizep) --- 477 unchanged lines hidden --- |