/[gentoo-projects]/pax-utils/scanelf.c
Gentoo

Diff of /pax-utils/scanelf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.202 Revision 1.203
1/* 1/*
2 * Copyright 2003-2007 Gentoo Foundation 2 * Copyright 2003-2007 Gentoo Foundation
3 * Distributed under the terms of the GNU General Public License v2 3 * Distributed under the terms of the GNU General Public License v2
4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.202 2008/12/30 12:38:04 vapier Exp $ 4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.203 2008/12/30 12:39:53 vapier Exp $
5 * 5 *
6 * Copyright 2003-2007 Ned Ludd - <solar@gentoo.org> 6 * Copyright 2003-2007 Ned Ludd - <solar@gentoo.org>
7 * Copyright 2004-2007 Mike Frysinger - <vapier@gentoo.org> 7 * Copyright 2004-2007 Mike Frysinger - <vapier@gentoo.org>
8 */ 8 */
9 9
10static const char *rcsid = "$Id: scanelf.c,v 1.202 2008/12/30 12:38:04 vapier Exp $"; 10static const char *rcsid = "$Id: scanelf.c,v 1.203 2008/12/30 12:39:53 vapier Exp $";
11const char * const argv0 = "scanelf"; 11const char * const argv0 = "scanelf";
12 12
13#include "paxinc.h" 13#include "paxinc.h"
14 14
15#define IS_MODIFIER(c) (c == '%' || c == '#' || c == '+') 15#define IS_MODIFIER(c) (c == '%' || c == '#' || c == '+')
68 68
69static char **qa_textrels = NULL; 69static char **qa_textrels = NULL;
70static char **qa_execstack = NULL; 70static char **qa_execstack = NULL;
71static char **qa_wx_load = NULL; 71static char **qa_wx_load = NULL;
72 72
73int match_bits = 0; 73static int match_bits = 0;
74unsigned int match_perms = 0; 74static unsigned int match_perms = 0;
75caddr_t ldcache = 0; 75static caddr_t ldcache = 0;
76size_t ldcache_size = 0; 76static size_t ldcache_size = 0;
77unsigned long setpax = 0UL; 77static unsigned long setpax = 0UL;
78 78
79int has_objdump = 0; 79static int has_objdump = 0;
80 80
81static char *getstr_perms(const char *fname); 81static char *getstr_perms(const char *fname);
82static char *getstr_perms(const char *fname) 82static char *getstr_perms(const char *fname)
83{ 83{
84 struct stat st; 84 struct stat st;

Legend:
Removed from v.1.202  
changed lines
  Added in v.1.203

  ViewVC Help
Powered by ViewVC 1.1.20