Compare commits
12 Commits
bcbebcc435
...
08bad0e66e
Author | SHA1 | Date |
---|---|---|
![]() |
08bad0e66e | |
![]() |
75fe1098d3 | |
![]() |
c0d1b21422 | |
![]() |
e258806a57 | |
![]() |
a09ada042d | |
![]() |
97cf6bfaa1 | |
![]() |
ab3a38b3a8 | |
![]() |
3f346cdf68 | |
![]() |
0dfc46f5fe | |
![]() |
c1f94299c7 | |
![]() |
81feec06ea | |
![]() |
d2e8dd78ed |
|
@ -32,7 +32,7 @@ The following exceptions apply:
|
||||||
* some sources under src/udev/ are licensed under **GPL-2.0-or-later**,
|
* some sources under src/udev/ are licensed under **GPL-2.0-or-later**,
|
||||||
so all udev programs (`systemd-udevd`, `udevadm`, and the udev builtins
|
so all udev programs (`systemd-udevd`, `udevadm`, and the udev builtins
|
||||||
and test programs) are also distributed under **GPL-2.0-or-later**.
|
and test programs) are also distributed under **GPL-2.0-or-later**.
|
||||||
* the header files contained in src/basic/linux/ and src/shared/linux/ are copied
|
* the header files contained in src/basic/linux/linux/ and src/shared/linux/ are copied
|
||||||
verbatim from the Linux kernel source tree and are licensed under **GPL-2.0 WITH
|
verbatim from the Linux kernel source tree and are licensed under **GPL-2.0 WITH
|
||||||
Linux-syscall-note** and are used within the scope of the Linux-syscall-note
|
Linux-syscall-note** and are used within the scope of the Linux-syscall-note
|
||||||
exception provisions
|
exception provisions
|
||||||
|
@ -42,13 +42,13 @@ The following exceptions apply:
|
||||||
* the src/shared/linux/bpf_insn.h header is copied from the Linux kernel
|
* the src/shared/linux/bpf_insn.h header is copied from the Linux kernel
|
||||||
source tree and is licensed under either **BSD-2-Clause** or **GPL-2.0-only**,
|
source tree and is licensed under either **BSD-2-Clause** or **GPL-2.0-only**,
|
||||||
and thus is included in the systemd build under the BSD-2-Clause license.
|
and thus is included in the systemd build under the BSD-2-Clause license.
|
||||||
* The src/basic/linux/wireguard.h header is copied from the Linux kernel
|
* The src/basic/linux/linux/wireguard.h header is copied from the Linux kernel
|
||||||
source tree and is licensed under either **MIT** or **GPL-2.0 WITH Linux-syscall-note**,
|
source tree and is licensed under either **MIT** or **GPL-2.0 WITH Linux-syscall-note**,
|
||||||
and thus is included in the systemd build under the MIT license.
|
and thus is included in the systemd build under the MIT license.
|
||||||
* the following sources are licensed under the **MIT** license (in case of our
|
* the following sources are licensed under the **MIT** license (in case of our
|
||||||
scripts, to facilitate copying and reuse of those helpers to other projects):
|
scripts, to facilitate copying and reuse of those helpers to other projects):
|
||||||
- hwdb.d/parse_hwdb.py
|
- hwdb.d/parse_hwdb.py
|
||||||
- src/basic/linux/batman_adv.h
|
- src/basic/linux/linux/batman_adv.h
|
||||||
- src/basic/sparse-endian.h
|
- src/basic/sparse-endian.h
|
||||||
- tools/catalog-report.py
|
- tools/catalog-report.py
|
||||||
* the following sources are licensed under the **CC0-1.0** license:
|
* the following sources are licensed under the **CC0-1.0** license:
|
||||||
|
|
11
meson.build
11
meson.build
|
@ -2048,11 +2048,18 @@ boot_stubs = []
|
||||||
|
|
||||||
build_dir_include = include_directories('.')
|
build_dir_include = include_directories('.')
|
||||||
|
|
||||||
basic_includes = include_directories(
|
basic_includes = [
|
||||||
|
include_directories(
|
||||||
'src/basic',
|
'src/basic',
|
||||||
'src/fundamental',
|
'src/fundamental',
|
||||||
'src/systemd',
|
'src/systemd',
|
||||||
'.')
|
'.',
|
||||||
|
),
|
||||||
|
include_directories(
|
||||||
|
'src/basic/linux',
|
||||||
|
is_system : true
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
||||||
libsystemd_includes = [basic_includes, include_directories(
|
libsystemd_includes = [basic_includes, include_directories(
|
||||||
'src/libsystemd/sd-bus',
|
'src/libsystemd/sd-bus',
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include "ansi-color.h"
|
#include "ansi-color.h"
|
||||||
#include "battery-util.h"
|
#include "battery-util.h"
|
||||||
#include "build.h"
|
#include "build.h"
|
||||||
|
#include "log.h"
|
||||||
#include "main-func.h"
|
#include "main-func.h"
|
||||||
#include "pretty-print.h"
|
#include "pretty-print.h"
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#include "analyze-compare-versions.h"
|
#include "analyze-compare-versions.h"
|
||||||
#include "compare-operator.h"
|
#include "compare-operator.h"
|
||||||
|
#include "log.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "string-util.h"
|
#include "string-util.h"
|
||||||
#include "strv.h"
|
#include "strv.h"
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
#include "alloc-util.h"
|
#include "alloc-util.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "memory-util.h"
|
|
||||||
|
|
||||||
void* memdup(const void *p, size_t l) {
|
void* memdup(const void *p, size_t l) {
|
||||||
void *ret;
|
void *ret;
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
|
#include "memory-util.h"
|
||||||
|
|
||||||
#if HAS_FEATURE_MEMORY_SANITIZER
|
#if HAS_FEATURE_MEMORY_SANITIZER
|
||||||
# include <sanitizer/msan_interface.h>
|
# include <sanitizer/msan_interface.h>
|
||||||
|
@ -266,5 +267,3 @@ _alloc_(2) static inline void *realloc0(void *p, size_t new_size) {
|
||||||
|
|
||||||
return q;
|
return q;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "memory-util.h"
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include "argv-util.h"
|
#include "argv-util.h"
|
||||||
#include "capability-util.h"
|
#include "capability-util.h"
|
||||||
#include "errno-util.h"
|
#include "errno-util.h"
|
||||||
|
#include "log.h"
|
||||||
#include "missing_sched.h"
|
#include "missing_sched.h"
|
||||||
#include "parse-util.h"
|
#include "parse-util.h"
|
||||||
#include "path-util.h"
|
#include "path-util.h"
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include "ansi-color.h"
|
#include "ansi-color.h"
|
||||||
#include "build.h"
|
#include "build.h"
|
||||||
#include "extract-word.h"
|
#include "extract-word.h"
|
||||||
|
#include "log.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "string-util.h"
|
#include "string-util.h"
|
||||||
#include "terminal-util.h"
|
#include "terminal-util.h"
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include "capability-util.h"
|
#include "capability-util.h"
|
||||||
#include "cap-list.h"
|
#include "cap-list.h"
|
||||||
#include "extract-word.h"
|
#include "extract-word.h"
|
||||||
|
#include "log.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "parse-util.h"
|
#include "parse-util.h"
|
||||||
#include "stdio-util.h"
|
#include "stdio-util.h"
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "parse-util.h"
|
#include "parse-util.h"
|
||||||
#include "pidref.h"
|
#include "pidref.h"
|
||||||
|
#include "process-util.h"
|
||||||
#include "stat-util.h"
|
#include "stat-util.h"
|
||||||
#include "user-util.h"
|
#include "user-util.h"
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "errno-util.h"
|
#include "errno-util.h"
|
||||||
#include "fd-util.h"
|
#include "fd-util.h"
|
||||||
#include "fs-util.h"
|
#include "fs-util.h"
|
||||||
|
#include "log.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "string-util.h"
|
#include "string-util.h"
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include "fd-util.h"
|
#include "fd-util.h"
|
||||||
#include "fileio.h"
|
#include "fileio.h"
|
||||||
#include "io-util.h"
|
#include "io-util.h"
|
||||||
|
#include "log.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "sparse-endian.h"
|
#include "sparse-endian.h"
|
||||||
#include "string-table.h"
|
#include "string-table.h"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
#include "errno-util.h"
|
#include "errno-util.h"
|
||||||
#include "fd-util.h"
|
#include "fd-util.h"
|
||||||
#include "fileio.h"
|
#include "fileio.h"
|
||||||
|
#include "log.h"
|
||||||
#include "string-table.h"
|
#include "string-table.h"
|
||||||
#include "utf8.h"
|
#include "utf8.h"
|
||||||
|
|
||||||
|
|
|
@ -87,3 +87,5 @@
|
||||||
|
|
||||||
/* Recommended baseline - see README for details */
|
/* Recommended baseline - see README for details */
|
||||||
#define KERNEL_BASELINE_VERSION "5.7"
|
#define KERNEL_BASELINE_VERSION "5.7"
|
||||||
|
|
||||||
|
#define PID_AUTOMATIC ((pid_t) INT_MIN) /* special value indicating "acquire pid from connection peer" */
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||||
|
|
||||||
#include "dlfcn-util.h"
|
#include "dlfcn-util.h"
|
||||||
|
#include "log.h"
|
||||||
|
|
||||||
static int dlsym_many_or_warnv(void *dl, int log_level, va_list ap) {
|
static int dlsym_many_or_warnv(void *dl, int log_level, va_list ap) {
|
||||||
void (**fn)(void);
|
void (**fn)(void);
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
#include "fd-util.h"
|
#include "fd-util.h"
|
||||||
#include "fileio.h"
|
#include "fileio.h"
|
||||||
#include "io-util.h"
|
#include "io-util.h"
|
||||||
|
#include "log.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "memory-util.h"
|
#include "memory-util.h"
|
||||||
#include "missing_fs.h"
|
#include "missing_fs.h"
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
#include "fd-util.h"
|
#include "fd-util.h"
|
||||||
#include "fileio.h"
|
#include "fileio.h"
|
||||||
#include "fs-util.h"
|
#include "fs-util.h"
|
||||||
|
#include "log.h"
|
||||||
#include "string-util.h"
|
#include "string-util.h"
|
||||||
#include "strv.h"
|
#include "strv.h"
|
||||||
#include "tmpfile-util.h"
|
#include "tmpfile-util.h"
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
#include "errno-util.h"
|
#include "errno-util.h"
|
||||||
#include "escape.h"
|
#include "escape.h"
|
||||||
#include "extract-word.h"
|
#include "extract-word.h"
|
||||||
|
#include "log.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "parse-util.h"
|
#include "parse-util.h"
|
||||||
#include "path-util.h"
|
#include "path-util.h"
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
#include "ether-addr-util.h"
|
#include "ether-addr-util.h"
|
||||||
#include "hexdecoct.h"
|
#include "hexdecoct.h"
|
||||||
|
#include "log.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "string-util.h"
|
#include "string-util.h"
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
#include "fileio.h"
|
#include "fileio.h"
|
||||||
#include "fs-util.h"
|
#include "fs-util.h"
|
||||||
#include "io-util.h"
|
#include "io-util.h"
|
||||||
|
#include "log.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "missing_fcntl.h"
|
#include "missing_fcntl.h"
|
||||||
#include "missing_fs.h"
|
#include "missing_fs.h"
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||||
|
|
||||||
#include "format-ifname.h"
|
#include "format-ifname.h"
|
||||||
|
#include "log.h"
|
||||||
|
#include "stdio-util.h"
|
||||||
#include "string-util.h"
|
#include "string-util.h"
|
||||||
|
|
||||||
assert_cc(STRLEN("%") + DECIMAL_STR_MAX(int) <= IF_NAMESIZE);
|
assert_cc(STRLEN("%") + DECIMAL_STR_MAX(int) <= IF_NAMESIZE);
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#include "gcrypt-util.h"
|
#include "gcrypt-util.h"
|
||||||
#include "hexdecoct.h"
|
#include "hexdecoct.h"
|
||||||
|
#include "log.h"
|
||||||
|
|
||||||
static void *gcrypt_dl = NULL;
|
static void *gcrypt_dl = NULL;
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include "dirent-util.h"
|
#include "dirent-util.h"
|
||||||
#include "errno-util.h"
|
#include "errno-util.h"
|
||||||
#include "glob-util.h"
|
#include "glob-util.h"
|
||||||
|
#include "log.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "path-util.h"
|
#include "path-util.h"
|
||||||
#include "strv.h"
|
#include "strv.h"
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
#include "alloc-util.h"
|
#include "alloc-util.h"
|
||||||
#include "fileio.h"
|
#include "fileio.h"
|
||||||
#include "hashmap.h"
|
#include "hashmap.h"
|
||||||
|
#include "log.h"
|
||||||
#include "logarithm.h"
|
#include "logarithm.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "memory-util.h"
|
#include "memory-util.h"
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "alloc-util.h"
|
#include "alloc-util.h"
|
||||||
#include "env-file.h"
|
#include "env-file.h"
|
||||||
#include "hostname-util.h"
|
#include "hostname-util.h"
|
||||||
|
#include "log.h"
|
||||||
#include "os-util.h"
|
#include "os-util.h"
|
||||||
#include "string-util.h"
|
#include "string-util.h"
|
||||||
#include "strv.h"
|
#include "strv.h"
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include "env-util.h"
|
#include "env-util.h"
|
||||||
#include "errno-util.h"
|
#include "errno-util.h"
|
||||||
#include "initrd-util.h"
|
#include "initrd-util.h"
|
||||||
|
#include "log.h"
|
||||||
#include "parse-util.h"
|
#include "parse-util.h"
|
||||||
#include "stat-util.h"
|
#include "stat-util.h"
|
||||||
#include "string-util.h"
|
#include "string-util.h"
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||||
|
|
||||||
#include "keyring-util.h"
|
#include "keyring-util.h"
|
||||||
|
#include "log.h"
|
||||||
|
#include "alloc-util.h"
|
||||||
#include "memory-util.h"
|
#include "memory-util.h"
|
||||||
#include "missing_syscall.h"
|
#include "missing_syscall.h"
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include "alloc-util.h"
|
#include "alloc-util.h"
|
||||||
#include "cgroup-util.h"
|
#include "cgroup-util.h"
|
||||||
#include "limits-util.h"
|
#include "limits-util.h"
|
||||||
|
#include "log.h"
|
||||||
#include "memory-util.h"
|
#include "memory-util.h"
|
||||||
#include "parse-util.h"
|
#include "parse-util.h"
|
||||||
#include "process-util.h"
|
#include "process-util.h"
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue