systemd/src/core
Yu Watanabe c093bfe0ad
Merge pull request #27534 from keszybz/deperlify
Rewrite udev-test.pl in Python
2023-05-09 18:06:51 +09:00
..
bpf meson: move bpf hookup into main meson build file 2023-04-24 17:10:08 +02:00
all-units.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
apparmor-setup.c strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
apparmor-setup.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
audit-fd.c tree-wide: have_effective_cap() may return negative errno 2022-12-23 22:11:00 +09:00
audit-fd.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
automount.c tree-wide: use parse_fd() 2023-05-05 09:10:56 +02:00
automount.h Revert "core: Propagate condition failed state to triggering units." 2021-12-17 19:39:29 +01:00
bpf-devices.c nulstr-util: Declare NULSTR_FOREACH() iterator inline 2022-11-11 16:31:32 +01:00
bpf-devices.h core: remove refcount for bpf program 2021-10-12 12:48:23 +02:00
bpf-firewall.c bpf-firewall: give a name to maps used 2023-04-18 08:23:55 +09:00
bpf-firewall.h bpf-firewall: move destruction of IP firewall objects to bpf-firewall.c 2021-06-08 21:54:49 +02:00
bpf-foreign.c core/bpf: prefix log messages from different bpf subsystems 2022-06-02 15:59:41 +02:00
bpf-foreign.h core: fix bpf-foreign cg controller realization 2021-11-10 21:00:25 -08:00
bpf-lsm.c lsm-util: move detection of support of LSMs into a new lsm-util.[ch] helper 2023-04-18 08:22:21 +02:00
bpf-lsm.h manager: skip BPF cleanup if we never initialized 2022-05-17 10:55:40 +02:00
bpf-socket-bind.c tree-wide: use -EBADF for fd initialization 2022-12-19 15:00:57 +01:00
bpf-socket-bind.h tree-wide: fix SPDX short identifier for LGPL-2.1-or-later 2021-10-01 17:27:34 +01:00
bpf-util.c basic: create new basic/initrd-util.[ch] for initrd-related functions 2022-11-08 13:41:13 +01:00
bpf-util.h core: define a helper function for basic bpf checks 2022-06-02 15:59:41 +02:00
cgroup.c core: add DelegateSubgroup= setting 2023-04-27 12:18:32 +02:00
cgroup.h core: add DelegateSubgroup= setting 2023-04-27 12:18:32 +02:00
core-varlink.c core: only allow systemd-oomd to use SubscribeManagedOOMCGroups 2022-10-14 09:57:59 -07:00
core-varlink.h core: refactor manager varlink init 2022-10-14 01:59:12 -07:00
crash-handler.c signal-util: add common implementation for propagating a signal 2022-11-17 22:38:14 +09:00
crash-handler.h pid1: split out crash handler logic into its own .c/.h file 2022-03-10 13:45:14 +01:00
dbus-automount.c core/automount: Add ExtraOptions field 2021-11-23 09:44:35 +01:00
dbus-automount.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-cgroup.c core: add DelegateSubgroup= setting 2023-04-27 12:18:32 +02:00
dbus-cgroup.h pid1: add unit file settings to control memory pressure logic 2023-03-01 09:43:23 +01:00
dbus-device.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-device.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-execute.c Merge pull request #27113 from keszybz/variable-expansion-rework 2023-04-24 22:03:06 +02:00
dbus-execute.h service: add ability to pin fd store 2023-04-13 06:44:27 +02:00
dbus-job.c tree-wide: use ASSERT_PTR more 2022-09-13 08:13:27 +02:00
dbus-job.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-kill.c tree-wide: use ASSERT_PTR more 2022-09-13 08:13:27 +02:00
dbus-kill.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-manager.c pid1: unify implemenation of /run/ disk space safety check a bit 2023-04-28 23:27:20 +01:00
dbus-manager.h Add D-Bus property exposing Ctrl-Alt-Delete action (#19217) 2021-04-23 09:57:14 +02:00
dbus-mount.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-mount.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-path.c tree-wide: use -EBADF for fd initialization 2022-12-19 15:00:57 +01:00
dbus-path.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-scope.c systemd: Support OOMPolicy in scope units 2022-11-24 19:41:28 +09:00
dbus-scope.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-service.c Merge pull request #27113 from keszybz/variable-expansion-rework 2023-04-24 22:03:06 +02:00
dbus-service.h pid1: add DumpFileDescriptorStore() bus call that returns fdstore content info 2023-03-29 18:53:20 +02:00
dbus-slice.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-slice.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-socket.c core/dbus-socket: check the socket path is absolute 2023-02-23 21:34:16 +09:00
dbus-socket.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-swap.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-swap.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-target.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-target.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-timer.c tree-wide: use ASSERT_PTR more 2022-09-13 08:13:27 +02:00
dbus-timer.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dbus-unit.c core: refuse dbus activation if dbus is not running 2023-05-09 01:42:25 +08:00
dbus-unit.h core/unit: allow overriding an ongoing freeze operation 2022-12-08 00:54:53 +01:00
dbus-util.c core/dbus-util: introduce bus_set_transient_tristate() 2023-02-23 15:09:13 +09:00
dbus-util.h core/dbus-util: introduce bus_set_transient_tristate() 2023-02-23 15:09:13 +09:00
dbus.c core: refuse dbus activation if dbus is not running 2023-05-09 01:42:25 +08:00
dbus.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
device.c core/device: rewrite how device unit is removed from Manager.devices_by_sysfs 2023-04-20 09:22:25 +02:00
device.h core/device: also serialize/deserialize device syspath 2022-10-26 01:50:23 +09:00
dynamic-user.c tree-wide: use parse_fd() 2023-05-05 09:10:56 +02:00
dynamic-user.h core: Move DynamicCreds into ExecRuntime 2023-03-27 14:47:30 +02:00
efi-random.c tree-wide: use -EBADF for fd initialization 2022-12-19 15:00:57 +01:00
efi-random.h boot: implement kernel EFI RNG seed protocol with proper hashing 2022-11-14 15:21:58 +01:00
emergency-action.c basic: add RuntimeScope enum 2023-03-10 09:47:39 +01:00
emergency-action.h basic: add RuntimeScope enum 2023-03-10 09:47:39 +01:00
execute.c tree-wide: use parse_fd() 2023-05-05 09:10:56 +02:00
execute.h service: allow freeing the fdstore via cleaning 2023-04-13 06:44:27 +02:00
fuzz-manager-serialize.c test: add a simple fuzzer for manager serialization 2023-05-03 10:09:53 +02:00
fuzz-unit-file.c basic: add RuntimeScope enum 2023-03-10 09:47:39 +01:00
fuzz-unit-file.options fuzzers: move several fuzzers 2021-01-19 07:04:19 +09:00
generator-setup.c shared: clean up mkdir.h/label.h situation 2021-11-16 17:03:28 +01:00
generator-setup.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
ima-setup.c tree-wide: use -EBADF for fd initialization 2022-12-19 15:00:57 +01:00
ima-setup.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
import-creds.c creds: import 'vmm.notify_socket' and use it to set 2023-01-05 23:07:16 +01:00
import-creds.h pid1: import creds from sd-stub + qemu + kernel cmdline 2022-04-28 18:12:00 +02:00
job.c core/job: use new job ID when we failed to deserialize job ID 2023-04-27 00:36:41 +09:00
job.h pid1: drop duplicate include 2023-05-09 08:11:10 +02:00
kill.c basic: rename util.h to logarithm.h 2022-11-08 18:21:10 +01:00
kill.h tree-wide: use -EINVAL for enum invalid values 2021-02-10 14:46:59 +01:00
kmod-setup.c kmod-setup: Add early loading for virtio_console 2023-04-20 13:43:37 +02:00
kmod-setup.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
load-dropin.c strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
load-dropin.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
load-fragment-gperf-nulstr.awk tree-wide: add spdx header on all scripts and helpers 2021-01-28 09:55:35 +01:00
load-fragment-gperf.gperf.in core: add DelegateSubgroup= setting 2023-04-27 12:18:32 +02:00
load-fragment.c core: add DelegateSubgroup= setting 2023-04-27 12:18:32 +02:00
load-fragment.h core: add DelegateSubgroup= setting 2023-04-27 12:18:32 +02:00
main.c parse-util: make parse_fd() return -EBADF 2023-05-08 09:49:55 +02:00
main.h pid1: split out crash handler logic into its own .c/.h file 2022-03-10 13:45:14 +01:00
manager-dump.c analyze: extend the dump command to accept patterns 2022-10-13 07:47:42 +09:00
manager-dump.h analyze: extend the dump command to accept patterns 2022-10-13 07:47:42 +09:00
manager-serialize.c tree-wide: use parse_fd() 2023-05-05 09:10:56 +02:00
manager-serialize.h core: split out manager-serialize.[ch] 2021-07-19 11:27:11 +02:00
manager.c core/manager: export manager_dbus_is_running 2023-05-09 01:42:25 +08:00
manager.h core/manager: export manager_dbus_is_running 2023-05-09 01:42:25 +08:00
meson.build test: add a simple fuzzer for manager serialization 2023-05-03 10:09:53 +02:00
mount.c core: minor coding style modernization in mount.c 2023-05-03 18:26:39 +02:00
mount.h core: Move DynamicCreds into ExecRuntime 2023-03-27 14:47:30 +02:00
namespace.c execute: remove credentials dir again when empty 2023-05-04 12:10:06 +02:00
namespace.h tree-wide: hook up image dissection policy logic everywhere 2023-04-05 20:45:30 +02:00
org.freedesktop.systemd1.conf core: permit sending augmented enable/disable methods 2023-02-20 12:33:57 +09:00
org.freedesktop.systemd1.policy.in Use https for freedesktop.org 2022-06-28 13:10:05 +02:00
org.freedesktop.systemd1.service license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
path.c core/path: do not enqueue new job in .trigger_notify callback 2023-04-29 08:54:29 +09:00
path.h core/path: do not enqueue new job in .trigger_notify callback 2023-04-29 08:54:29 +09:00
restrict-ifaces.c tree-wide: use -EBADF for fd initialization 2022-12-19 15:00:57 +01:00
restrict-ifaces.h tree-wide: fix SPDX short identifier for LGPL-2.1-or-later 2021-10-01 17:27:34 +01:00
scope.c scope: do not disable timer event source when state is SCOPE_RUNNING 2023-04-13 14:34:41 -04:00
scope.h systemd: Support OOMPolicy in scope units 2022-11-24 19:41:28 +09:00
selinux-access.c selinux: accept the fact that getxyzcon() can return success and NULL 2022-12-07 15:25:37 +01:00
selinux-access.h core: cache unit file selinux label, and make decisions based on that 2022-07-20 19:08:28 +02:00
selinux-setup.c selinux-setup: minor modernizations 2022-12-07 15:26:18 +01:00
selinux-setup.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
service.c core/service: fix error cause in the log 2023-05-09 06:08:14 +09:00
service.h service: rename service_close_socket_fd() → service_release_socket_fd() 2023-04-13 06:44:27 +02:00
show-status.c tree-wide: use -EBADF for fd initialization 2022-12-19 15:00:57 +01:00
show-status.h core: add combined status unit format 2021-06-28 20:11:52 +02:00
slice.c pid1: add a new D-Bus method for enquing POSIX signals with values to unit processes 2023-02-17 09:55:35 +01:00
slice.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
smack-setup.c tree-wide: use -EBADF for fd initialization 2022-12-19 15:00:57 +01:00
smack-setup.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
socket.c core: use extract_first_word() instead of sscanf() 2023-05-05 22:15:23 +02:00
socket.h core: Move DynamicCreds into ExecRuntime 2023-03-27 14:47:30 +02:00
swap.c core: Move DynamicCreds into ExecRuntime 2023-03-27 14:47:30 +02:00
swap.h core: Move DynamicCreds into ExecRuntime 2023-03-27 14:47:30 +02:00
system.conf.in system.conf: add default for memory pressure settings 2023-03-09 23:43:17 +09:00
systemd.pc.in pkgconfig,rpm: expose vars for user-tmpfiles.d location 2022-06-21 15:49:41 +09:00
target.c core: check for NULL in one more place 2021-12-06 17:45:20 +01:00
target.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
timer.c service: allow freeing the fdstore via cleaning 2023-04-13 06:44:27 +02:00
timer.h service: set TRIGGER_UNIT= and TRIGGER_TIMER_REALTIME_USEC/MONOTONIC_USEC on activation by timer unit 2022-08-23 21:19:54 +01:00
transaction.c Merge pull request #27424 from dtardon/auto-cleanup 2023-04-28 18:46:36 +09:00
transaction.h transaction: make transaction_free() static 2023-04-28 09:28:25 +02:00
unit-dependency-atom.c core: split $MONITOR_METADATA and return it only if a single unit triggers OnFailure/OnSuccess 2022-03-10 14:43:14 +00:00
unit-dependency-atom.h core: split $MONITOR_METADATA and return it only if a single unit triggers OnFailure/OnSuccess 2022-03-10 14:43:14 +00:00
unit-printf.c cgroup: rework how we validate/escape cgroups 2023-04-27 12:17:58 +02:00
unit-printf.h tree-wide: refuse too long strings earlier in specifier_printf() 2021-05-12 10:26:07 +09:00
unit-serialize.c tree-wide: use parse_fd() 2023-05-05 09:10:56 +02:00
unit-serialize.h core: split out a few funcs into unit-serialize.[ch] 2021-02-12 11:36:24 +01:00
unit.c core/unit: check the validity of unit type with activation_details_vtable 2023-05-08 09:49:55 +02:00
unit.h Merge pull request #27113 from keszybz/variable-expansion-rework 2023-04-24 22:03:06 +02:00
user.conf.in system.conf: add default for memory pressure settings 2023-03-09 23:43:17 +09:00