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 Revert "Changes for handling readonly mode click events:" 2024-03-06 14:03:02 +01:00
DummyLibreOfficeKit.hpp
forkit-main.cpp extract some functions to extra files for in process mode 2023-12-18 10:34:10 +00:00
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 nearly pure re-factor: split out code into its own modules. 2024-03-06 20:56:55 -05:00
TestStubs.cpp fix linking error for clang 17 2024-01-19 08:56:13 +01:00
Watermark.hpp