core: run env generators with non-zero umask
authorLennart Poettering <lennart@poettering.net>
Tue, 20 Nov 2018 18:14:24 +0000 (19:14 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Nov 2018 22:35:04 +0000 (23:35 +0100)
commite3b8d0637dd755b3426f3363b2cdad63f738116c
tree1eaebb0563862c695903d99b39e4fafe0c508933
parentf5f9a580dd4a3cf487b2d49ed70a13d8aaf373da
core: run env generators with non-zero umask

For PID 1 we adjust the umask to 0, but generators should not run that
way, given that they might be implemented as shell scripts and such.
Let's hence explicitly adjust the umask for them.

We already do this for unit generators. Let's do this for env
generators, too.
src/core/manager.c