namespace: make tmp dir handling code independent of umask too
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Nov 2021 10:16:02 +0000 (11:16 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 11 Jan 2022 17:17:20 +0000 (18:17 +0100)
commit78858632566c30d2299bcdbd6efe3cbd1cc99d5a
tree8ff4589485adf69f8f5096843aca690546be333e
parent569ef9413c2ef3275b45458367342112e5d5f991
namespace: make tmp dir handling code independent of umask too

Let's make all code in namespace.c robust towards weird umask. This
doesn't matter too much given that the parent dirs we deal here almost
certainly exist anyway, but let's clean this up anyway and make it fully
clean.

(cherry picked from commit 30443439274cc223583c6c57f7d9041e440e346f)
src/core/namespace.c