elf_update.c (4484:7c56a6c9c265) | elf_update.c (4494:b7c909b5a5e9) |
---|---|
1/*- 2 * Copyright (c) 2006 Joseph Koshy 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27 28#include <sys/mman.h> 29#include <sys/param.h> | 1/*- 2 * Copyright (c) 2006 Joseph Koshy 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27 28#include <sys/mman.h> 29#include <sys/param.h> |
30#ifdef __sun 31#include <sys/sysmacros.h> 32#endif |
|
30 31#include <assert.h> 32#include <errno.h> 33#include "gelf.h" 34#include "libelf.h" 35#include <stdlib.h> 36#include <string.h> 37#include <unistd.h> --- 845 unchanged lines hidden --- | 33 34#include <assert.h> 35#include <errno.h> 36#include "gelf.h" 37#include "libelf.h" 38#include <stdlib.h> 39#include <string.h> 40#include <unistd.h> --- 845 unchanged lines hidden --- |