Systemd/src/core
Lennart Poettering e3b8d0637d 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.
2018-11-20 23:35:04 +01:00
..
all-units.h core: undo the dependency inversion between unit.h and all unit types 2018-05-15 14:24:34 -04:00
audit-fd.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
audit-fd.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
automount.c core: introduce a helper function to wrap unit_log_{success,failure} 2018-11-16 19:47:07 +01:00
automount.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
bpf-devices.c bpf-devices: fix order of removing and adding BPF programs 2018-11-13 14:03:01 +01:00
bpf-devices.h core: support cgroup v2 device controller 2018-10-09 09:47:51 -07:00
bpf-firewall.c bpf-firewall: always use log_unit_xyz() insteadof log_xyz() 2018-10-09 21:11:41 +02:00
bpf-firewall.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
cgroup.c cgroup v2: Don't require CPU controller for CPU accounting in 4.15+ 2018-11-18 12:21:41 +00:00
cgroup.h core: refactor bpf firewall support into a pseudo-controller 2018-10-09 09:46:08 -07:00
chown-recursive.c chown-recursive: TAKE_FD() is your friend 2018-10-26 15:13:26 +02:00
chown-recursive.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-automount.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-automount.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-cgroup.c cgroup v2: Don't require CPU controller for CPU accounting in 4.15+ 2018-11-18 12:21:41 +00:00
dbus-cgroup.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-device.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-device.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-execute.c core: implement per unit journal rate limiting 2018-10-18 09:56:20 +02:00
dbus-execute.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-job.c tree-wide: use "polkit" to refer to PolicyKit/polkit 2018-07-16 12:44:24 +02:00
dbus-job.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-kill.c Make Watchdog Signal Configurable 2018-09-26 16:14:29 +02:00
dbus-kill.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-manager.c core: rename queued_message → pending_reload_message 2018-11-13 11:59:06 +01:00
dbus-manager.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-mount.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-mount.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-path.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-path.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-scope.c pid1: add a new AbandonScope() method call on the Manager object 2018-11-09 17:08:59 +01:00
dbus-scope.h pid1: add a new AbandonScope() method call on the Manager object 2018-11-09 17:08:59 +01:00
dbus-service.c man: let's deprecate PermissionsStartOnly= 2018-11-16 14:31:37 +01:00
dbus-service.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-slice.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-slice.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-socket.c core: use structured initialization 2018-10-17 21:13:02 +02:00
dbus-socket.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-swap.c tree-wide: beautify remaining copyright statements 2018-06-14 10:20:21 +02:00
dbus-swap.h tree-wide: beautify remaining copyright statements 2018-06-14 10:20:21 +02:00
dbus-target.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-target.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-timer.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-timer.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-unit.c core: expose bus client names currently reffing a unit as property 2018-11-09 17:15:34 +01:00
dbus-unit.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-util.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus-util.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
dbus.c core: when we can't send the pending reload message, say we ignore it in the warning we log 2018-11-13 12:01:22 +01:00
dbus.h core: rename queued_message → pending_reload_message 2018-11-13 11:59:06 +01:00
device.c sd-device: drop priority and description from sd_device_monitor_attach_event() and sd_device_monitor_start() 2018-11-10 22:53:00 +09:00
device.h device: clean up DeviceFound flags set 2018-10-09 21:11:22 +02:00
dynamic-user.c core: rework serialization 2018-10-26 10:52:41 +02:00
dynamic-user.h tree-wide: use unsigned for refcount 2018-08-27 13:48:04 +09:00
emergency-action.c core: do not "warn" about mundane emergency actions 2018-10-17 19:32:09 +02:00
emergency-action.h core: do not "warn" about mundane emergency actions 2018-10-17 19:32:09 +02:00
execute.c fileio: drop "newline" parameter for env file parsers 2018-11-14 17:01:54 +01:00
execute.h core: introduce exec_params_clear() 2018-11-08 09:36:37 +01:00
hostname-setup.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
hostname-setup.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
ima-setup.c Move LONG_LINE_MAX definition to fileio.h 2018-11-14 16:25:32 +01:00
ima-setup.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
ip-address-access.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
ip-address-access.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
job.c job: simplify status message extraction 2018-11-16 15:30:36 +01:00
job.h job: add a comment that JOB_DONE also means skipped due to condition (#10453) 2018-10-19 03:55:30 +09:00
kill.c Make Watchdog Signal Configurable 2018-09-26 16:14:29 +02:00
kill.h Make Watchdog Signal Configurable 2018-09-26 16:14:29 +02:00
killall.c killall: (void)ify more things 2018-09-25 12:50:35 +02:00
killall.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
kmod-setup.c tree-wide: replace 'unsigned int' with 'unsigned' 2018-10-19 22:19:12 +02:00
kmod-setup.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
load-dropin.c pid1: drop now-unused path parameter to add_dependency_by_name() 2018-09-15 19:57:52 +02:00
load-dropin.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
load-fragment-gperf-nulstr.awk build-sys: fix the script used for generating load_fragment_gperf_nulstr (#6646) 2017-08-26 23:21:23 +09:00
load-fragment-gperf.gperf.m4 core: log about /var/run/ prefix used in PIDFile=, patch it to be /run instead 2018-11-10 19:17:00 +01:00
load-fragment.c core: log about /var/run/ prefix used in PIDFile=, patch it to be /run instead 2018-11-10 19:17:00 +01:00
load-fragment.h conf-parse: drop unused prototype 2018-11-17 08:47:27 +01:00
locale-setup.c locale-util: introduce common helper locale_variables_free() for freeing locale variable arrays 2018-11-14 17:01:55 +01:00
locale-setup.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
loopback-setup.c sd-netlink: make sd_netlink_slot take its description 2018-10-16 18:42:23 +09:00
loopback-setup.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
machine-id-setup.c core: include error cause in log message 2018-10-20 01:40:42 +09:00
machine-id-setup.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
macros.systemd.in Merge pull request #9489 from keszybz/copyright-removal-3 2018-07-03 16:55:01 +02:00
main.c main: don't freeze PID 1 in containers, exit with non-zero instead 2018-11-20 17:04:07 +01:00
manager.c core: run env generators with non-zero umask 2018-11-20 23:35:04 +01:00
manager.h main: when reloading PID 1 let's reset the default environment 2018-11-19 13:01:19 +01:00
meson.build core: support cgroup v2 device controller 2018-10-09 09:47:51 -07:00
mount-setup.c core: remove JoinControllers= configuration setting 2018-11-16 14:54:13 +01:00
mount-setup.h core: remove JoinControllers= configuration setting 2018-11-16 14:54:13 +01:00
mount.c core: introduce a helper function to wrap unit_log_{success,failure} 2018-11-16 19:47:07 +01:00
mount.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
namespace.c tree-wide: use typesafe_qsort() 2018-09-19 08:02:52 +09:00
namespace.h namespace: drop protect_{home,system}_or_bool_from_string() 2018-06-15 11:32:27 +02:00
org.freedesktop.systemd1.conf systemd-analyze: make dump work for large # of units 2018-05-11 08:11:02 -07:00
org.freedesktop.systemd1.policy.in core: systemd1.manage-unit-files policy implies systemd1.manage-units 2018-05-18 00:02:58 +09:00
org.freedesktop.systemd1.service Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
path.c core: introduce a helper function to wrap unit_log_{success,failure} 2018-11-16 19:47:07 +01:00
path.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
scope.c core: introduce a helper function to wrap unit_log_{success,failure} 2018-11-16 19:47:07 +01:00
scope.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
selinux-access.c tree-wide: drop copyright lines for more authors 2018-06-22 16:39:45 +02:00
selinux-access.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
selinux-setup.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
selinux-setup.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
service.c core: introduce a helper function to wrap unit_log_{success,failure} 2018-11-16 19:47:07 +01:00
service.h service: when starting a service make a copy of the watchdog timeout and use that 2018-10-26 13:00:04 +02:00
show-status.c core: serialize and deserialize current ShowStatus 2018-07-23 23:42:48 +09:00
show-status.h core: serialize and deserialize current ShowStatus 2018-07-23 23:42:48 +09:00
shutdown.c core: include error cause in log message 2018-10-20 01:40:42 +09:00
slice.c strv: wrap strv_new() in a macro so that NULL sentinel is implicit 2018-10-31 18:00:52 +01:00
slice.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
smack-setup.c Move LONG_LINE_MAX definition to fileio.h 2018-11-14 16:25:32 +01:00
smack-setup.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
socket.c core: log a recognizable message when a unit succeeds, too 2018-11-16 15:22:48 +01:00
socket.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
swap.c core: introduce a helper function to wrap unit_log_{success,failure} 2018-11-16 19:47:07 +01:00
swap.h core: replace udev_device by sd_device 2018-08-23 04:57:39 +09:00
system.conf.in core: remove JoinControllers= configuration setting 2018-11-16 14:54:13 +01:00
systemd.pc.in build-sys: make the dynamic UID range, and the container UID range configurable 2017-12-06 12:55:37 +01:00
target.c core: rework serialization 2018-10-26 10:52:41 +02:00
target.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
timer.c core: introduce a helper function to wrap unit_log_{success,failure} 2018-11-16 19:47:07 +01:00
timer.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
transaction.c core: make destructive transaction error a bit more useful 2018-10-13 13:01:08 +02:00
transaction.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
triggers.systemd.in Drop my copyright headers 2018-06-14 13:03:20 +02:00
umount.c core/umount: use structured initializers 2018-09-10 16:48:37 +09:00
umount.h tree-wide: beautify remaining copyright statements 2018-06-14 10:20:21 +02:00
unit-printf.c shared: add %g, %G specifiers for group / gid (#10368) 2018-10-13 17:26:48 +09:00
unit-printf.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
unit.c core: make unit_start() return a distinguishable error code in case conditions didn't hold 2018-11-16 15:22:48 +01:00
unit.h core: introduce a helper function to wrap unit_log_{success,failure} 2018-11-16 19:47:07 +01:00
user.conf core: rename StartLimitInterval= to StartLimitIntervalSec= 2016-04-29 16:27:48 +02:00