rpm-ostree/rust/src
Colin Walters e41a8ab26f Add support for wrapping binaries (rpm, dracut, grubby)
We need to be friendlier to people who are transitioning from
"traditional" yum managed systems.  This patchset starts to lay
out the groundwork for supporting "intercepting" binaries that
are in the tree.

For backwards compatibility, this feature is disabled by default,
to enable it, one can add `cliwrap: true` to the manifest.

To start with for example, we wrap `/usr/bin/rpm` and cause it
to drop privileges.  This way it can't corrupt anything; we're
not just relying on the read-only bind mount.  For example nothing
will accidentally get written to `/var/lib/rpm`.

Now a tricky thing with this one is we *do* want it to write if
we're in an unlocked state.

There are various other examples of binaries we want to intercept,
among them:

 - `grubby` -> `rpm-ostree kargs`
 - `dracut` -> `rpm-ostree initramfs`
 - `yum` -> well...we'll talk about that later
2020-04-15 16:22:57 +02:00
..
cliwrap Add support for wrapping binaries (rpm, dracut, grubby) 2020-04-15 16:22:57 +02:00
cliwrap.rs Add support for wrapping binaries (rpm, dracut, grubby) 2020-04-15 16:22:57 +02:00
composepost.rs rust: rustfmt(*) and (re)add a CI check for it 2020-04-08 02:52:30 +02:00
coreos_rootfs.rs rust: rustfmt(*) and (re)add a CI check for it 2020-04-08 02:52:30 +02:00
ffiutil.rs rust: Bump to glib 0.8 2020-03-06 23:04:19 +01:00
history.rs rust: rustfmt(*) and (re)add a CI check for it 2020-04-08 02:52:30 +02:00
journal.rs rust: Fully remove failure crate 2020-04-01 14:53:08 +02:00
lib.rs Add support for wrapping binaries (rpm, dracut, grubby) 2020-04-15 16:22:57 +02:00
lockfile.rs rust: rustfmt(*) and (re)add a CI check for it 2020-04-08 02:52:30 +02:00
progress.rs Clarify license situation to include GPLv2, relicense Rust code 2019-09-05 20:49:18 +00:00
treefile.rs Add support for wrapping binaries (rpm, dracut, grubby) 2020-04-15 16:22:57 +02:00
utils.rs rust: rustfmt(*) and (re)add a CI check for it 2020-04-08 02:52:30 +02:00