Systemd/src/shared
Lennart Poettering dccca82b1a log: minimize includes in log.h
log.h really should only include the bare minimum of other headers, as
it is really pulled into pretty much everything else and already in
itself one of the most basic pieces of code we have.

Let's hence drop inclusion of:

1. sd-id128.h because it's entirely unneeded in current log.h
2. errno.h, dito.
3. sys/signalfd.h which we can replace by a simple struct forward
   declaration
4. process-util.h which was needed for getpid_cached() which we now hide
   in a funciton log_emergency_level() instead, which nicely abstracts
   the details away.
5. sys/socket.h which was needed for struct iovec, but a simple struct
   forward declaration suffices for that too.

Ultimately this actually makes our source tree larger (since users of
the functionality above must now include it themselves, log.h won't do
that for them), but I think it helps to untangle our web of includes a
tiny bit.

(Background: I'd like to isolate the generic bits of src/basic/ enough
so that we can do a git submodule import into casync for it)
2018-01-11 14:44:31 +01:00
..
linux Add SPDX license identifiers to source files under the GPL 2017-11-19 19:08:15 +01:00
linux-3.13 Avoid strict DM interface version dependencies (#5519) 2017-03-02 19:11:37 +01:00
acl-util.c acl: fix typo in comment (#7580) 2017-12-08 13:34:25 +01:00
acl-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
acpi-fpdt.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
acpi-fpdt.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
apparmor-util.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
apparmor-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
ask-password-api.c io-util: make flush_fd() return how many bytes where flushed 2018-01-05 13:55:08 +01:00
ask-password-api.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
base-filesystem.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
base-filesystem.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
boot-timestamps.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
boot-timestamps.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
bootspec.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
bootspec.h efi: rework find_esp() error propagation/logging a bit 2017-12-11 23:18:56 +01:00
bus-unit-util.c tree-wide: install matches asynchronously 2018-01-05 13:58:32 +01:00
bus-unit-util.h bus-unit-util: add socket unit related options 2017-12-23 18:48:16 +09:00
bus-util.c networkd,resolved: make use of watch_bind feature to connect to the bus 2018-01-05 13:58:32 +01:00
bus-util.h networkd,resolved: make use of watch_bind feature to connect to the bus 2018-01-05 13:58:32 +01:00
cgroup-show.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
cgroup-show.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
clean-ipc.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
clean-ipc.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
condition.c cocci: use strempty() at more places 2018-01-10 17:11:19 +01:00
condition.h condition: introduce condition_takes_path() 2018-01-02 02:23:26 +09:00
conf-parser.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
conf-parser.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dev-setup.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dev-setup.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dissect-image.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
dissect-image.h log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
dns-domain.c resolved: fix "in-between" logic when boundaries are equal (#7590) 2017-12-14 14:08:21 +09:00
dns-domain.h shared: introduce dnssd_srv_type_is_valid() function 2017-12-08 14:29:27 +02:00
dropin.c shared/dropin: ignore ENAMETOOLONG when checking drop-in directories (#7525) 2017-12-01 20:34:49 +01:00
dropin.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
efivars.c efivars: if OsIndicationsSupported does not exist, assume that reboot-to-firmware is not available 2017-11-24 12:00:09 +01:00
efivars.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
fdset.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
fdset.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
firewall-util.c shared: silence gcc warning (#7402) 2017-11-21 08:24:12 +01:00
firewall-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
fstab-util.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
fstab-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
generator.c generator: add helper function for writing unit files 2017-12-15 16:47:11 +01:00
generator.h generator: add helper function for writing unit files 2017-12-15 16:47:11 +01:00
gpt.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
ima-util.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
ima-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
import-util.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
import-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
initreq.h build-sys: move more files from core/ to share/ that are generic enough 2013-11-22 16:31:40 +01:00
install-printf.c specifier: unify specifier implementations for user-related specifiers 2017-11-29 12:32:56 +01:00
install-printf.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
install.c install: search preset files in /run (#7715) 2018-01-05 13:15:42 +01:00
install.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journal-util.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journal-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
libshared.sym shared: Add a linker script so that all functions are tagget @SD_SHARED instead of @Base (#6669) 2017-08-28 18:49:03 +02:00
logs-show.c tree-wide: make use of wait_for_terminate_and_check() at various places 2018-01-04 13:27:27 +01:00
logs-show.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
loop-util.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
loop-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
machine-image.c machine-image: convert image_hashmap_free() to an static inline helper 2017-11-28 21:30:43 +01:00
machine-image.h machine-image: convert image_hashmap_free() to an static inline helper 2017-11-28 21:30:43 +01:00
machine-pool.c tree-wide: make use of wait_for_terminate_and_check() at various places 2018-01-04 13:27:27 +01:00
machine-pool.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
meson.build Merge pull request #7191 from Mic92/systemd 2018-01-09 14:35:54 +01:00
nsflags.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
nsflags.h nsflags: add namespace_flag_to_string_many_with_check() 2018-01-02 02:23:43 +09:00
output-mode.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
output-mode.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
pager.c pager: let's move static variables up, to the rest of them 2018-01-04 13:27:27 +01:00
pager.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
path-lookup.c shared: export xdg_user_dirs() and xdg_user_*_dir() 2017-12-06 10:18:11 +01:00
path-lookup.h shared: export xdg_user_dirs() and xdg_user_*_dir() 2017-12-06 10:18:11 +01:00
ptyfwd.c run: run pty forwarder at higher event priority than the bus 2017-12-05 18:33:24 +01:00
ptyfwd.h run: run pty forwarder at higher event priority than the bus 2017-12-05 18:33:24 +01:00
resolve-util.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
resolve-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
seccomp-util.c Merge pull request #7695 from yuwata/transient-socket 2017-12-23 19:20:29 +01:00
seccomp-util.h core,seccomp: fix logic to parse syscall filter in dbus-execute.c 2017-12-23 18:45:32 +09:00
sleep-config.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sleep-config.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
spawn-ask-password-agent.c pager,agent: insist that we are called from the main thread 2018-01-04 13:27:27 +01:00
spawn-ask-password-agent.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
spawn-polkit-agent.c pager,agent: insist that we are called from the main thread 2018-01-04 13:27:27 +01:00
spawn-polkit-agent.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
specifier.c shared: use _cleanup_ in specifier_printf (#7586) 2017-12-08 19:28:02 +03:00
specifier.h specifier: unify specifier implementations for user-related specifiers 2017-11-29 12:32:56 +01:00
switch-root.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
switch-root.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sysctl-util.c sysctl: use raw file descriptor in sysctl_write (#7753) 2017-12-30 12:16:49 +01:00
sysctl-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-tables.h log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
tests.c tree-wide: use EXIT_SUCCESS/EXIT_FAILURE in exit() where we can 2017-12-25 11:48:21 +01:00
tests.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
tomoyo-util.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
tomoyo-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
udev-util.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
udev-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
uid-range.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
uid-range.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
utmp-wtmp.c tree-wide: make use of new STRLEN() macro everywhere (#7639) 2017-12-14 19:02:29 +01:00
utmp-wtmp.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
vlan-util.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
vlan-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
volatile-util.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
volatile-util.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
watchdog.c watchdog: allow a device path to be specified 2017-12-08 11:26:30 -06:00
watchdog.h watchdog: allow a device path to be specified 2017-12-08 11:26:30 -06:00
wireguard-netlink.h networkd: add support for wireguard interface type 2018-01-09 14:00:49 +01:00