]> git.ipfire.org Git - people/ms/pakfire.git/commit
jail: Allow accessing loop devices
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Jun 2023 14:43:10 +0000 (14:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Jun 2023 14:43:10 +0000 (14:43 +0000)
commit282b732a6b2463529f90d72f3fc6e01d174d41cc
treea58abe7c7e51c0db6945a4423bb68a79598c94a5
parentd467d675b76f8093459a8b99987458a75f299d41
jail: Allow accessing loop devices

This is not great, but the only way we can mount any images inside the
jail as loop devices are not namespaced (yet).

Jails of this style can access any loop devices set up by the system and
for other jails.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/include/pakfire/jail.h
src/libpakfire/include/pakfire/mount.h
src/libpakfire/jail.c
src/libpakfire/mount.c