Compare commits

...

8 Commits

Author SHA1 Message Date
Susant Sahani c0619079cc Fix CID 1406578: Resource leaks (RESOURCE_LEAK)
** CID 1406578:  Resource leaks  (RESOURCE_LEAK)
/src/libsystemd-network/sd-dhcp-server.c: 155 in sd_dhcp_raw_option_new()
2019-10-31 21:13:57 +01:00
Anita Zhang 3ec56e53a2
Merge pull request #13895 from jsynacek/master
sd-dhcp: fix resource leak
2019-10-31 11:39:08 -07:00
Anita Zhang 28b05d1e6e
Merge pull request #13891 from yuwata/basic-drop-missing
tree-wide: drop missing.h
2019-10-31 11:35:58 -07:00
Anita Zhang 9e73d33128
Merge pull request #13892 from keur/mkosi_arch
Fix mkosi on Arch Linux
2019-10-31 11:22:37 -07:00
Jan Synacek 7050e89ee0 sd-dhcp: fix resource leak
CID#1406578
2019-10-31 14:37:46 +01:00
Kevin Kuehler 9e05564006 Fix mkosi on Arch Linux
/* test compression */
XZ compression finished (38280 -> 11756 bytes, 30.7%)
sh: diff: command not found
Assertion 'system(cmd) == 0' failed at src/journal/test-compress.c:198,
function test_compress_stream(). Aborting.

The journal compression test shells out to diff, so include diffutils as
a BuildPackage on Arch.

Remaining fixes in https://github.com/systemd/mkosi/pull/377
2019-10-31 02:32:23 -07:00
Yu Watanabe f5947a5e92 tree-wide: drop missing.h 2019-10-31 17:57:03 +09:00
Yu Watanabe 9648956d1f test: move {test,fuzz}-fido-id-desc.c into src/udev/fido_id 2019-10-31 10:37:42 +09:00
111 changed files with 95 additions and 155 deletions

View File

@ -23,6 +23,7 @@ BuildPackages=
cryptsetup
curl
dbus
diffutils
docbook-xsl
elfutils
gcc

View File

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <sched.h>
#include <sys/utsname.h>
#include "analyze-security.h"
@ -12,7 +11,8 @@
#include "in-addr-util.h"
#include "locale-util.h"
#include "macro.h"
#include "missing.h"
#include "missing_capability.h"
#include "missing_sched.h"
#include "nulstr-util.h"
#include "parse-util.h"
#include "path-util.h"

View File

@ -2,6 +2,7 @@
#include <sys/stat.h>
#include <sys/statfs.h>
#include <unistd.h>
#include "alloc-util.h"
#include "blockdev-util.h"
@ -9,7 +10,7 @@
#include "dirent-util.h"
#include "fd-util.h"
#include "fileio.h"
#include "missing.h"
#include "missing_magic.h"
#include "parse-util.h"
#include "stat-util.h"

View File

@ -8,7 +8,6 @@
#include "cap-list.h"
#include "extract-word.h"
#include "macro.h"
#include "missing.h"
#include "parse-util.h"
#include "util.h"

View File

@ -27,7 +27,7 @@
#include "log.h"
#include "login-util.h"
#include "macro.h"
#include "missing.h"
#include "missing_magic.h"
#include "mkdir.h"
#include "parse-util.h"
#include "path-util.h"

View File

@ -14,7 +14,6 @@
#include "hashmap.h"
#include "log.h"
#include "macro.h"
#include "missing.h"
#include "path-util.h"
#include "set.h"
#include "sort-util.h"

View File

@ -22,7 +22,7 @@
#include "fs-util.h"
#include "io-util.h"
#include "macro.h"
#include "missing.h"
#include "missing_syscall.h"
#include "mountpoint-util.h"
#include "stat-util.h"
#include "string-util.h"

View File

@ -16,7 +16,7 @@
#include "io-util.h"
#include "macro.h"
#include "memfd-util.h"
#include "missing.h"
#include "missing_syscall.h"
#include "parse-util.h"
#include "path-util.h"
#include "process-util.h"

View File

@ -20,7 +20,6 @@
#include "hexdecoct.h"
#include "log.h"
#include "macro.h"
#include "missing.h"
#include "mkdir.h"
#include "parse-util.h"
#include "path-util.h"

View File

@ -18,7 +18,8 @@
#include "locale-util.h"
#include "log.h"
#include "macro.h"
#include "missing.h"
#include "missing_fs.h"
#include "missing_syscall.h"
#include "mkdir.h"
#include "parse-util.h"
#include "path-util.h"

View File

@ -11,7 +11,7 @@
#include "macro.h"
#include "memory-util.h"
#include "mempool.h"
#include "missing.h"
#include "missing_syscall.h"
#include "process-util.h"
#include "random-util.h"
#include "set.h"

View File

@ -9,7 +9,7 @@
#include "hexdecoct.h"
#include "khash.h"
#include "macro.h"
#include "missing.h"
#include "missing_socket.h"
#include "string-util.h"
#include "util.h"

View File

@ -25,7 +25,6 @@
#include "io-util.h"
#include "log.h"
#include "macro.h"
#include "missing.h"
#include "parse-util.h"
#include "proc-cmdline.h"
#include "process-util.h"

View File

@ -1,21 +1,21 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#if HAVE_LINUX_MEMFD_H
#include <linux/memfd.h>
#endif
#include <stdio.h>
#include <sys/mman.h>
#include <sys/prctl.h>
#include "alloc-util.h"
#include "fd-util.h"
#include "macro.h"
#include "memfd-util.h"
#include "missing.h"
#include "missing_fcntl.h"
#include "missing_mman.h"
#include "missing_syscall.h"
#include "string-util.h"
#include "utf8.h"

View File

@ -124,7 +124,6 @@ basic_sources = files('''
memory-util.h
mempool.c
mempool.h
missing.h
missing_audit.h
missing_capability.h
missing_drm.h

View File

@ -1,24 +0,0 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/* Missing glibc definitions to access certain kernel APIs */
#include "missing_audit.h"
#include "missing_capability.h"
#include "missing_drm.h"
#include "missing_fcntl.h"
#include "missing_fs.h"
#include "missing_input.h"
#include "missing_magic.h"
#include "missing_mman.h"
#include "missing_network.h"
#include "missing_prctl.h"
#include "missing_random.h"
#include "missing_resource.h"
#include "missing_sched.h"
#include "missing_socket.h"
#include "missing_stdlib.h"
#include "missing_timerfd.h"
#include "missing_type.h"
#include "missing_syscall.h"

View File

@ -8,7 +8,6 @@
#include "fd-util.h"
#include "fileio.h"
#include "fs-util.h"
#include "missing.h"
#include "mountpoint-util.h"
#include "parse-util.h"
#include "path-util.h"

View File

@ -1,10 +1,11 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <fcntl.h>
#include <linux/magic.h>
#include <sys/ioctl.h>
#include "fd-util.h"
#include "missing.h"
#include "missing_fs.h"
#include "missing_magic.h"
#include "namespace-util.h"
#include "process-util.h"
#include "stat-util.h"

View File

@ -15,7 +15,7 @@
#include "extract-word.h"
#include "locale-util.h"
#include "macro.h"
#include "missing.h"
#include "missing_network.h"
#include "parse-util.h"
#include "process-util.h"
#include "stat-util.h"

View File

@ -20,7 +20,6 @@
#include "glob-util.h"
#include "log.h"
#include "macro.h"
#include "missing.h"
#include "nulstr-util.h"
#include "parse-util.h"
#include "path-util.h"

View File

@ -33,7 +33,8 @@
#include "log.h"
#include "macro.h"
#include "memory-util.h"
#include "missing.h"
#include "missing_sched.h"
#include "missing_syscall.h"
#include "namespace-util.h"
#include "process-util.h"
#include "raw-clone.h"

View File

@ -17,17 +17,12 @@
# include <sys/auxv.h>
#endif
#if USE_SYS_RANDOM_H
# include <sys/random.h>
#else
# include <linux/random.h>
#endif
#include "alloc-util.h"
#include "fd-util.h"
#include "fileio.h"
#include "io-util.h"
#include "missing.h"
#include "missing_random.h"
#include "missing_syscall.h"
#include "parse-util.h"
#include "random-util.h"
#include "siphash24.h"

View File

@ -1,14 +1,13 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <errno.h>
#include <sys/resource.h>
#include "alloc-util.h"
#include "extract-word.h"
#include "fd-util.h"
#include "format-util.h"
#include "macro.h"
#include "missing.h"
#include "missing_resource.h"
#include "rlimit-util.h"
#include "string-table.h"
#include "time-util.h"

View File

@ -14,7 +14,7 @@
#include "fs-util.h"
#include "log.h"
#include "macro.h"
#include "missing.h"
#include "missing_socket.h"
#include "mkdir.h"
#include "selinux-util.h"
#include "socket-util.h"

View File

@ -12,6 +12,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include "alloc-util.h"
@ -23,7 +24,7 @@
#include "log.h"
#include "macro.h"
#include "memory-util.h"
#include "missing.h"
#include "missing_socket.h"
#include "parse-util.h"
#include "path-util.h"
#include "process-util.h"

View File

@ -15,7 +15,8 @@
#include "fd-util.h"
#include "fs-util.h"
#include "macro.h"
#include "missing.h"
#include "missing_fs.h"
#include "missing_magic.h"
#include "parse-util.h"
#include "stat-util.h"
#include "string-util.h"

View File

@ -20,7 +20,6 @@
#include "fileio.h"
#include "format-util.h"
#include "macro.h"
#include "missing.h"
#include "parse-util.h"
#include "path-util.h"
#include "random-util.h"

View File

@ -31,7 +31,6 @@
#include "hostname-util.h"
#include "log.h"
#include "macro.h"
#include "missing.h"
#include "parse-util.h"
#include "path-util.h"
#include "process-util.h"

View File

@ -11,7 +11,7 @@
#include "alloc-util.h"
#include "fd-util.h"
#include "macro.h"
#include "missing.h"
#include "missing_syscall.h"
#include "sparse-endian.h"
#include "stdio-util.h"
#include "string-util.h"

View File

@ -20,6 +20,7 @@
#include "fileio.h"
#include "hashmap.h"
#include "main-func.h"
#include "missing_sched.h"
#include "parse-util.h"
#include "path-util.h"
#include "pretty-print.h"

View File

@ -25,7 +25,6 @@
#include "io-util.h"
#include "ioprio.h"
#include "journal-util.h"
#include "missing.h"
#include "mountpoint-util.h"
#include "namespace.h"
#include "parse-util.h"

View File

@ -32,7 +32,6 @@
#include "fd-util.h"
#include "fs-util.h"
#include "log.h"
#include "missing.h"
#include "mkdir.h"
#include "process-util.h"
#include "selinux-access.h"

View File

@ -9,6 +9,7 @@
#include <string.h>
#include <sys/capability.h>
#include <sys/eventfd.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/personality.h>
#include <sys/prctl.h>
@ -67,7 +68,7 @@
#include "macro.h"
#include "manager.h"
#include "memory-util.h"
#include "missing.h"
#include "missing_fs.h"
#include "mkdir.h"
#include "namespace.h"
#include "parse-util.h"

View File

@ -3,11 +3,9 @@
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
#endif
#include <stddef.h>
#include "all-units.h"
#include "conf-parser.h"
#include "load-fragment.h"
#include "missing.h"
#include "all-units.h"
%}
struct ConfigPerfItem;
%null_strings

View File

@ -40,7 +40,6 @@
#include "limits-util.h"
#include "load-fragment.h"
#include "log.h"
#include "missing.h"
#include "mountpoint-util.h"
#include "nulstr-util.h"
#include "parse-util.h"

View File

@ -6,7 +6,7 @@
#include "sd-netlink.h"
#include "loopback-setup.h"
#include "missing.h"
#include "missing_network.h"
#include "netlink-util.h"
#include "time-util.h"

View File

@ -54,7 +54,6 @@
#include "loopback-setup.h"
#include "machine-id-setup.h"
#include "manager.h"
#include "missing.h"
#include "mount-setup.h"
#include "os-util.h"
#include "pager.h"

View File

@ -54,7 +54,6 @@
#include "macro.h"
#include "manager.h"
#include "memory-util.h"
#include "missing.h"
#include "mkdir.h"
#include "parse-util.h"
#include "path-lookup.h"

View File

@ -21,7 +21,6 @@
#include "label.h"
#include "log.h"
#include "macro.h"
#include "missing.h"
#include "mkdir.h"
#include "mount-setup.h"
#include "mountpoint-util.h"

View File

@ -17,7 +17,6 @@
#include "label.h"
#include "loop-util.h"
#include "loopback-setup.h"
#include "missing.h"
#include "mkdir.h"
#include "mount-util.h"
#include "mountpoint-util.h"

View File

@ -28,7 +28,6 @@
#include "ip-protocol-list.h"
#include "label.h"
#include "log.h"
#include "missing.h"
#include "mkdir.h"
#include "parse-util.h"
#include "path-util.h"

View File

@ -34,7 +34,7 @@
#include "load-fragment.h"
#include "log.h"
#include "macro.h"
#include "missing.h"
#include "missing_audit.h"
#include "mkdir.h"
#include "parse-util.h"
#include "path-util.h"

View File

@ -35,7 +35,6 @@
#include "macro.h"
#include "main-func.h"
#include "memory-util.h"
#include "missing.h"
#include "mkdir.h"
#include "parse-util.h"
#include "process-util.h"

View File

@ -10,7 +10,6 @@
#include "fuzz.h"
#include "log.h"
#include "mkdir.h"
#include "missing.h"
#include "rm-rf.h"
#include "string-util.h"
#include "tests.h"

View File

@ -146,9 +146,4 @@ fuzzers += [
[['src/fuzz/fuzz-time-util.c'],
[libshared],
[]],
[['src/fuzz/fuzz-fido-id-desc.c',
'src/udev/fido_id/fido_id_desc.c'],
[],
[]]
]

View File

@ -22,7 +22,6 @@
#include "fstab-util.h"
#include "generator.h"
#include "gpt.h"
#include "missing.h"
#include "mkdir.h"
#include "mountpoint-util.h"
#include "parse-util.h"

View File

@ -17,7 +17,6 @@
#include "fd-util.h"
#include "fs-util.h"
#include "import-common.h"
#include "missing.h"
#include "ratelimit.h"
#include "stat-util.h"
#include "string-util.h"

View File

@ -15,7 +15,7 @@
#include "import-util.h"
#include "machine-pool.h"
#include "main-func.h"
#include "missing.h"
#include "missing_capability.h"
#include "mkdir.h"
#include "parse-util.h"
#include "path-util.h"

View File

@ -6,7 +6,7 @@
#include "hexdecoct.h"
#include "io-util.h"
#include "journald-audit.h"
#include "missing.h"
#include "missing_audit.h"
#include "string-util.h"
typedef struct MapField {

View File

@ -41,7 +41,7 @@
#include "journald-stream.h"
#include "journald-syslog.h"
#include "log.h"
#include "missing.h"
#include "missing_audit.h"
#include "mkdir.h"
#include "parse-util.h"
#include "proc-cmdline.h"

View File

@ -31,7 +31,6 @@
#include "journal-internal.h"
#include "list.h"
#include "lookup3.h"
#include "missing.h"
#include "nulstr-util.h"
#include "path-util.h"
#include "process-util.h"

View File

@ -8,7 +8,7 @@
#include "lldp-internal.h"
#include "lldp-neighbor.h"
#include "memory-util.h"
#include "missing.h"
#include "missing_network.h"
#include "unaligned.h"
static void lldp_neighbor_id_hash_func(const LLDPNeighborID *id, struct siphash *state) {

View File

@ -5,7 +5,7 @@
#include "fd-util.h"
#include "lldp-network.h"
#include "missing.h"
#include "missing_network.h"
#include "socket-util.h"
int lldp_network_bind_raw_socket(int ifindex) {

View File

@ -11,7 +11,7 @@
#include "dns-domain.h"
#include "hostname-util.h"
#include "memory-util.h"
#include "missing.h"
#include "missing_network.h"
#include "ndisc-internal.h"
#include "ndisc-router.h"
#include "strv.h"

View File

@ -136,7 +136,7 @@ static sd_dhcp_raw_option* raw_option_free(sd_dhcp_raw_option *i) {
}
_public_ int sd_dhcp_raw_option_new(uint8_t type, char *data, size_t length, sd_dhcp_raw_option **ret) {
sd_dhcp_raw_option *p;
_cleanup_(sd_dhcp_raw_option_unrefp) sd_dhcp_raw_option *p = NULL;
assert_return(ret, -EINVAL);
@ -151,10 +151,12 @@ _public_ int sd_dhcp_raw_option_new(uint8_t type, char *data, size_t length, sd_
.type = type,
};
if (!p->data)
if (!p->data) {
free(p);
return -ENOMEM;
}
*ret = p;
*ret = TAKE_PTR(p);
return 0;
}

View File

@ -19,7 +19,6 @@
#include "io-util.h"
#include "macro.h"
#include "memory-util.h"
#include "missing.h"
#include "path-util.h"
#include "process-util.h"
#include "rlimit-util.h"

View File

@ -7,6 +7,7 @@
#include <signal.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <unistd.h>
@ -34,7 +35,7 @@
#include "hostname-util.h"
#include "macro.h"
#include "memory-util.h"
#include "missing.h"
#include "missing_syscall.h"
#include "parse-util.h"
#include "path-util.h"
#include "process-util.h"

View File

@ -4,6 +4,7 @@
#include <linux/filter.h>
#include <linux/netlink.h>
#include <sys/socket.h>
#include <unistd.h>
#include "sd-device.h"
#include "sd-event.h"
@ -17,7 +18,6 @@
#include "format-util.h"
#include "hashmap.h"
#include "io-util.h"
#include "missing.h"
#include "mountpoint-util.h"
#include "set.h"
#include "socket-util.h"

View File

@ -16,7 +16,7 @@
#include "list.h"
#include "macro.h"
#include "memory-util.h"
#include "missing.h"
#include "missing_syscall.h"
#include "prioq.h"
#include "process-util.h"
#include "set.h"

View File

@ -13,7 +13,7 @@
#include "io-util.h"
#include "khash.h"
#include "macro.h"
#include "missing.h"
#include "missing_syscall.h"
#include "random-util.h"
#include "user-util.h"
#include "util.h"

View File

@ -8,7 +8,6 @@
#include "alloc-util.h"
#include "format-util.h"
#include "missing.h"
#include "netlink-internal.h"
#include "netlink-types.h"
#include "netlink-util.h"

View File

@ -10,7 +10,6 @@
#include "fd-util.h"
#include "format-util.h"
#include "io-util.h"
#include "missing.h"
#include "netlink-internal.h"
#include "netlink-types.h"
#include "netlink-util.h"

View File

@ -30,7 +30,6 @@
#include "generic-netlink.h"
#include "hashmap.h"
#include "macro.h"
#include "missing.h"
#include "netlink-internal.h"
#include "netlink-types.h"
#include "string-table.h"

View File

@ -9,7 +9,6 @@
#include "sd-netlink.h"
#include "format-util.h"
#include "missing.h"
#include "netlink-internal.h"
#include "netlink-types.h"
#include "netlink-util.h"

View File

@ -9,7 +9,6 @@
#include "fd-util.h"
#include "hashmap.h"
#include "macro.h"
#include "missing.h"
#include "netlink-internal.h"
#include "netlink-slot.h"
#include "netlink-util.h"

View File

@ -9,7 +9,6 @@
#include "alloc-util.h"
#include "ether-addr-util.h"
#include "macro.h"
#include "missing.h"
#include "netlink-util.h"
#include "socket-util.h"
#include "stdio-util.h"

View File

@ -7,7 +7,6 @@
#include "fd-util.h"
#include "fileio.h"
#include "fs-util.h"
#include "missing.h"
#include "path-util.h"
#include "string-util.h"
#include "strv.h"

View File

@ -21,7 +21,7 @@
#include "io-util.h"
#include "list.h"
#include "memory-util.h"
#include "missing.h"
#include "missing_syscall.h"
#include "process-util.h"
#include "resolve-private.h"
#include "socket-util.h"

View File

@ -11,7 +11,6 @@
#include "alloc-util.h"
#include "fd-util.h"
#include "missing.h"
#include "string-util.h"
/**

View File

@ -14,7 +14,8 @@
#include "fd-util.h"
#include "logind-session-dbus.h"
#include "logind-session-device.h"
#include "missing.h"
#include "missing_drm.h"
#include "missing_input.h"
#include "parse-util.h"
#include "util.h"

View File

@ -3,7 +3,6 @@
#include <net/if.h>
#include "bridge.h"
#include "missing.h"
#include "netlink-util.h"
#include "network-internal.h"
#include "networkd-manager.h"

View File

@ -8,7 +8,6 @@
#include "conf-parser.h"
#include "fou-tunnel.h"
#include "ip-protocol-list.h"
#include "missing.h"
#include "netlink-util.h"
#include "networkd-manager.h"
#include "parse-util.h"

View File

@ -6,7 +6,6 @@
#include "conf-parser.h"
#include "extract-word.h"
#include "geneve.h"
#include "missing.h"
#include "netlink-util.h"
#include "networkd-manager.h"
#include "parse-util.h"

View File

@ -7,7 +7,6 @@
#include "conf-parser.h"
#include "hashmap.h"
#include "l2tp-tunnel.h"
#include "missing.h"
#include "netlink-util.h"
#include "networkd-address.h"
#include "networkd-manager.h"

View File

@ -11,7 +11,6 @@
#include "hexdecoct.h"
#include "macsec.h"
#include "memory-util.h"
#include "missing.h"
#include "netlink-util.h"
#include "network-internal.h"
#include "networkd-address.h"

View File

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "missing.h"
#include "netdevsim.h"
const NetDevVTable netdevsim_vtable = {

View File

@ -7,7 +7,7 @@
#include <linux/ip6_tunnel.h>
#include "conf-parser.h"
#include "missing.h"
#include "missing_network.h"
#include "netlink-util.h"
#include "parse-util.h"
#include "string-table.h"

View File

@ -2,7 +2,6 @@
#include <net/if.h>
#include "missing.h"
#include "vrf.h"
static int netdev_vrf_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *m) {

View File

@ -9,7 +9,6 @@
#include "string-util.h"
#include "strv.h"
#include "parse-util.h"
#include "missing.h"
#include "vxlan.h"
static const char* const df_table[_NETDEV_VXLAN_DF_MAX] = {

View File

@ -14,7 +14,7 @@
#include "dirent-util.h"
#include "fd-util.h"
#include "fs-util.h"
#include "missing.h"
#include "missing_magic.h"
#include "nspawn-def.h"
#include "nspawn-patch-uid.h"
#include "stat-util.h"

View File

@ -1,5 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <sys/ioctl.h>
#include <sys/reboot.h>
#include <sys/wait.h>
#include <sys/prctl.h>
@ -9,7 +10,6 @@
#include "exit-status.h"
#include "fd-util.h"
#include "log.h"
#include "missing.h"
#include "nspawn-stub-pid1.h"
#include "process-util.h"
#include "signal-util.h"

View File

@ -58,7 +58,7 @@
#include "machine-image.h"
#include "macro.h"
#include "main-func.h"
#include "missing.h"
#include "missing_sched.h"
#include "mkdir.h"
#include "mount-util.h"
#include "mountpoint-util.h"

View File

@ -19,7 +19,7 @@
#include "fd-util.h"
#include "format-util.h"
#include "log.h"
#include "missing.h"
#include "missing_fs.h"
#include "mountpoint-util.h"
#include "parse-util.h"
#include "path-util.h"

View File

@ -33,7 +33,6 @@
#include "log.h"
#include "macro.h"
#include "main-func.h"
#include "missing.h"
#include "mkdir.h"
#include "parse-util.h"
#include "process-util.h"

View File

@ -20,7 +20,7 @@
#include "io-util.h"
#include "log.h"
#include "main-func.h"
#include "missing.h"
#include "missing_syscall.h"
#include "mkdir.h"
#include "parse-util.h"
#include "random-util.h"

View File

@ -7,7 +7,7 @@
#include "dns-domain.h"
#include "fd-util.h"
#include "hostname-util.h"
#include "missing.h"
#include "missing_network.h"
#include "random-util.h"
#include "resolved-dnssd.h"
#include "resolved-dns-scope.h"

View File

@ -1,11 +1,12 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <netinet/tcp.h>
#include <unistd.h>
#include "alloc-util.h"
#include "fd-util.h"
#include "io-util.h"
#include "missing.h"
#include "missing_network.h"
#include "resolved-dns-stream.h"
#define DNS_STREAM_TIMEOUT_USEC (10 * USEC_PER_SEC)

View File

@ -33,7 +33,7 @@
#include "log.h"
#include "macro.h"
#include "memory-util.h"
#include "missing.h"
#include "missing_syscall.h"
#include "mkdir.h"
#include "process-util.h"
#include "random-util.h"

View File

@ -10,7 +10,7 @@
#include "fd-util.h"
#include "log.h"
#include "memory-util.h"
#include "missing.h"
#include "missing_syscall.h"
#include "path-util.h"
int bpf_program_new(uint32_t prog_type, BPFProgram **ret) {

View File

@ -27,7 +27,6 @@
#include "def.h"
#include "escape.h"
#include "fd-util.h"
#include "missing.h"
#include "mountpoint-util.h"
#include "nsflags.h"
#include "parse-util.h"

View File

@ -18,7 +18,7 @@
#include "fs-util.h"
#include "log.h"
#include "macro.h"
#include "missing.h"
#include "missing_network.h"
#include "nulstr-util.h"
#include "parse-util.h"
#include "path-util.h"

View File

@ -28,7 +28,6 @@
#include "hexdecoct.h"
#include "hostname-util.h"
#include "id128-util.h"
#include "missing.h"
#include "mount-util.h"
#include "mountpoint-util.h"
#include "nulstr-util.h"

View File

@ -10,7 +10,6 @@
#include "extract-word.h"
#include "log.h"
#include "memory-util.h"
#include "missing.h"
#include "socket-util.h"
#include "string-table.h"
#include "strxcpyx.h"

View File

@ -6,7 +6,7 @@
#include "btrfs-util.h"
#include "label.h"
#include "machine-pool.h"
#include "missing.h"
#include "missing_magic.h"
#include "stat-util.h"
static int check_btrfs(void) {

View File

@ -1,12 +1,14 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <fcntl.h>
#include <sys/mman.h>
#include "alloc-util.h"
#include "env-util.h"
#include "escape.h"
#include "fileio.h"
#include "missing.h"
#include "missing_mman.h"
#include "missing_syscall.h"
#include "parse-util.h"
#include "process-util.h"
#include "serialize.h"

View File

@ -13,7 +13,7 @@
#include "fd-util.h"
#include "fs-util.h"
#include "log.h"
#include "missing.h"
#include "missing_syscall.h"
#include "mkdir.h"
#include "mount-util.h"
#include "mountpoint-util.h"

View File

@ -25,7 +25,6 @@
#include "fileio.h"
#include "killall.h"
#include "log.h"
#include "missing.h"
#include "parse-util.h"
#include "process-util.h"
#include "reboot-util.h"

View File

@ -775,11 +775,6 @@ tests += [
[['src/test/test-local-addresses.c'],
[],
[]],
[['src/test/test-fido-id-desc.c',
'src/udev/fido_id/fido_id_desc.c'],
[],
[]],
]
############################################################

View File

@ -9,7 +9,6 @@
#include "bpf-program.h"
#include "load-fragment.h"
#include "manager.h"
#include "missing.h"
#include "rm-rf.h"
#include "service.h"
#include "test-helper.h"

View File

@ -1,5 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <fcntl.h>
#include <sched.h>
#include <sys/mount.h>
#include <sys/personality.h>
@ -17,7 +18,8 @@
#include "fd-util.h"
#include "log.h"
#include "macro.h"
#include "missing.h"
#include "missing_sched.h"
#include "missing_syscall.h"
#include "parse-util.h"
#include "process-util.h"
#include "signal-util.h"

Some files were not shown because too many files have changed in this diff Show More