1
0
mirror of https://github.com/systemd/systemd synced 2025-10-07 12:44:45 +02:00

Compare commits

..

No commits in common. "6488fa5634d5ce9e97fd37af6071a5785a127499" and "391ad5d8aa533010bed02079c95eab34de0408c5" have entirely different histories.

60 changed files with 47 additions and 47 deletions

View File

@ -41,4 +41,4 @@ jobs:
- name: Repository checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Build check
run: .github/workflows/build-test.sh
run: .github/workflows/build_test.sh

View File

@ -50,7 +50,7 @@ jobs:
languages: ${{ matrix.language }}
config-file: ./.github/codeql-config.yml
- run: sudo -E .github/workflows/unit-tests.sh SETUP
- run: sudo -E .github/workflows/unit_tests.sh SETUP
- name: Autobuild
uses: github/codeql-action/autobuild@181d5eefc20863364f96762470ba6f862bdef56b

View File

@ -25,6 +25,6 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
# Reuse the setup phase of the unit test script to avoid code duplication
- name: Install build dependencies
run: sudo -E .github/workflows/unit-tests.sh SETUP
run: sudo -E .github/workflows/unit_tests.sh SETUP
- name: Build & upload the results
run: tools/coverity.sh

View File

@ -44,6 +44,6 @@ jobs:
sudo sed -i '/^XDG_/d' /etc/environment
# Pass only specific env variables through sudo, to avoid having
# the already existing XDG_* stuff on the "other side"
sudo --preserve-env=GITHUB_ACTIONS,CI .github/workflows/unit-tests.sh SETUP
sudo --preserve-env=GITHUB_ACTIONS,CI .github/workflows/unit_tests.sh SETUP
- name: Build & test
run: sudo --preserve-env=GITHUB_ACTIONS,CI .github/workflows/unit-tests.sh RUN_${{ matrix.run_phase }}
run: sudo --preserve-env=GITHUB_ACTIONS,CI .github/workflows/unit_tests.sh RUN_${{ matrix.run_phase }}

View File

@ -11,7 +11,7 @@
#include "extract-word.h"
#include "locale-util.h"
#include "log.h"
#include "missing-network.h"
#include "missing_network.h"
#include "parse-util.h"
#include "process-util.h"
#include "string-util.h"

View File

@ -12,7 +12,7 @@
#include "forward.h"
#include "memory-util.h"
#include "missing-network.h"
#include "missing_network.h"
union sockaddr_union {
/* The minimal, abstract version */

View File

@ -147,7 +147,7 @@ if efi_conf.get('SBAT_DISTRO', '') != ''
endif
configure_file(
output : 'efi-config.h',
output : 'efi_config.h',
configuration : efi_conf)
############################################################
@ -163,7 +163,7 @@ efi_c_args = [
'-ffreestanding',
'-fno-strict-aliasing',
'-fshort-wchar',
'-include', 'efi-config.h',
'-include', 'efi_config.h',
]
efi_c_args += cc.get_supported_arguments(

View File

@ -17,7 +17,7 @@
/* libbpf, clang and llc compile time dependencies are satisfied */
#include "bpf-dlopen.h"
#include "bpf-link.h"
#include "bpf/restrict-fs/restrict-fs-skel.h"
#include "bpf/restrict_fs/restrict-fs-skel.h"
#define CGROUP_HASH_SIZE_MAX 2048

View File

@ -16,7 +16,7 @@
#include "bpf-dlopen.h"
#include "bpf-link.h"
#include "bpf/restrict-ifaces/restrict-ifaces-skel.h"
#include "bpf/restrict_ifaces/restrict-ifaces-skel.h"
static struct restrict_ifaces_bpf *restrict_ifaces_bpf_free(struct restrict_ifaces_bpf *obj) {
restrict_ifaces_bpf__destroy(obj);

View File

@ -11,8 +11,8 @@
/* libbpf, clang, llvm and bpftool compile time dependencies are satisfied */
#include "bpf-dlopen.h"
#include "bpf-link.h"
#include "bpf/socket-bind/socket-bind-api.bpf.h"
#include "bpf/socket-bind/socket-bind-skel.h"
#include "bpf/socket_bind/socket-bind-api.bpf.h"
#include "bpf/socket_bind/socket-bind-skel.h"
static struct socket_bind_bpf *socket_bind_bpf_free(struct socket_bind_bpf *obj) {
/* socket_bind_bpf__destroy handles object == NULL case */

View File

@ -13,4 +13,4 @@
#define bpf_object__load_skeleton sym_bpf_object__load_skeleton
#define bpf_object__destroy_skeleton sym_bpf_object__destroy_skeleton
#include "bpf/restrict-fs/restrict-fs.skel.h"
#include "bpf/restrict_fs/restrict-fs.skel.h"

View File

@ -13,4 +13,4 @@
#define bpf_object__load_skeleton sym_bpf_object__load_skeleton
#define bpf_object__destroy_skeleton sym_bpf_object__destroy_skeleton
#include "bpf/restrict-ifaces/restrict-ifaces.skel.h"
#include "bpf/restrict_ifaces/restrict-ifaces.skel.h"

View File

@ -13,4 +13,4 @@
#define bpf_object__load_skeleton sym_bpf_object__load_skeleton
#define bpf_object__destroy_skeleton sym_bpf_object__destroy_skeleton
#include "bpf/socket-bind/socket-bind.skel.h"
#include "bpf/socket_bind/socket-bind.skel.h"

View File

@ -54,7 +54,7 @@
#include "bpf-dlopen.h"
#include "bpf-link.h"
#include "bpf-restrict-fs.h"
#include "bpf/restrict-fs/restrict-fs-skel.h"
#include "bpf/restrict_fs/restrict-fs-skel.h"
#endif
#define CGROUP_CPU_QUOTA_DEFAULT_PERIOD_USEC (100 * USEC_PER_MSEC)

View File

@ -70,9 +70,9 @@ libcore_sources = files(
'varlink-unit.c',
)
subdir('bpf/socket-bind')
subdir('bpf/restrict-fs')
subdir('bpf/restrict-ifaces')
subdir('bpf/socket_bind')
subdir('bpf/restrict_fs')
subdir('bpf/restrict_ifaces')
if conf.get('BPF_FRAMEWORK') == 1
libcore_sources += [

View File

@ -11,7 +11,7 @@
#include <linux/wireguard.h>
#include <netinet/in.h>
#include "missing-network.h"
#include "missing_network.h"
#include "netlink-genl.h"
#include "netlink-types-internal.h"

View File

@ -19,7 +19,7 @@
#include <netinet/in.h>
#include <sys/socket.h>
#include "missing-network.h"
#include "missing_network.h"
#include "netlink-types-internal.h"
enum {

View File

@ -17,7 +17,7 @@
#include "alloc-util.h"
#include "fd-util.h"
#include "missing-network.h"
#include "missing_network.h"
#include "netlink-genl.h"
#include "netlink-internal.h"
#include "netlink-sock-diag.h"

View File

@ -22,7 +22,7 @@
#include "logind-session.h"
#include "logind-session-dbus.h"
#include "logind-session-device.h"
#include "missing-drm.h"
#include "missing_drm.h"
#include "string-util.h"
enum SessionDeviceNotifications {

View File

@ -13,4 +13,4 @@
#define bpf_object__load_skeleton sym_bpf_object__load_skeleton
#define bpf_object__open_skeleton sym_bpf_object__open_skeleton
#include "bpf/sysctl-monitor/sysctl-monitor.skel.h"
#include "bpf/sysctl_monitor/sysctl-monitor.skel.h"

View File

@ -1,6 +1,6 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
subdir('bpf/sysctl-monitor')
subdir('bpf/sysctl_monitor')
systemd_networkd_sources = files(
'networkd.c'

View File

@ -10,7 +10,7 @@
#include "alloc-util.h"
#include "conf-parser.h"
#include "hexdecoct.h"
#include "missing-network.h"
#include "missing_network.h"
#include "netlink-util.h"
#include "networkd-manager.h"
#include "parse-util.h"

View File

@ -4,7 +4,7 @@
#include "sd-netlink.h"
#include "missing-network.h"
#include "missing_network.h"
#include "networkd-link.h"
#include "xfrm.h"

View File

@ -12,7 +12,7 @@
#include "conf-parser.h"
#include "errno-util.h"
#include "event-util.h"
#include "missing-network.h"
#include "missing_network.h"
#include "ndisc-router-internal.h"
#include "networkd-address.h"
#include "networkd-address-generation.h"

View File

@ -2,7 +2,7 @@
#include "sd-netlink.h"
#include "missing-network.h"
#include "missing_network.h"
#include "netlink-util.h"
#include "networkd-address.h"
#include "networkd-link.h"

View File

@ -7,7 +7,7 @@
#include "sd-netlink.h"
#include "device-private.h"
#include "missing-network.h"
#include "missing_network.h"
#include "netif-util.h"
#include "netlink-util.h"
#include "networkd-address.h"

View File

@ -29,8 +29,8 @@
#if HAVE_VMLINUX_H
#include "bpf-link.h"
#include "bpf/sysctl-monitor/sysctl-monitor-skel.h"
#include "bpf/sysctl-monitor/sysctl-write-event.h"
#include "bpf/sysctl_monitor/sysctl-monitor-skel.h"
#include "bpf/sysctl_monitor/sysctl-write-event.h"
static struct sysctl_monitor_bpf* sysctl_monitor_bpf_free(struct sysctl_monitor_bpf *obj) {
sysctl_monitor_bpf__destroy(obj);

View File

@ -14,4 +14,4 @@
#define bpf_object__load_skeleton sym_bpf_object__load_skeleton
#define bpf_object__open_skeleton sym_bpf_object__open_skeleton
#include "bpf/userns-restrict/userns-restrict.skel.h"
#include "bpf/userns_restrict/userns-restrict.skel.h"

View File

@ -4,7 +4,7 @@ if conf.get('ENABLE_NSRESOURCED') != 1
subdir_done()
endif
subdir('bpf/userns-restrict')
subdir('bpf/userns_restrict')
systemd_nsresourced_sources = files(
'nsresourced-manager.c',

View File

@ -4,7 +4,7 @@
#include "forward.h"
#if HAVE_VMLINUX_H
#include "bpf/userns-restrict/userns-restrict-skel.h"
#include "bpf/userns_restrict/userns-restrict-skel.h"
#else
struct userns_restrict_bpf;
#endif

View File

@ -30,7 +30,7 @@
#include "hostname-util.h"
#include "json-util.h"
#include "main-func.h"
#include "missing-network.h"
#include "missing_network.h"
#include "netlink-util.h"
#include "openssl-util.h"
#include "pager.h"

View File

@ -9,7 +9,7 @@
#include "fd-util.h"
#include "iovec-util.h"
#include "log.h"
#include "missing-network.h"
#include "missing_network.h"
#include "ordered-set.h"
#include "resolved-dns-packet.h"
#include "resolved-dns-server.h"

View File

@ -11,7 +11,7 @@
#include "errno-util.h"
#include "fd-util.h"
#include "log.h"
#include "missing-network.h"
#include "missing_network.h"
#include "resolve-util.h"
#include "resolved-dns-answer.h"
#include "resolved-dns-packet.h"

View File

@ -7,7 +7,7 @@
#include "hostname-util.h"
#include "local-addresses.h"
#include "log.h"
#include "missing-network.h"
#include "missing_network.h"
#include "resolved-def.h"
#include "resolved-dns-answer.h"
#include "resolved-dns-packet.h"

View File

@ -24,7 +24,7 @@
#include "iovec-util.h"
#include "json-util.h"
#include "memstream-util.h"
#include "missing-network.h"
#include "missing_network.h"
#include "ordered-set.h"
#include "parse-util.h"
#include "random-util.h"

View File

@ -26,7 +26,7 @@ extern DLSYM_PROTOTYPE(bpf_map_get_fd_by_id);
extern DLSYM_PROTOTYPE(bpf_map_lookup_elem);
extern DLSYM_PROTOTYPE(bpf_map_update_elem);
/* The *_skeleton APIs are autogenerated by bpftool, the targets can be found
* in ./build/src/core/bpf/socket-bind/socket-bind.skel.h */
* in ./build/src/core/bpf/socket_bind/socket-bind.skel.h */
extern DLSYM_PROTOTYPE(bpf_object__attach_skeleton);
extern DLSYM_PROTOTYPE(bpf_object__destroy_skeleton);
extern DLSYM_PROTOTYPE(bpf_object__detach_skeleton);

View File

@ -24,7 +24,7 @@
#include "in-addr-prefix-util.h"
#include "ip-protocol-list.h"
#include "log.h"
#include "missing-network.h"
#include "missing_network.h"
#include "nulstr-util.h"
#include "parse-helpers.h"
#include "parse-util.h"

View File

@ -7,7 +7,7 @@
#include "errno-util.h"
#include "log.h"
#include "loopback-setup.h"
#include "missing-network.h"
#include "missing_network.h"
#include "time-util.h"
#define LOOPBACK_SETUP_TIMEOUT_USEC (5 * USEC_PER_SEC)

View File

@ -1,8 +1,8 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/* We include efi-config.h after undefining PROJECT_VERSION which is also defined in config.h. */
/* We include efi_config.h after undefining PROJECT_VERSION which is also defined in config.h. */
#undef PROJECT_VERSION
#include "efi-config.h"
#include "efi_config.h"
#include "sbat.h"
#include "tests.h"

View File

@ -4,7 +4,7 @@
#include "alloc-util.h"
#include "fd-util.h"
#include "missing-network.h"
#include "missing_network.h"
#include "socket-netlink.h"
#include "socket-util.h"
#include "string-util.h"