libreoffice-online/kit
Caolán McNamara b65ded3f6b Allow Namespace use even if BindMounting failed
For Namespaces the parent uses e.g.

jails/195178-46f603be/tmp/cool-82ChWNp1XiISVSpV/

to pass files to what is normally the child's (hidden) bind mount of that as

jails/195178-46f603be/82ChWNp1XiISVSpV/tmp

If BindMounting fails and we fallback to linking, then symlink
jails/195178-46f603be/tmp/cool-82ChWNp1XiISVSpV/ to the fallback
jails/195178-46f603be/82ChWNp1XiISVSpV/tmp so the parent can still
use the path expected for Namespaces.

So we can still get the goodness of namespaces wrt capabilities even
if we have the ills of bind-mounting fail.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I9a6f9e8db8f6edced18fe20367afc4d599a29ed2
2024-07-17 11:19:11 +02:00
..
ChildSession.cpp fix EOL issue in transform Document Structure 2024-07-16 10:28:44 +02:00
ChildSession.hpp Add support for "getpresentationinfo" command 2024-07-03 13:23:14 +02:00
Delta.hpp rle data size is two bytes not one 2024-07-04 11:31:00 +02:00
DeltaSimd.c deltas: zstd compress already RLE compressed pixels. 2024-06-20 15:55:01 +01:00
DeltaSimd.h
DummyLibreOfficeKit.cpp
DummyLibreOfficeKit.hpp
forkit-main.cpp
ForKit.cpp use a separate mount namespace for each jail process 2024-07-12 09:14:33 +01:00
Kit.cpp Allow Namespace use even if BindMounting failed 2024-07-17 11:19:11 +02:00
Kit.hpp use a separate mount namespace for each jail process 2024-07-12 09:14:33 +01:00
KitHelper.hpp Optimize a bit - no need to use an intermediate stringstream 2024-06-21 15:29:26 +02:00
KitQueue.cpp cool#9145 - KitQueue: re-work _tileQueue to use TileDesc. 2024-05-23 19:50:09 +01:00
KitQueue.hpp cool#9145 - KitQueue: re-work _tileQueue to use TileDesc. 2024-05-23 19:50:09 +01:00
KitWebSocket.cpp bgsave: detect crashed bgsave process, and/or early termination. 2024-05-18 18:57:54 +01:00
KitWebSocket.hpp bgsave: detect crashed bgsave process, and/or early termination. 2024-05-18 18:57:54 +01:00
SetupKitEnvironment.hpp reduce uses of MOBILEAPP on some files 2024-03-20 09:13:00 +01:00
StateRecorder.hpp
TestStubs.cpp
Watermark.hpp