]> git.ipfire.org Git - people/ms/pakfire.git/commit
jail: This changes how we launch sub-processes
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 5 Nov 2023 17:32:27 +0000 (17:32 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 5 Nov 2023 17:32:27 +0000 (17:32 +0000)
commit9b171c6a54a5f8e42ba3f11f285af601aecaa303
tree81f70a2b1760dba49b9f668e6d1ecdbff4d888b3
parentfd7c4600aff8dfc8b4bbc1203ce29617553cb09f
jail: This changes how we launch sub-processes

This patch changes that we will launch a new process in a new mount
namespace which will then set up that namespace and fork another child
into a new user/network/time/etc. namespace.

This is not completed as the internal mount namespace is not set up
correctly, yet.

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