[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 dpkg. 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
apt with pax extended header processing support as well.

Regards,
    Stefan

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

 dpkg-deb/extract.c |   5 +++
 lib/dpkg/tarfn.c   | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/dpkg/tarfn.h   |  13 +++++++
 src/archives.c     |  20 ++++++++++
 4 files changed, 146 insertions(+)

-- 
1.9.1


Reply to: