]> git.ipfire.org Git - people/ms/pakfire.git/commitdiff
mount: Add comment about mounting /proc
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 Nov 2023 15:35:29 +0000 (15:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 Nov 2023 15:35:29 +0000 (15:35 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/mount.c

index 3ee09aa76176afe8d3ce15a8a20de4442c246425..4c0cbcb67d9eb112272d721c9493640793a2831b 100644 (file)
@@ -53,6 +53,11 @@ static const struct pakfire_mountpoint {
                NULL,
        },
 
+       /*
+               XXX it is kind of problematic to mount /proc twice as a process inside the
+               jail can umount /proc and will then see the host's /proc.
+       */
+
        // Make /proc/sys read-only (except /proc/sys/net)
        {
                PAKFIRE_MNTNS_INNER,