[Rpm-maint] [RFC PATCH 0/3] New policy structures and load policy changes
Steve Lawrence
slawrence at tresys.com
Fri Sep 4 15:29:01 UTC 2009
This patchset includes a new structure used for managing policy (rpmpol)
and a new structure for managing and abstracing policy transactions
(rpmpoltrans). This patchset also includes changes to how rpmtsLoadPolicy
has retrieved policy in previous patchsets by no longer entering the psm.
- Steve
Steve Lawrence (3):
Add test sources and spec file for %policy
Add new structures/functions for managing policy information
Install policy during an rpm transaction using the new
rpmpol/rpmpoltrans
Makefile.am | 1 +
configure.ac | 34 +++-
lib/Makefile.am | 2 +-
lib/poptI.c | 2 +
lib/rpmpol.c | 339 +++++++++++++++++++++++++
lib/rpmpol.h | 129 ++++++++++
lib/rpmte.c | 26 ++
lib/rpmte.h | 15 +
lib/rpmte_internal.h | 3 +
lib/rpmts.h | 1 +
lib/rpmtypes.h | 2 +
lib/transaction.c | 133 ++++++++++-
macros.in | 1 +
preinstall.am | 4 +
tests/data/SOURCES/poltest-1.0.tar.bz2 | Bin 0 -> 384 bytes
tests/data/SOURCES/poltest-policy-1.0.tar.bz2 | Bin 0 -> 446 bytes
tests/data/SPECS/poltest.spec | 36 +++
17 files changed, 723 insertions(+), 5 deletions(-)
create mode 100644 lib/rpmpol.c
create mode 100644 lib/rpmpol.h
create mode 100644 tests/data/SOURCES/poltest-1.0.tar.bz2
create mode 100644 tests/data/SOURCES/poltest-policy-1.0.tar.bz2
create mode 100644 tests/data/SPECS/poltest.spec
More information about the Rpm-maint
mailing list