1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-07 17:17:44 +03:00
systemd-stable/src/shared
Luca Boccassi 0c4fe2e3dc dbus-wait-for-jobs: add extra_args to bus_wait_for_jobs_one()
And pass it through to bus_wait_for_jobs()

(cherry picked from commit 86980de64b)
2022-01-04 16:21:54 +01:00
..
linux headers: update bpf_insn.h to dual license 2021-09-29 17:40:55 +01:00
acl-util.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
acl-util.h tree-wide: reset the cleaned-up variable in cleanup functions 2021-02-16 17:15:11 +01:00
acpi-fpdt.c tree-wide: use read_full_virtual_file() where appropriate 2021-03-17 18:43:42 +01:00
acpi-fpdt.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
apparmor-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
apparmor-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
ask-password-api.c tree-wide: use ERRNO_IS_TRANSIENT() 2021-11-30 23:06:43 +09:00
ask-password-api.h ask-password: allow to control lock and key emoji 2021-05-31 21:13:31 +02:00
barrier.c tree-wide: use ERRNO_IS_TRANSIENT() 2021-11-30 23:06:43 +09:00
barrier.h tree-wide: return NULL from freeing functions 2021-02-16 17:15:10 +01:00
base-filesystem.c tree-wide: fix typo 2021-11-30 12:30:07 +00:00
base-filesystem.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
binfmt-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
binfmt-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bitmap.c alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
bitmap.h alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
blkid-util.h tree-wide: reset the cleaned-up variable in cleanup functions 2021-02-16 17:15:11 +01:00
blockdev-util.c tree-wide: make FOREACH_DIRENT_ALL define the iterator variable 2021-12-15 16:19:13 +01:00
blockdev-util.h blockdev-util: add fd-based APIs for getting backing block device for file 2021-07-08 14:49:02 +02:00
bond-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bond-util.h tree-wide: use -EINVAL for enum invalid values 2021-02-10 14:46:59 +01:00
boot-timestamps.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
boot-timestamps.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bootspec.c Define FOREACH_DIRENT through FOREACH_DIRENT_ALL 2021-12-15 22:50:00 +01:00
bootspec.h bootspec: fix comment that says exactly the opposite of what is true 2021-11-11 17:22:27 +01:00
bpf-dlopen.c shared/bpf-dlopen: expose more libbpf functions 2021-10-06 10:52:14 +02:00
bpf-dlopen.h shared/bpf-dlopen: expose more libbpf functions 2021-10-06 10:52:14 +02:00
bpf-link.c tree-wide: fix SPDX short identifier for LGPL-2.1-or-later 2021-10-01 17:27:34 +01:00
bpf-link.h tree-wide: fix SPDX short identifier for LGPL-2.1-or-later 2021-10-01 17:27:34 +01:00
bpf-program.c tree-wide: use new RET_NERRNO() helper at various places 2021-11-16 08:04:09 +01:00
bpf-program.h core: remove refcount for bpf program 2021-10-12 12:48:23 +02:00
bridge-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bridge-util.h shared: use -EINVAL for _NETDEV_BRIDGE_STATE_INVALID 2021-02-16 23:40:30 +01:00
btrfs-util.c tree-wide: use new RET_NERRNO() helper at various places 2021-11-16 08:04:09 +01:00
btrfs-util.h btrfs-util: expose COPY_SIGTERM for btrfs_snapshot() too 2021-08-02 17:24:23 +02:00
bus-get-properties.c alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
bus-get-properties.h oom: rework *MemoryPressureLimit= properties to have 1/10000 precision 2021-02-02 17:52:48 -08:00
bus-locator.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bus-locator.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bus-log-control-api.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bus-log-control-api.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bus-map-properties.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bus-map-properties.h tree-wide: "a" -> "an" 2021-06-30 23:33:00 +09:00
bus-message-util.c alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
bus-message-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bus-object.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bus-object.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bus-polkit.c polkit: make bus_verify_polkit_async_registry_free() return Hashmap* with NULL 2021-12-14 19:39:39 +09:00
bus-polkit.h polkit: make bus_verify_polkit_async_registry_free() return Hashmap* with NULL 2021-12-14 19:39:39 +09:00
bus-print-properties.c tree-wide: add FORMAT_TIMESPAN() 2021-07-09 11:03:36 +02:00
bus-print-properties.h bus-print-property: introduce BusPrintPropertyFlags 2021-04-28 17:36:09 +02:00
bus-unit-procs.c systemctl: make dbus PID cgroup tree output look more like systemd-cgls 2021-10-28 18:54:52 +02:00
bus-unit-procs.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bus-unit-util.c path unit: add TriggerLimitBurst= and TriggerLimitIntervalSec= 2021-12-18 23:17:53 +00:00
bus-unit-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
bus-util.c tree-wide: do not print hint about -M if -M is already used 2021-11-04 11:00:54 +01:00
bus-util.h tree-wide: do not print hint about -M if -M is already used 2021-11-04 11:00:54 +01:00
bus-wait-for-jobs.c dbus-wait-for-jobs: add extra_args to bus_wait_for_jobs_one() 2022-01-04 16:21:54 +01:00
bus-wait-for-jobs.h dbus-wait-for-jobs: add extra_args to bus_wait_for_jobs_one() 2022-01-04 16:21:54 +01:00
bus-wait-for-units.c tree-wide: use UINT64_MAX or friends 2021-03-05 07:10:13 +09:00
bus-wait-for-units.h tree-wide: use -EINVAL for enum invalid values 2021-02-10 14:46:59 +01:00
calendarspec.c variuos: add missing includes 2021-09-22 12:58:46 +02:00
calendarspec.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
cgroup-setup.c tree-wide: don't use mkdir_errno_wrapper() without reason 2021-11-16 17:02:58 +01:00
cgroup-setup.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
cgroup-show.c tree-wide: do not print hint about -M if -M is already used 2021-11-04 11:00:54 +01:00
cgroup-show.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
chown-recursive.c tree-wide: make FOREACH_DIRENT_ALL define the iterator variable 2021-12-15 16:19:13 +01:00
chown-recursive.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
clean-ipc.c tree-wide: make FOREACH_DIRENT_ALL define the iterator variable 2021-12-15 16:19:13 +01:00
clean-ipc.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
clock-util.c tree-wide: use new RET_NERRNO() helper at various places 2021-11-16 08:04:09 +01:00
clock-util.h time-set: adjust system clock if rtc is far in future 2021-08-02 20:33:01 +01:00
condition.c core: support user manager with Condition[Memory/CPU/IO]Pressure 2021-12-02 11:21:06 +00:00
condition.h core: add Condition[Memory/CPU/IO]Pressure 2021-12-01 09:53:18 +01:00
conf-parser.c systemd-coredump: allow setting external core size to infinity 2021-11-19 09:23:52 +01:00
conf-parser.h systemd-coredump: allow setting external core size to infinity 2021-11-19 09:23:52 +01:00
copy.c tree-wide: make FOREACH_DIRENT_ALL define the iterator variable 2021-12-15 16:19:13 +01:00
copy.h shared/copy: add a new flag COPY_ALL_XATTRS 2021-08-11 17:48:10 +02:00
coredump-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
coredump-util.h tree-wide: use -EINVAL for enum invalid values 2021-02-10 14:46:59 +01:00
cpu-set-util.c alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
cpu-set-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
creds-util.c shared/creds: print debugging information when something goes wrong 2021-12-13 15:01:44 +01:00
creds-util.h creds-util: add infra for encrypting/decrypting credentials 2021-07-08 09:30:29 +02:00
cryptsetup-util.c various: convert to the new dlopen_or_warn() helper 2021-06-24 10:16:46 +02:00
cryptsetup-util.h cryptsetup: also define crypt_token_max() as fallback locally, not just sym_crypt_token_max() 2021-10-08 23:50:04 +02:00
daemon-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
data-fd-util.c tree-wide: use new RET_NERRNO() helper at various places 2021-11-16 08:04:09 +01:00
data-fd-util.h basic,shared: move a bunch of files to src/shared/ 2021-06-24 10:11:00 +02:00
dev-setup.c shared: clean up mkdir.h/label.h situation 2021-11-16 17:03:28 +01:00
dev-setup.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
device-nodes.c util: move device-node.[ch] to shared 2021-06-04 15:51:39 +09:00
device-nodes.h util: drop DEV_NUM_PATH_MAX and xsprintf_dev_num_path() 2021-06-04 15:51:39 +09:00
devnode-acl.c Define FOREACH_DIRENT through FOREACH_DIRENT_ALL 2021-12-15 22:50:00 +01:00
devnode-acl.h login: move src/login/logind-acl.[ch] -> src/shared/devnode-acl.[ch] 2021-01-19 07:04:19 +09:00
discover-image.c tree-wide: make FOREACH_DIRENT_ALL define the iterator variable 2021-12-15 16:19:13 +01:00
discover-image.h Move os-util.[ch] to basic/ 2021-02-22 20:10:55 +01:00
dissect-image.c shared: Remove remaining usages of GPT_ROOT_NATIVE, GPT_USR_NATIVE from dissect-image.c 2021-12-21 13:47:07 +00:00
dissect-image.h Merge pull request #21487 from DaanDeMeyer/dissect-image-other-arch 2021-11-25 17:36:57 +01:00
dlfcn-util.c shared/dlfcn-util: add sentinel helper or for dlsym_many_or_warn() 2021-06-24 10:20:29 +02:00
dlfcn-util.h shared/dlfcn-util: add sentinel helper or for dlsym_many_or_warn() 2021-06-24 10:20:29 +02:00
dm-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dm-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dns-domain.c alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
dns-domain.h util: move several DNS related definitions to src/basic/dns-def.h 2021-01-19 07:04:19 +09:00
dropin.c basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch] 2021-10-05 16:14:37 +02:00
dropin.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
efi-loader.c Define FOREACH_DIRENT through FOREACH_DIRENT_ALL 2021-12-15 22:50:00 +01:00
efi-loader.h sd-boot: Be more precise about secure boot modes 2021-10-22 10:08:38 +02:00
elf-util.c Merge pull request #21454 from bluca/inspect_elf 2021-12-06 12:45:25 +01:00
elf-util.h elf-util: add stub for builds without libdw 2021-11-30 16:49:59 +00:00
enable-mempool.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
env-file-label.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
env-file-label.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
ethtool-util.c tree-wide: use new RET_NERRNO() helper at various places 2021-11-16 08:04:09 +01:00
ethtool-util.h ethtool-util: introduce ethtool_get_permanent_hw_addr() 2021-11-13 08:53:33 +09:00
exec-util.c tree-wide: always use TAKE_FD() when calling rearrange_stdio() 2021-11-03 23:05:26 +00:00
exec-util.h Revert "basic/fd-util: sort the 'except' array in place" 2021-10-27 17:56:36 +02:00
exit-status.c exit-status: add EXIT_BPF 2021-10-06 10:52:14 +02:00
exit-status.h exit-status: add EXIT_BPF 2021-10-06 10:52:14 +02:00
extension-release.c extension-release.d/: add a new field SYSEXT_SCOPE= for clarifying what a system extension is for 2021-11-23 22:55:11 +01:00
extension-release.h extension-release.d/: add a new field SYSEXT_SCOPE= for clarifying what a system extension is for 2021-11-23 22:55:11 +01:00
fdisk-util.h repart,homed: split out disk cleanup macros into generic header 2021-11-25 12:10:34 +01:00
fdset.c Define FOREACH_DIRENT through FOREACH_DIRENT_ALL 2021-12-15 22:50:00 +01:00
fdset.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
fileio-label.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
fileio-label.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
firewall-util-iptables.c tree-wide: port all calls to alloca() to alloca_safe() 2021-10-14 15:57:52 +02:00
firewall-util-nft.c sd-netlink: drop 'flags' argument from sd_nfnl_nft_message_new_table() 2021-08-29 18:01:26 +09:00
firewall-util-private.h test-firewall-util: skip if iptables nat table does not exist 2021-04-06 08:01:27 +02:00
firewall-util.c firewall-util: probe firewall backend in fw_ctx_new() 2021-03-23 15:17:34 +09:00
firewall-util.h firewall-util: logs which backend will be used 2021-03-23 14:40:50 +09:00
format-table.c shared/format-table: drop unnecessary _cleanup_ 2021-11-24 15:55:58 +01:00
format-table.h systemd-analyze: add new option to generate JSON output of security analysis table 2021-09-06 19:55:27 +01:00
fsck-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
fstab-util.c fstab-util: fix typo in comment 2021-03-13 12:26:10 +01:00
fstab-util.h fstab-generator: get rid of fstab_extract_values() 2021-03-11 11:25:15 +01:00
generate-ip-protocol-list.sh fix bash shebangs 2021-05-17 22:27:41 +01:00
generate-syscall-list.py tree-wide: add spdx header on all scripts and helpers 2021-01-28 09:55:35 +01:00
generator.c shared: clean up mkdir.h/label.h situation 2021-11-16 17:03:28 +01:00
generator.h veritysetup-generator: add support for veritytab 2021-01-15 11:06:11 -05:00
geneve-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
geneve-util.h tree-wide: use -EINVAL for enum invalid values 2021-02-10 14:46:59 +01:00
gpt.c gpt: update the gpt test case for LoongArch 2021-11-30 23:34:29 +08:00
gpt.h gpt: Store the partition type in GptPartitionType 2021-11-24 14:47:57 +01:00
group-record.c shared: split out UID allocation range stuff from user-record.h 2021-11-13 08:10:11 +01:00
group-record.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
hostname-setup.c hostname: introduce gethostname_full() and use it in various gethostname() variants 2021-08-12 13:48:15 +09:00
hostname-setup.h hostname: introduce gethostname_full() and use it in various gethostname() variants 2021-08-12 13:48:15 +09:00
hwdb-util.c hwdb: voidify call to mkdir_parents_label 2021-11-17 17:47:48 +00:00
hwdb-util.h Move hwdb creation code to src/shared/ 2021-06-24 09:47:15 +02:00
id128-print.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
id128-print.h tree-wide: use -EINVAL for enum invalid values 2021-02-10 14:46:59 +01:00
idn-util.c shared/dlfcn-util: add sentinel helper or for dlsym_many_or_warn() 2021-06-24 10:20:29 +02:00
idn-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
ima-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
ima-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
import-util.c Typos found by codespell 2021-10-20 22:20:18 +09:00
import-util.h import-util: tweak url patching helper 2021-07-30 16:23:20 +02:00
in-addr-prefix-util.c in-addr-prefix-util: introduce several utilities for address prefix 2021-09-14 20:30:09 +09:00
in-addr-prefix-util.h in-addr-prefix-util: introduce several utilities for address prefix 2021-09-14 20:30:09 +09:00
initreq.h three spdx header fixes 2020-12-10 13:03:11 +01:00
install-file.c basic: split out sync() family of calls from fs-util.[ch] into new c/h file 2021-10-05 15:47:32 +02:00
install-file.h shared: add generic helper tools for installing files/dir trees 2021-08-17 10:08:48 +02:00
install-printf.c tree-wide: make specifier expansion --root= aware 2021-06-24 22:30:14 +02:00
install-printf.h tree-wide: make specifier expansion --root= aware 2021-06-24 22:30:14 +02:00
install.c Define FOREACH_DIRENT through FOREACH_DIRENT_ALL 2021-12-15 22:50:00 +01:00
install.h tree-wide: make specifier expansion --root= aware 2021-06-24 22:30:14 +02:00
ip-protocol-list.c shared: add ip_protocol_{from|to}_tcp_udp helpers 2021-06-29 14:37:07 -07:00
ip-protocol-list.h shared: add ip_protocol_{from|to}_tcp_udp helpers 2021-06-29 14:37:07 -07:00
ip-protocol-to-name.awk tree-wide: add spdx header on all scripts and helpers 2021-01-28 09:55:35 +01:00
ipvlan-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
ipvlan-util.h tree-wide: use -EINVAL for enum invalid values 2021-02-10 14:46:59 +01:00
journal-importer.c alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
journal-importer.h alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
journal-util.c journal: move journal_field_valid() to journal_file.c 2020-12-16 04:48:44 +09:00
journal-util.h journal: move journal_field_valid() to journal_file.c 2020-12-16 04:48:44 +09:00
json-internal.h shared/json: use int64_t instead of intmax_t 2021-11-18 01:34:31 +01:00
json.c shared: avoid x86_64-specific size assertion on x32 2021-12-10 07:26:18 +01:00
json.h json: introduce several macros for building json object 2021-11-25 22:35:30 +09:00
kbd-util.c kbd-util: port from nftw() to recurse_dir() 2021-10-07 11:59:23 +02:00
kbd-util.h localed: refuse to set a keymap which is not installed 2021-03-04 11:44:20 +01:00
keyring-util.c keyring-util: add new keyring-util.h helpers 2021-11-12 22:15:06 +01:00
keyring-util.h keyring-util: add new keyring-util.h helpers 2021-11-12 22:15:06 +01:00
killall.c tree-wide: make FOREACH_DIRENT_ALL define the iterator variable 2021-12-15 16:19:13 +01:00
killall.h core: move several source files to src/shared 2021-01-19 07:04:19 +09:00
label.c tree-wide: use new RET_NERRNO() helper at various places 2021-11-16 08:04:09 +01:00
label.h shared: clean up mkdir.h/label.h situation 2021-11-16 17:03:28 +01:00
libcrypt-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
libcrypt-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
libfido2-util.c libfido2-util: add helper that checks whether a FIDO2 device is plugged in 2021-10-11 11:12:29 +02:00
libfido2-util.h libfido2-util: add helper that checks whether a FIDO2 device is plugged in 2021-10-11 11:12:29 +02:00
libmount-util.h tree-wide: reset the cleaned-up variable in cleanup functions 2021-02-16 17:15:11 +01:00
libshared.sym tree-wide: tabs suck (#8527) 2018-03-23 15:21:35 +01:00
local-addresses.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
local-addresses.h local-addresses: add helper for determining local "outbound" IP addresses 2021-04-23 12:01:41 +02:00
lockfile-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
lockfile-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
log-link.h libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
logs-show.c alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
logs-show.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
loop-util.c tree-wide: use new RET_NERRNO() helper at various places 2021-11-16 08:04:09 +01:00
loop-util.h loop: parse and store disk sequence number 2021-07-28 19:59:38 +01:00
loopback-setup.c core: move several source files to src/shared 2021-01-19 07:04:19 +09:00
loopback-setup.h core: move several source files to src/shared 2021-01-19 07:04:19 +09:00
machine-id-setup.c basic: split out sync() family of calls from fs-util.[ch] into new c/h file 2021-10-05 15:47:32 +02:00
machine-id-setup.h core: move several source files to src/shared 2021-01-19 07:04:19 +09:00
machine-pool.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
machine-pool.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
macvlan-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
macvlan-util.h tree-wide: use -EINVAL for enum invalid values 2021-02-10 14:46:59 +01:00
main-func.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
meson.build meson: stop building out convenience libraries by default 2021-12-16 11:01:08 +01:00
mkdir-label.c shared: clean up mkdir.h/label.h situation 2021-11-16 17:03:28 +01:00
mkdir-label.h shared: clean up mkdir.h/label.h situation 2021-11-16 17:03:28 +01:00
mkfs-util.c makefs: add "support" for f2fs 2021-11-16 13:55:49 +01:00
mkfs-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
module-util.c shared/module-util: fix errno value passed to log function 2021-04-14 17:10:36 +02:00
module-util.h tree-wide: reset the cleaned-up variable in cleanup functions 2021-02-16 17:15:11 +01:00
mount-setup.c shared: clean up mkdir.h/label.h situation 2021-11-16 17:03:28 +01:00
mount-setup.h core: move several source files to src/shared 2021-01-19 07:04:19 +09:00
mount-util.c extension-release.d/: add a new field SYSEXT_SCOPE= for clarifying what a system extension is for 2021-11-23 22:55:11 +01:00
mount-util.h Bump the max number of inodes for /dev to a million 2021-12-09 10:09:17 +01:00
net-condition.c udev/net: introduce "struct Link" to store link attributes 2021-11-26 21:06:24 +09:00
net-condition.h network,udev: make .network and .link file can match with hardware address longer or shorter than ETH_ALEN 2021-11-25 20:14:46 +01:00
netif-naming-scheme.c udev: move NamePolicy to netif-naming-scheme.[ch] 2021-12-16 01:55:37 +09:00
netif-naming-scheme.h udev: move NamePolicy to netif-naming-scheme.[ch] 2021-12-16 01:55:37 +09:00
netif-util.c network,udev: do not adjust local assignment bit of specified MAC address 2021-12-07 15:01:04 +09:00
netif-util.h network,udev: do not adjust local assignment bit of specified MAC address 2021-12-07 15:01:04 +09:00
nscd-flush.c tree-wide: port all calls to alloca() to alloca_safe() 2021-10-14 15:57:52 +02:00
nscd-flush.h Make support for nscd flushing optional 2020-12-07 19:46:02 +01:00
nsflags.c Refactor network namespace specific functions in generic helpers 2021-03-04 00:04:36 +08:00
nsflags.h Drop parens from around already-parenthesized defines 2021-03-05 19:27:23 +01:00
numa-util.c Define FOREACH_DIRENT through FOREACH_DIRENT_ALL 2021-12-15 22:50:00 +01:00
numa-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
openssl-util.c port string_hashsum from libgcrypt to openssl^gcrypt 2021-12-01 12:36:57 +01:00
openssl-util.h openssl: supress warnings about functions deprecated by openssl 3.0 2021-12-09 10:27:18 +01:00
output-mode.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
output-mode.h cgroups-show: optionally show cgroup xattrs + cgroup id in cgroup tree output 2021-10-07 11:50:42 +02:00
pager.c Merge pull request #20138 from keszybz/coding-style-variable-decls 2021-11-05 13:57:30 +00:00
pager.h Make pager_open() return void 2021-11-03 15:24:56 +01:00
pam-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
pam-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
parse-argument.c tree-wide: always drop unnecessary dot in path 2021-05-28 13:44:38 +09:00
parse-argument.h tree-wide: add a helper to parse boolean optarg 2021-02-17 21:06:31 +01:00
parse-socket-bind-item.c parse-socket-bind-item: fix typo in comment 2021-07-02 13:53:00 +02:00
parse-socket-bind-item.h shared: add parser for SocketBind{Allow|Deny}= 2021-06-30 00:36:26 -07:00
pe-header.h boot/efi: add ARM (THUMB) and RISCV64 machine types 2021-05-06 15:16:29 +02:00
pkcs11-util.c tree-wide: assorted Coccinelle fixes 2021-10-08 15:03:27 +02:00
pkcs11-util.h Add support for systemd-pkcs11 libcryptsetup plugin. 2021-08-19 13:58:10 +02:00
pretty-print.c analyze: fix printing config when there is no main config file 2021-11-21 12:10:51 +00:00
pretty-print.h pretty-print: add helper for quickly outputting red/green cross/check marks 2021-11-23 22:40:15 +01:00
psi-util.c oomd: switch system context parsing to use /proc/meminfo 2021-06-30 03:47:26 -07:00
psi-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
ptyfwd.c tree-wide: use UINT64_MAX or friends 2021-03-05 07:10:13 +09:00
ptyfwd.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
pwquality-util.c various: convert to the new dlopen_or_warn() helper 2021-06-24 10:16:46 +02:00
pwquality-util.h tree-wide: reset the cleaned-up variable in cleanup functions 2021-02-16 17:15:11 +01:00
qrcode-util.c various: convert to the new dlopen_or_warn() helper 2021-06-24 10:16:46 +02:00
qrcode-util.h qrcode-util: make dlopen() logic more like the other cases 2020-12-09 13:34:27 +01:00
quota-util.c basic,shared: move quota-util.[ch] to src/shared/ 2021-06-24 09:47:15 +02:00
quota-util.h basic,shared: move quota-util.[ch] to src/shared/ 2021-06-24 09:47:15 +02:00
reboot-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
reboot-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
resize-fs.c resize-fs: add helper that checks if the specified fs can do online grow/shrink 2021-11-16 17:18:07 +01:00
resize-fs.h resize-fs: add helper that checks if the specified fs can do online grow/shrink 2021-11-16 17:18:07 +01:00
resolve-util.c resolved: add "proxy-only" stub on 127.0.0.54 2021-11-22 22:33:24 +01:00
resolve-util.h resolved: add "proxy-only" stub on 127.0.0.54 2021-11-22 22:33:24 +01:00
rm-rf.c tree-wide: make FOREACH_DIRENT_ALL define the iterator variable 2021-12-15 16:19:13 +01:00
rm-rf.h rm-rf: optionally fsync() after removing directory tree 2021-10-11 16:00:34 +02:00
seccomp-util.c seccomp: move mprotect to @default 2021-11-14 13:53:50 +09:00
seccomp-util.h build: fix build without seccomp 2021-11-25 13:22:32 +09:00
securebits-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
securebits-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
selinux-util.c selinux: make mac_selinux_create_file_prepare() at wrapper around _at() 2021-11-16 17:02:03 +01:00
selinux-util.h selinux: make mac_selinux_create_file_prepare() at wrapper around _at() 2021-11-16 17:02:03 +01:00
serialize.c tree-wide: make cunescape*() functions return ssize_t 2021-07-09 15:07:40 +02:00
serialize.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
service-util.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
service-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
sleep-config.c sleep: don't skip resume device with low priority/available space 2021-10-04 10:23:42 +02:00
sleep-config.h sleep: use SleepOperation enum everywhere and drop sleep_settings() 2021-05-22 11:00:00 +02:00
smack-util.c smack make mac_smack_fix_at() useful when called with dir_fd=AT_FDCWD 2021-11-16 17:01:58 +01:00
smack-util.h smack: move helper function to smack-util.c 2021-09-21 18:31:42 +02:00
socket-label.c shared: clean up mkdir.h/label.h situation 2021-11-16 17:03:28 +01:00
socket-netlink.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
socket-netlink.h netlink: move resolve_ifname() or friends to netlink-util.[ch] 2021-06-12 03:19:08 +09:00
spawn-ask-password-agent.c tree-wide: port various places to use TAKE_PID() 2021-11-03 16:36:09 +01:00
spawn-ask-password-agent.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
spawn-polkit-agent.c tree-wide: port various places to use TAKE_PID() 2021-11-03 16:36:09 +01:00
spawn-polkit-agent.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
specifier.c basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch] 2021-10-05 16:14:37 +02:00
specifier.h tree-wide: make specifier expansion --root= aware 2021-06-24 22:30:14 +02:00
switch-root.c shared: clean up mkdir.h/label.h situation 2021-11-16 17:03:28 +01:00
switch-root.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
test-tables.h test-tables: make sure we can test tables of either int or int64_t base type 2021-02-16 20:35:07 +01:00
tests.c dbus-wait-for-jobs: add extra_args to bus_wait_for_jobs_one() 2022-01-04 16:21:54 +01:00
tests.h test,static-destruct: Use retain attribute to prevent linker garbage collection 2021-12-22 12:14:08 +09:00
tmpfile-util-label.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
tmpfile-util-label.h shared: re-wrap comment 2021-12-23 13:49:12 +01:00
tomoyo-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
tomoyo-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
tpm2-util.c json: add new JSON_BUILD_CONST_STRING() macro 2021-11-25 14:22:31 +01:00
tpm2-util.h tpm2: check if PCR values make sense before using them 2021-09-13 15:02:53 +02:00
udev-util.c tree-wide: make cunescape*() functions return ssize_t 2021-07-09 15:07:40 +02:00
udev-util.h udev-util: introduce udev_replace_ifname() 2021-06-23 16:02:05 +09:00
uid-alloc-range.c uid-alloc-range: maintain only a single default alloc range structure 2021-11-13 08:10:13 +01:00
uid-alloc-range.h shared: split out UID allocation range stuff from user-record.h 2021-11-13 08:10:11 +01:00
uid-range.c alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhere 2021-10-14 15:57:52 +02:00
uid-range.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
user-record-nss.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
user-record-nss.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
user-record-show.c user-record: add rebalanceWeight field 2021-11-25 18:28:44 +01:00
user-record-show.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
user-record.c user-record: add rebalanceWeight field 2021-11-25 18:28:44 +01:00
user-record.h homed: add automatic grow/shrink ("rebalancing") 2021-11-25 18:28:44 +01:00
userdb-dropin.c userdb: make most loading of JSON user record data "permissive" 2021-06-01 13:32:31 +02:00
userdb-dropin.h userdb: optionally read user/group/membership "dropins", too 2021-05-10 14:58:07 +02:00
userdb.c Define FOREACH_DIRENT through FOREACH_DIRENT_ALL 2021-12-15 22:50:00 +01:00
userdb.h userdbd: also listen on a varlink socket io.systemd.DropIn 2021-05-10 14:58:39 +02:00
utmp-wtmp.c tree-wide: mark set-but-not-used variables as unused to make LLVM happy 2021-09-15 13:09:45 +02:00
utmp-wtmp.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
varlink.c tree-wide: use sd_event_source_disable_unref() where we can 2021-11-09 12:52:53 +01:00
varlink.h varlink: make 'userdata' pointer inheritance from varlink server to connection optional 2021-01-21 07:31:58 +09:00
verb-log-control.c shared: Extract common LogControl CLI code to verb-log-control.h 2021-09-10 08:48:57 +09:00
verb-log-control.h shared: Extract common LogControl CLI code to verb-log-control.h 2021-09-10 08:48:57 +09:00
verbs.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
verbs.h tree-wide: use UINT64_MAX or friends 2021-03-05 07:10:13 +09:00
vlan-util.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
vlan-util.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
volatile-util.c tree-wide: propagate error code from _from_string() functions 2021-02-10 14:46:59 +01:00
volatile-util.h tree-wide: use -EINVAL for enum invalid values 2021-02-10 14:46:59 +01:00
watchdog.c watchdog: fix fd validity check 2021-10-18 11:27:39 +02:00
watchdog.h watchdog: constify watchdog_set_device() parameter 2021-09-15 12:14:53 +02:00
web-util.c import: allow file:// in addition to HTTP(S) 2021-08-20 21:56:39 +02:00
web-util.h import: allow file:// in addition to HTTP(S) 2021-08-20 21:56:39 +02:00
wifi-util.c wifi-util: introduce nl80211_cmd_to_string() 2021-09-29 15:38:59 +09:00
wifi-util.h wifi-util: introduce nl80211_cmd_to_string() 2021-09-29 15:38:59 +09:00
xml.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
xml.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00