1
0
mirror of https://github.com/systemd/systemd synced 2025-10-03 18:54:45 +02:00

Compare commits

..

No commits in common. "ca6c192f9cc12e03fdf2015143f2ea8881f2f46a" and "7b20a5cbf33f0ec29613e29c69803310e51a3212" have entirely different histories.

12 changed files with 18 additions and 43 deletions

View File

@ -68,7 +68,7 @@ jobs:
path: ./out/artifacts
- name: Upload Sarif
if: always() && steps.build.outcome == 'success'
uses: github/codeql-action/upload-sarif@51f77329afa6477de8c49fc9c7046c15b9a4e79d
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b
with:
# Path to SARIF file relative to the root of the repository
sarif_file: cifuzz-sarif/results.sarif

View File

@ -45,7 +45,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Initialize CodeQL
uses: github/codeql-action/init@51f77329afa6477de8c49fc9c7046c15b9a4e79d
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql-config.yml
@ -53,7 +53,7 @@ jobs:
- run: sudo -E .github/workflows/unit-tests.sh SETUP
- name: Autobuild
uses: github/codeql-action/autobuild@51f77329afa6477de8c49fc9c7046c15b9a4e79d
uses: github/codeql-action/autobuild@181d5eefc20863364f96762470ba6f862bdef56b
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@51f77329afa6477de8c49fc9c7046c15b9a4e79d
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b

View File

@ -25,7 +25,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: systemd/mkosi@655baf24474a6f0732ec1b82a71c2f6fe4eeeb49
- uses: systemd/mkosi@cb1a3c90490922441548d09b09c7b76426e4bc20
# Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
# immediately, we remove the files in the background. However, we first move them to a different location

View File

@ -38,7 +38,7 @@ jobs:
LINTER_RULES_PATH: .github/linters
GITHUB_ACTIONS_CONFIG_FILE: actionlint.yml
- uses: systemd/mkosi@655baf24474a6f0732ec1b82a71c2f6fe4eeeb49
- uses: systemd/mkosi@cb1a3c90490922441548d09b09c7b76426e4bc20
- name: Check that tabs are not used in Python code
run: sh -c '! git grep -P "\\t" -- src/core/generate-bpf-delegate-configs.py src/boot/generate-hwids-section.py src/ukify/ukify.py test/integration-tests/integration-test-wrapper.py'

View File

@ -156,7 +156,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: systemd/mkosi@655baf24474a6f0732ec1b82a71c2f6fe4eeeb49
- uses: systemd/mkosi@cb1a3c90490922441548d09b09c7b76426e4bc20
# Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
# immediately, we remove the files in the background. However, we first move them to a different location

View File

@ -1,6 +1,6 @@
meson==1.8.3 \
--hash=sha256:ef02b806ce0c5b6becd5bb5dc9fa67662320b29b337e7ace73e4354500590233 \
--hash=sha256:f118aa910fc0a137cc2dd0122232dbf82153d9a12fb5b0f5bb64896f6a157abf
meson==1.8.2 \
--hash=sha256:274b49dbe26e00c9a591442dd30f4ae9da8ce11ce53d0f4682cd10a45d50f6fd \
--hash=sha256:c105816d8158c76b72adcb9ff60297719096da7d07f6b1f000fd8c013cd387af
ninja==1.11.1.4 \
--hash=sha256:055f386fb550c2c9d6157e45e20a84d29c47968876b9c5794ae2aec46f952306 \
--hash=sha256:096487995473320de7f65d622c3f1d16c3ad174797602218ca8c967f51ec38a0 \

View File

@ -34,7 +34,7 @@ jobs:
persist-credentials: false
- name: Run analysis
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
with:
results_file: results.sarif
results_format: sarif

View File

@ -247,7 +247,7 @@ tomorrow Pacific/Auckland → Thu 2012-11-23 19:00:00
decimal places.</para>
<para>Either time or date specification may be omitted, in which
case 00:00:00 and *-*-* is implied, respectively. If the
case *-*-* and 00:00:00 is implied, respectively. If the
seconds component is not specified, <literal>:00</literal> is
assumed.</para>

View File

@ -1,7 +1,7 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Config]
MinimumVersion=commit:655baf24474a6f0732ec1b82a71c2f6fe4eeeb49
MinimumVersion=commit:cb1a3c90490922441548d09b09c7b76426e4bc20
Dependencies=
exitrd
initrd

View File

@ -254,7 +254,7 @@ static int detect_vm_smbios(void) {
#endif /* defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__aarch64__) || defined(__loongarch_lp64) */
static Virtualization detect_vm_dmi(void) {
#if defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__aarch64__) || defined(__loongarch_lp64) || defined(__riscv)
#if defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__aarch64__) || defined(__loongarch_lp64)
int r;
r = detect_vm_dmi_vendor();

View File

@ -3,7 +3,6 @@
#include "sd-bus.h"
#include "alloc-util.h"
#include "bus-error.h"
#include "bus-internal.h"
#include "bus-track.h"
#include "hashmap.h"
@ -14,7 +13,6 @@ typedef struct BusTrackItem {
unsigned n_ref;
char *name;
sd_bus_slot *slot;
sd_bus_track *track;
} BusTrackItem;
struct sd_bus_track {
@ -168,38 +166,17 @@ static sd_bus_track* track_free(sd_bus_track *track) {
DEFINE_PUBLIC_TRIVIAL_REF_UNREF_FUNC(sd_bus_track, sd_bus_track, track_free);
static int on_name_owner_changed(sd_bus_message *message, void *userdata, sd_bus_error *reterr_error) {
BusTrackItem *item = ASSERT_PTR(userdata);
sd_bus_track *track = ASSERT_PTR(userdata);
const char *name;
int r;
assert(message);
assert(item->track);
r = sd_bus_message_read(message, "sss", &name, NULL, NULL);
if (r < 0)
return 0;
bus_track_remove_name_fully(item->track, name);
return 0;
}
static int name_owner_changed_install_callback(sd_bus_message *message, void *userdata, sd_bus_error *reterr_error) {
BusTrackItem *item = ASSERT_PTR(userdata);
const sd_bus_error *e;
int r;
assert(message);
assert(item->track);
assert(item->name);
e = sd_bus_message_get_error(message);
if (!e)
return 0;
r = sd_bus_error_get_errno(e);
log_debug_errno(r, "Failed to install match for tracking name '%s': %s", item->name, bus_error_message(e, r));
bus_track_remove_name_fully(item->track, item->name);
bus_track_remove_name_fully(track, name);
return 0;
}
@ -241,7 +218,6 @@ _public_ int sd_bus_track_add_name(sd_bus_track *track, const char *name) {
*n = (BusTrackItem) {
.n_ref = 1,
.track = track,
};
n->name = strdup(name);
@ -253,7 +229,7 @@ _public_ int sd_bus_track_add_name(sd_bus_track *track, const char *name) {
bus_track_remove_from_queue(track); /* don't dispatch this while we work in it */
r = sd_bus_add_match_async(track->bus, &n->slot, match, on_name_owner_changed, name_owner_changed_install_callback, n);
r = sd_bus_add_match_async(track->bus, &n->slot, match, on_name_owner_changed, NULL, track);
if (r < 0) {
bus_track_add_to_queue(track);
return r;

View File

@ -2,7 +2,6 @@
#include "bpf-dlopen.h"
#include "dlfcn-util.h"
#include "initrd-util.h"
#include "log.h"
#if HAVE_LIBBPF
@ -93,7 +92,7 @@ int dlopen_bpf_full(int log_level) {
* list for both files, and when we assume 1.0+ is present we can remove this dlopen */
dl = dlopen("libbpf.so.0", RTLD_NOW|RTLD_NODELETE);
if (!dl)
return cached = log_full_errno(in_initrd() ? LOG_DEBUG : log_level, SYNTHETIC_ERRNO(EOPNOTSUPP),
return cached = log_full_errno(log_level, SYNTHETIC_ERRNO(EOPNOTSUPP),
"Neither libbpf.so.1 nor libbpf.so.0 are installed, cgroup BPF features disabled: %s",
dlerror());