diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2013-03-21 13:56:33 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2013-03-21 13:56:33 +0200 |
commit | b5e3e1efee28ce0a4bb5e9eae6740d4422f75f1c (patch) | |
tree | f7a99d42641f8816f30ee54bab71151df48fca39 /lib/rpmts_internal.h | |
parent | 03a35e0759f378729e42cc8fa42c5f6b471b3ac7 (diff) | |
download | rpm-b5e3e1efee28ce0a4bb5e9eae6740d4422f75f1c.tar.gz |
Eliminate built-in selinux support. RIP.
- We hereby unceremoniously declare that from now on, SELinux and
other similar mechanisms are to live in plugins, rpm doesn't need
to know about every possible security etc mechanism there might be.
Its a big commit but as its really just removals...
- We need to disable sepolicy collection plugin for now as it relies on
built-in support for selinux, this not only makes no sense but
wont work now that there is no built-in support. The sepolicy
plugin needs to be merged into the selinux base plugin now.
- Another "breakage" is that --rebuilddb no longer relabels the database,
this needs plugins to called in a place where they currently cannot
be called. This needs to be resolved before next actual release.
Diffstat (limited to 'lib/rpmts_internal.h')
-rw-r--r-- | lib/rpmts_internal.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/rpmts_internal.h b/lib/rpmts_internal.h index be2f7681c..724dc4cec 100644 --- a/lib/rpmts_internal.h +++ b/lib/rpmts_internal.h @@ -94,28 +94,6 @@ rpmal rpmtsCreateAl(rpmts ts, rpmElementTypes types); RPM_GNUC_INTERNAL int rpmtsSolve(rpmts ts, rpmds key); -/** \ingroup rpmts - * Get the selabel handle from the transaction set - * @param ts transaction set - * @return rpm selabel handle, or NULL if it hasn't been initialized yet - */ -struct selabel_handle * rpmtsSELabelHandle(rpmts ts); - -/** \ingroup rpmts - * Initialize selabel - * @param ts transaction set - * @param open_status if the func should open selinux status or just check it - * @return RPMRC_OK on success, RPMRC_FAIL otherwise - */ -rpmRC rpmtsSELabelInit(rpmts ts, int open_status); - -/** \ingroup rpmts - * Clean up selabel - * @param ts transaction set - * @param close_status whether we should close selinux status - */ -void rpmtsSELabelFini(rpmts ts, int close_status); - #ifdef __cplusplus } #endif |