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>
Thu, 13 Jan 2022 09:54:13 +0000 (10:54 +0100)
commitc65a15625797ccfccbc15063a72f6593e4f33b7c
tree55690a2d1964d5a7db3d113019dff568fdb95a4d
parentd5266c4d1f904cf3daf754693b90a371cf14747a
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)
(cherry picked from commit 78858632566c30d2299bcdbd6efe3cbd1cc99d5a)
src/core/namespace.c