[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] Support for PAX extended header and Linux extended attributes



The following patch adds support for the tar pax extended header to the tar
parser so that tar files with pax extended headers containing Linux extended
attributes can be processed by apt. Essentially the pax extended header
contains key value pairs that describe file attributes. More information
about the format can be found here:

http://pubs.opengroup.org/onlinepubs/009695299/utilities/pax.html#tag_04_100_13_03

We are particularly interested in the security.ima extended attribute,
which, if available, contains a signature for the following file in the tar
and which we then write as a Linux extended attribute into the filesystem.

We are adding this type of support also to libarchive so that reprepro can
process Debian packages with pax extended headers. Further, we are extending
dpkg with pax extended header processing support as well.

Regards,
    Stefan


Stefan Berger (1):
  Implement support for PAX Extended Header

 apt-inst/contrib/extracttar.cc | 170 ++++++++++++++++++++++++++++++++++++++++-
 apt-inst/contrib/extracttar.h  |  39 +++++++++-
 2 files changed, 207 insertions(+), 2 deletions(-)

-- 
1.9.1


Reply to: