rpm-ostree/rust
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
..
libdnf-sys
src Add support for wrapping binaries (rpm, dracut, grubby) 2020-04-15 16:22:57 +02:00
cargo-vendor-config
Cargo.lock build(deps): bump structopt from 0.3.12 to 0.3.13 in /rust 2020-04-14 17:41:08 +02:00
Cargo.toml rust: move libdnf-sys module to its own crate 2020-04-07 19:01:02 +02:00
cbindgen.toml
LICENSE-APACHE
LICENSE-MIT Clarify license situation to include GPLv2, relicense Rust code 2019-09-05 20:49:18 +00:00