/[gentoo-x86]/eclass/pax-utils.eclass
Gentoo

Diff of /eclass/pax-utils.eclass

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

Revision 1.13 Revision 1.14
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/pax-utils.eclass,v 1.13 2011/07/03 21:17:10 blueness Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/pax-utils.eclass,v 1.14 2011/07/08 11:35:01 ssuominen Exp $
4 4
5# @ECLASS: pax-utils.eclass 5# @ECLASS: pax-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Maintained by 7# Maintained by
8# The Gentoo Linux Hardened Team <hardened@gentoo.org> 8# The Gentoo Linux Hardened Team <hardened@gentoo.org>
55 # Ignore '-' characters - in particular so that it doesn't matter if 55 # Ignore '-' characters - in particular so that it doesn't matter if
56 # the caller prefixes with - 56 # the caller prefixes with -
57 flags=${1//-} 57 flags=${1//-}
58 shift 58 shift
59 # Try paxctl, then scanelf. paxctl is preferred. 59 # Try paxctl, then scanelf. paxctl is preferred.
60 if type -p paxctl > /dev/null && hasq PT ${PAX_MARKINGS}; then 60 if type -p paxctl > /dev/null && has PT ${PAX_MARKINGS}; then
61 # Try paxctl, the upstream supported tool. 61 # Try paxctl, the upstream supported tool.
62 elog "PT PaX marking -${flags}" 62 elog "PT PaX marking -${flags}"
63 _pax_list_files elog "$@" 63 _pax_list_files elog "$@"
64 for f in "$@"; do 64 for f in "$@"; do
65 # First, try modifying the existing PAX_FLAGS header 65 # First, try modifying the existing PAX_FLAGS header

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20