systemd-252-2

Resolves: #2137584,#2138081,#2141979
This commit is contained in:
Jan Macku 2022-12-09 09:36:14 +01:00
parent d3400e6e35
commit 79350f79d8
157 changed files with 3368 additions and 497 deletions

View File

@ -0,0 +1,78 @@
From 87bf366c97be1c811c4bfdf80b48d6c3e35da76a Mon Sep 17 00:00:00 2001
From: Jan Janssen <medhefgo@web.de>
Date: Tue, 25 Oct 2022 19:55:08 +0200
Subject: [PATCH] macro: Simply case macros for IN_SET
The CASE param would normally provide the operation for the compiler to
do in this macro magic. But in this case CASE_F_1 was hardcoding the
operation, making the parameter moot.
This just removes the somewhat pointless parameter instead of fixing
the one case. These macros are used for IN_SET case labels only and
not named generically anyways.
(cherry picked from commit 790f4dda74d7ecdb4e57101a37cc9f2f9236bef6)
Related #2138081
---
src/fundamental/macro-fundamental.h | 43 ++++++++++++++---------------
1 file changed, 21 insertions(+), 22 deletions(-)
diff --git a/src/fundamental/macro-fundamental.h b/src/fundamental/macro-fundamental.h
index 2536c741c6..63f4c49e78 100644
--- a/src/fundamental/macro-fundamental.h
+++ b/src/fundamental/macro-fundamental.h
@@ -251,33 +251,32 @@
(UNIQ_T(X, xq) / UNIQ_T(Y, yq) + !!(UNIQ_T(X, xq) % UNIQ_T(Y, yq))); \
})
-#define CASE_F(X) case X:
-#define CASE_F_1(CASE, X) CASE_F(X)
-#define CASE_F_2(CASE, X, ...) CASE(X) CASE_F_1(CASE, __VA_ARGS__)
-#define CASE_F_3(CASE, X, ...) CASE(X) CASE_F_2(CASE, __VA_ARGS__)
-#define CASE_F_4(CASE, X, ...) CASE(X) CASE_F_3(CASE, __VA_ARGS__)
-#define CASE_F_5(CASE, X, ...) CASE(X) CASE_F_4(CASE, __VA_ARGS__)
-#define CASE_F_6(CASE, X, ...) CASE(X) CASE_F_5(CASE, __VA_ARGS__)
-#define CASE_F_7(CASE, X, ...) CASE(X) CASE_F_6(CASE, __VA_ARGS__)
-#define CASE_F_8(CASE, X, ...) CASE(X) CASE_F_7(CASE, __VA_ARGS__)
-#define CASE_F_9(CASE, X, ...) CASE(X) CASE_F_8(CASE, __VA_ARGS__)
-#define CASE_F_10(CASE, X, ...) CASE(X) CASE_F_9(CASE, __VA_ARGS__)
-#define CASE_F_11(CASE, X, ...) CASE(X) CASE_F_10(CASE, __VA_ARGS__)
-#define CASE_F_12(CASE, X, ...) CASE(X) CASE_F_11(CASE, __VA_ARGS__)
-#define CASE_F_13(CASE, X, ...) CASE(X) CASE_F_12(CASE, __VA_ARGS__)
-#define CASE_F_14(CASE, X, ...) CASE(X) CASE_F_13(CASE, __VA_ARGS__)
-#define CASE_F_15(CASE, X, ...) CASE(X) CASE_F_14(CASE, __VA_ARGS__)
-#define CASE_F_16(CASE, X, ...) CASE(X) CASE_F_15(CASE, __VA_ARGS__)
-#define CASE_F_17(CASE, X, ...) CASE(X) CASE_F_16(CASE, __VA_ARGS__)
-#define CASE_F_18(CASE, X, ...) CASE(X) CASE_F_17(CASE, __VA_ARGS__)
-#define CASE_F_19(CASE, X, ...) CASE(X) CASE_F_18(CASE, __VA_ARGS__)
-#define CASE_F_20(CASE, X, ...) CASE(X) CASE_F_19(CASE, __VA_ARGS__)
+#define CASE_F_1(X) case X:
+#define CASE_F_2(X, ...) case X: CASE_F_1( __VA_ARGS__)
+#define CASE_F_3(X, ...) case X: CASE_F_2( __VA_ARGS__)
+#define CASE_F_4(X, ...) case X: CASE_F_3( __VA_ARGS__)
+#define CASE_F_5(X, ...) case X: CASE_F_4( __VA_ARGS__)
+#define CASE_F_6(X, ...) case X: CASE_F_5( __VA_ARGS__)
+#define CASE_F_7(X, ...) case X: CASE_F_6( __VA_ARGS__)
+#define CASE_F_8(X, ...) case X: CASE_F_7( __VA_ARGS__)
+#define CASE_F_9(X, ...) case X: CASE_F_8( __VA_ARGS__)
+#define CASE_F_10(X, ...) case X: CASE_F_9( __VA_ARGS__)
+#define CASE_F_11(X, ...) case X: CASE_F_10( __VA_ARGS__)
+#define CASE_F_12(X, ...) case X: CASE_F_11( __VA_ARGS__)
+#define CASE_F_13(X, ...) case X: CASE_F_12( __VA_ARGS__)
+#define CASE_F_14(X, ...) case X: CASE_F_13( __VA_ARGS__)
+#define CASE_F_15(X, ...) case X: CASE_F_14( __VA_ARGS__)
+#define CASE_F_16(X, ...) case X: CASE_F_15( __VA_ARGS__)
+#define CASE_F_17(X, ...) case X: CASE_F_16( __VA_ARGS__)
+#define CASE_F_18(X, ...) case X: CASE_F_17( __VA_ARGS__)
+#define CASE_F_19(X, ...) case X: CASE_F_18( __VA_ARGS__)
+#define CASE_F_20(X, ...) case X: CASE_F_19( __VA_ARGS__)
#define GET_CASE_F(_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,_16,_17,_18,_19,_20,NAME,...) NAME
#define FOR_EACH_MAKE_CASE(...) \
GET_CASE_F(__VA_ARGS__,CASE_F_20,CASE_F_19,CASE_F_18,CASE_F_17,CASE_F_16,CASE_F_15,CASE_F_14,CASE_F_13,CASE_F_12,CASE_F_11, \
CASE_F_10,CASE_F_9,CASE_F_8,CASE_F_7,CASE_F_6,CASE_F_5,CASE_F_4,CASE_F_3,CASE_F_2,CASE_F_1) \
- (CASE_F,__VA_ARGS__)
+ (__VA_ARGS__)
#define IN_SET(x, ...) \
({ \

View File

@ -23,6 +23,3 @@ index 63f4c49e78..faab16ab31 100644
default: \ default: \
break; \ break; \
} \ } \
--
2.38.1

View File

@ -59,6 +59,3 @@ index b5468cbea4..fdc3273fea 100755
# Add new tests before here, the journald restarts below # Add new tests before here, the journald restarts below
# may make tests flappy. # may make tests flappy.
--
2.38.1

View File

@ -23,6 +23,3 @@ index 3ee42cdb73..7f173aec61 100644
<para>Supported secure boot variables are one database for authorized images, one key exchange key (KEK) <para>Supported secure boot variables are one database for authorized images, one key exchange key (KEK)
and one platform key (PK). For more information, refer to the <ulink url="https://uefi.org/specifications">UEFI specification</ulink>, and one platform key (PK). For more information, refer to the <ulink url="https://uefi.org/specifications">UEFI specification</ulink>,
--
2.38.1

View File

@ -17,6 +17,3 @@ Related #2138081
diff --git a/test/units/assert.sh b/test/units/assert.sh diff --git a/test/units/assert.sh b/test/units/assert.sh
old mode 100644 old mode 100644
new mode 100755 new mode 100755
--
2.38.1

View File

@ -23,6 +23,3 @@ index c0dde75650..5a1ae5a6a0 100755
] ]
grammar = Or(fixed_props + kbd_props + abs_props) + EOL grammar = Or(fixed_props + kbd_props + abs_props) + EOL
--
2.38.1

View File

@ -22,6 +22,3 @@ index 9b74a8d6d8..04a4f53ed0 100644
+ [DNS_SERVER_FEATURE_LEVEL_TLS_DO] = "TLS+EDNS0+DO", + [DNS_SERVER_FEATURE_LEVEL_TLS_DO] = "TLS+EDNS0+DO",
}; };
DEFINE_STRING_TABLE_LOOKUP(dns_server_feature_level, DnsServerFeatureLevel); DEFINE_STRING_TABLE_LOOKUP(dns_server_feature_level, DnsServerFeatureLevel);
--
2.38.1

View File

@ -26,6 +26,3 @@ index 3ef02cf70e..640bddc485 100644
__gcov_dump(); __gcov_dump();
_exit(status); _exit(status);
} }
--
2.38.1

View File

@ -152,6 +152,3 @@ index c3cced7410..852be3bdde 100644
} }
entry_path = mount_entry_path(m); entry_path = mount_entry_path(m);
--
2.38.1

View File

@ -73,6 +73,3 @@ index 4ef0f0c11c..85925f2471 100755
test_session test_session
test_lock_idle_action test_lock_idle_action
test_session_properties test_session_properties
--
2.38.1

View File

@ -46,6 +46,3 @@ index aa553b61a6..d8fdaffb06 100644
[Service] [Service]
ExecStartPre=rm -f /failed /testok ExecStartPre=rm -f /failed /testok
--
2.38.1

View File

@ -249,6 +249,3 @@ index ad08415317..b83f85917b 100755
echo OK >/testok echo OK >/testok
--
2.38.1

View File

@ -1190,6 +1190,3 @@ index efd20533a5..bc05b6cc5a 100644
-[`bootctl(1)`](https://www.freedesktop.org/software/systemd/man/bootctl.html)<br> -[`bootctl(1)`](https://www.freedesktop.org/software/systemd/man/bootctl.html)<br>
-[`systemd-gpt-auto-generator(8)`](https://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html) -[`systemd-gpt-auto-generator(8)`](https://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html)
+[This content has moved to the UAPI group website](https://uapi-group.org/specifications/specs/discoverable_partitions_specification/) +[This content has moved to the UAPI group website](https://uapi-group.org/specifications/specs/discoverable_partitions_specification/)
--
2.38.1

View File

@ -47,6 +47,3 @@ index 919aa58cde..88f098ec86 100644
} }
static int method_get_job_waiting(sd_bus_message *message, void *userdata, sd_bus_error *error) { static int method_get_job_waiting(sd_bus_message *message, void *userdata, sd_bus_error *error) {
--
2.38.1

View File

@ -40,6 +40,3 @@ index 4d4f6c3992..997925892d 100644
<para>Unless <option>--no-block</option> is used, <command>systemctl</command> will wait for the <para>Unless <option>--no-block</option> is used, <command>systemctl</command> will wait for the
queued jobs to finish.</para></listitem> queued jobs to finish.</para></listitem>
--
2.38.1

View File

@ -113,6 +113,3 @@ index b83f85917b..7c7a12b1ae 100755
# show/set-environment # show/set-environment
# Make sure PATH is set # Make sure PATH is set
--
2.38.1

View File

@ -129,6 +129,3 @@ index 64ce629f3b..ece6b8734e 100755
mkdir -p /tmp/img/usr/lib/systemd/system/ mkdir -p /tmp/img/usr/lib/systemd/system/
mkdir -p /tmp/img/opt/ mkdir -p /tmp/img/opt/
--
2.38.1

View File

@ -35,6 +35,3 @@ index f303e27fd5..c133f26109 100644
# /dev/serial/by-path/, /dev/serial/by-id/ for USB devices # /dev/serial/by-path/, /dev/serial/by-id/ for USB devices
KERNEL!="ttyUSB[0-9]*|ttyACM[0-9]*", GOTO="serial_end" KERNEL!="ttyUSB[0-9]*|ttyACM[0-9]*", GOTO="serial_end"
--
2.38.1

View File

@ -28,6 +28,3 @@ index c133f26109..2c1488e930 100644
ENV{ID_USB_INTERFACE_NUM}=="", GOTO="serial_end" ENV{ID_USB_INTERFACE_NUM}=="", GOTO="serial_end"
ENV{.ID_PORT}=="", SYMLINK+="serial/by-id/$env{ID_BUS}-$env{ID_SERIAL}-if$env{ID_USB_INTERFACE_NUM}" ENV{.ID_PORT}=="", SYMLINK+="serial/by-id/$env{ID_BUS}-$env{ID_SERIAL}-if$env{ID_USB_INTERFACE_NUM}"
ENV{.ID_PORT}=="?*", SYMLINK+="serial/by-id/$env{ID_BUS}-$env{ID_SERIAL}-if$env{ID_USB_INTERFACE_NUM}-port$env{.ID_PORT}" ENV{.ID_PORT}=="?*", SYMLINK+="serial/by-id/$env{ID_BUS}-$env{ID_SERIAL}-if$env{ID_USB_INTERFACE_NUM}-port$env{.ID_PORT}"
--
2.38.1

View File

@ -24,6 +24,3 @@ index 2c1488e930..a0e66323a9 100644
ENV{ID_SERIAL}=="", GOTO="serial_end" ENV{ID_SERIAL}=="", GOTO="serial_end"
ENV{ID_USB_INTERFACE_NUM}=="", GOTO="serial_end" ENV{ID_USB_INTERFACE_NUM}=="", GOTO="serial_end"
ENV{.ID_PORT}=="", SYMLINK+="serial/by-id/$env{ID_BUS}-$env{ID_SERIAL}-if$env{ID_USB_INTERFACE_NUM}" ENV{.ID_PORT}=="", SYMLINK+="serial/by-id/$env{ID_BUS}-$env{ID_SERIAL}-if$env{ID_USB_INTERFACE_NUM}"
--
2.38.1

View File

@ -43,6 +43,3 @@ index ece6b8734e..89406a108e 100755
# dot # dot
systemd-analyze dot >/dev/null systemd-analyze dot >/dev/null
systemd-analyze dot systemd-journald.service >/dev/null systemd-analyze dot systemd-journald.service >/dev/null
--
2.38.1

View File

@ -54,6 +54,3 @@ index 89406a108e..1f34308b44 100755
(! systemd-analyze timespan "") (! systemd-analyze timespan "")
# cat-config # cat-config
systemd-analyze cat-config systemd/system.conf >/dev/null systemd-analyze cat-config systemd/system.conf >/dev/null
--
2.38.1

View File

@ -369,6 +369,3 @@ index 0000000000..13c767e490
+ +
+touch /testok +touch /testok
+rm /failed +rm /failed
--
2.38.1

View File

@ -54,6 +54,3 @@ index 065ee896cd..63db78b52d 100644
locales[i++] = strjoina("LC_MESSAGES=", arg_locale_messages); locales[i++] = strjoina("LC_MESSAGES=", arg_locale_messages);
if (i == 0) if (i == 0)
--
2.38.1

View File

@ -74,6 +74,3 @@ index f35ff84765..3efbbfb0f9 100644
User=1 User=1
-SupplementaryGroups=1 2 3 -SupplementaryGroups=1 2 3
+SupplementaryGroups=1 2 +SupplementaryGroups=1 2
--
2.38.1

View File

@ -148,6 +148,3 @@ index 75601eab57..03406c3ee8 100644
+ExecStart=/bin/sh -x -c 'for g in $$(id -G); do test "$$g" = "1" && exit 0; done; exit 1' +ExecStart=/bin/sh -x -c 'for g in $$(id -G); do test "$$g" = "1" && exit 0; done; exit 1'
Type=oneshot Type=oneshot
SupplementaryGroups=1 SupplementaryGroups=1
--
2.38.1

View File

@ -27,6 +27,3 @@ index 3c56f42d58..093104aaaf 100644
+d- /root :0700 root :root - +d- /root :0700 root :root -
+d- /root/.ssh :0700 root :root - +d- /root/.ssh :0700 root :root -
f^ /root/.ssh/authorized_keys :0600 root :root - ssh.authorized_keys.root f^ /root/.ssh/authorized_keys :0600 root :root - ssh.authorized_keys.root
--
2.38.1

View File

@ -29,6 +29,3 @@ index 743af33aa9..ea75e1b0d8 100755
BOOT_OPTIONS="$BOOT_OPTIONS systemd.machine_id=$MACHINE_ID" BOOT_OPTIONS="$BOOT_OPTIONS systemd.machine_id=$MACHINE_ID"
fi fi
--
2.38.1

View File

@ -118,6 +118,3 @@ index 048c28d6ca..c240335ae6 100644
} Tpm2Support; } Tpm2Support;
Tpm2Support tpm2_support(void); Tpm2Support tpm2_support(void);
--
2.38.1

View File

@ -50,6 +50,3 @@ index 98fd7b4411..b0d32bd136 100755
# enable backports for latest LXC # enable backports for latest LXC
echo "deb http://archive.ubuntu.com/ubuntu $UBUNTU_RELEASE-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/backports.list echo "deb http://archive.ubuntu.com/ubuntu $UBUNTU_RELEASE-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/backports.list
--
2.38.1

View File

@ -27,6 +27,3 @@ index ea75e1b0d8..41a05534b9 100755
BOOT_OPTIONS="$BOOT_OPTIONS systemd.machine_id=$MACHINE_ID" BOOT_OPTIONS="$BOOT_OPTIONS systemd.machine_id=$MACHINE_ID"
fi fi
--
2.38.1

View File

@ -26,6 +26,3 @@ index d4b991cfd6..43bd87c7ed 100755
[ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && echo "+depmod -a $KERNEL_VERSION" [ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && echo "+depmod -a $KERNEL_VERSION"
exec depmod -a "$KERNEL_VERSION" exec depmod -a "$KERNEL_VERSION"
;; ;;
--
2.38.1

View File

@ -36,6 +36,3 @@ index 6b7e2564d4..2ddeadfc54 100644
<variablelist class='kernel-commandline-options'> <variablelist class='kernel-commandline-options'>
<varlistentry> <varlistentry>
--
2.38.1

View File

@ -62,6 +62,3 @@ index 0c977645e3..7c060dfac7 100755
for f in "$src"/test-*.input; do for f in "$src"/test-*.input; do
echo "*** Running $f" echo "*** Running $f"
--
2.38.1

View File

@ -28,6 +28,3 @@ index 731ce29112..fb7e80b1b5 100644
if (lock_fd < 0) if (lock_fd < 0)
return lock_fd; return lock_fd;
--
2.38.1

View File

@ -28,6 +28,3 @@ index 16d9da637b..80ce383e64 100644
while read -r item; do while read -r item; do
if [[ -d "$item" ]]; then if [[ -d "$item" ]]; then
inst_dir "$item" inst_dir "$item"
--
2.38.1

View File

@ -44,6 +44,3 @@ index 80ce383e64..45ca472916 100644
} }
# shellcheck disable=SC2120 # shellcheck disable=SC2120
--
2.38.1

View File

@ -69,6 +69,3 @@ index 45ca472916..194cd682bb 100644
[[ -f "$i" ]] || continue [[ -f "$i" ]] || continue
inst "$i" inst "$i"
done done
--
2.38.1

View File

@ -41,6 +41,3 @@ index 86fc1d4fc0..2a4dfe26db 100644
[files('test-udev.c'), [files('test-udev.c'),
[libudevd_core, [libudevd_core,
--
2.38.1

View File

@ -17,6 +17,3 @@ index 0000000000..cdcf4d9a52
@@ -0,0 +1 @@ @@ -0,0 +1 @@
+systemd.io +systemd.io
\ No newline at end of file \ No newline at end of file
--
2.38.1

View File

@ -44,6 +44,3 @@ index 65e8d48347..9d73316146 100644
if (device) { if (device) {
const char *param, *driver, *fn; const char *param, *driver, *fn;
--
2.38.1

View File

@ -50,6 +50,3 @@ index 9d73316146..4d0df944a9 100644
dl = dlopen(fn, RTLD_NOW); dl = dlopen(fn, RTLD_NOW);
if (!dl) if (!dl)
return log_error_errno(SYNTHETIC_ERRNO(ENOTRECOVERABLE), "Failed to load %s: %s", fn, dlerror()); return log_error_errno(SYNTHETIC_ERRNO(ENOTRECOVERABLE), "Failed to load %s: %s", fn, dlerror());
--
2.38.1

View File

@ -23,6 +23,3 @@ index 4150b16ecf..84f4cc11a3 100644
export_variables(loaded_image, loaded_image_path, init_usec); export_variables(loaded_image, loaded_image_path, init_usec);
--
2.38.1

View File

@ -23,6 +23,3 @@ index 84f4cc11a3..17d4ec2d09 100644
EFI_STATUS err; EFI_STATUS err;
uint64_t init_usec; uint64_t init_usec;
bool menu = false; bool menu = false;
--
2.38.1

View File

@ -86,6 +86,3 @@ index 17d4ec2d09..b490a1d972 100644
export_variables(loaded_image, loaded_image_path, init_usec); export_variables(loaded_image, loaded_image_path, init_usec);
--
2.38.1

View File

@ -73,6 +73,3 @@ index 5547d288de..57436dbf0c 100644
return EFI_SUCCESS; return EFI_SUCCESS;
} }
--
2.38.1

View File

@ -431,6 +431,3 @@ index 3ae058cb84..ac224336bc 100644
return ret; return ret;
} }
--
2.38.1

View File

@ -183,6 +183,3 @@ index 0e615c55e0..65457bf423 100644
+ if (security_override.original_hook2) + if (security_override.original_hook2)
+ security_override.security2->FileAuthentication = security_override.original_hook2; + security_override.security2->FileAuthentication = security_override.original_hook2;
} }
--
2.38.1

View File

@ -29,6 +29,3 @@ index 4127657ebd..877dee00ec 100644
#include "sd-dhcp-client.h" #include "sd-dhcp-client.h"
#include "sd-ipv4acd.h" #include "sd-ipv4acd.h"
--
2.38.1

View File

@ -109,6 +109,3 @@ index d7ef382737..981f917fab 100644
return saved_in_initrd; return saved_in_initrd;
} }
--
2.38.1

View File

@ -122,6 +122,3 @@ index 1a444841fa..4cad3551a6 100644
} }
return 0; return 0;
--
2.38.1

View File

@ -104,6 +104,3 @@ index aac02cd61b..7d95353452 100644
return true; return true;
} }
} }
--
2.38.1

View File

@ -32,6 +32,3 @@ index 8d3db98c0a..24c7d564b8 100644
if (r < 0) if (r < 0)
return r; return r;
--
2.38.1

View File

@ -44,6 +44,3 @@ index 22eb4d2be1..bba22f8a20 100755
read -r MACHINE_ID </etc/machine-id read -r MACHINE_ID </etc/machine-id
[ -n "$MACHINE_ID" ] && \ [ -n "$MACHINE_ID" ] && \
log_verbose "machine-id $MACHINE_ID acquired from /etc/machine-id" log_verbose "machine-id $MACHINE_ID acquired from /etc/machine-id"
--
2.38.1

View File

@ -81,6 +81,3 @@ index 53c0b2a01e..1e4d128f05 100644
if (j->current_location.seqnum_set && sd_id128_equal(j->current_location.seqnum_id, f->header->seqnum_id)) if (j->current_location.seqnum_set && sd_id128_equal(j->current_location.seqnum_id, f->header->seqnum_id))
return journal_file_move_to_entry_by_seqnum(f, j->current_location.seqnum, direction, ret, offset); return journal_file_move_to_entry_by_seqnum(f, j->current_location.seqnum, direction, ret, offset);
if (j->current_location.monotonic_set) { if (j->current_location.monotonic_set) {
--
2.38.1

View File

@ -27,6 +27,3 @@ index 6a34b10c04..d3cfb41a12 100644
for (size_t i = 0; i < config->n_entries; i++) for (size_t i = 0; i < config->n_entries; i++)
if (fnmatch(id, config->entries[i].id, FNM_CASEFOLD) == 0) if (fnmatch(id, config->entries[i].id, FNM_CASEFOLD) == 0)
return i; return i;
--
2.38.1

View File

@ -80,6 +80,3 @@ index 4d0df944a9..8171b3e9e9 100644
&pubkey_handle); &pubkey_handle);
if (rc != TSS2_RC_SUCCESS) { if (rc != TSS2_RC_SUCCESS) {
r = log_error_errno(SYNTHETIC_ERRNO(ENOTRECOVERABLE), r = log_error_errno(SYNTHETIC_ERRNO(ENOTRECOVERABLE),
--
2.38.1

View File

@ -29,6 +29,3 @@ index bba22f8a20..fa2c0d5276 100755
[ -n "$MACHINE_ID" ] && \ [ -n "$MACHINE_ID" ] && \
log_verbose "machine-id $MACHINE_ID acquired from /etc/machine-id" log_verbose "machine-id $MACHINE_ID acquired from /etc/machine-id"
fi fi
--
2.38.1

View File

@ -24,6 +24,3 @@ index 712ab3ffa9..10956cc548 100644
log_oom(); log_oom();
return 0; return 0;
} }
--
2.38.1

View File

@ -23,6 +23,3 @@ index 4f16acedf0..0bbd386449 100644
r = log_oom(); r = log_oom();
goto finish; goto finish;
} }
--
2.38.1

View File

@ -55,6 +55,3 @@ index 77f4c2ac88..27044fadd2 100644
{ 0, "sched_yield" }, { 0, "sched_yield" },
{ 0, "seccomp" }, { 0, "seccomp" },
{ 0, "sendfile" }, { 0, "sendfile" },
--
2.38.1

View File

@ -24,6 +24,3 @@ index 852829569d..4f744499aa 100644
r = socket_set_unicast_if(fd, sa.sa.sa_family, ifindex); r = socket_set_unicast_if(fd, sa.sa.sa_family, ifindex);
if (r < 0) if (r < 0)
return r; return r;
--
2.38.1

View File

@ -32,6 +32,3 @@ index 04a4f53ed0..8ff513fa33 100644
/* The link ifindex always takes precedence */ /* The link ifindex always takes precedence */
if (s->link) if (s->link)
return s->link->ifindex; return s->link->ifindex;
--
2.38.1

View File

@ -48,6 +48,3 @@ index 8bd430b931..b6810c8599 100644
if (r < 0) if (r < 0)
return r; return r;
--
2.38.1

View File

@ -28,6 +28,3 @@ index d6f5ac6ba5..6c9fa47943 100644
int strv_extend_front(char ***l, const char *value); int strv_extend_front(char ***l, const char *value);
int strv_push_with_size(char ***l, size_t *n, char *value); int strv_push_with_size(char ***l, size_t *n, char *value);
--
2.38.1

View File

@ -137,6 +137,3 @@ index 4d3a88c8da..4a0132ad3d 100644
stream->dnstls_events = 0; stream->dnstls_events = 0;
ss = -EPIPE; ss = -EPIPE;
} }
--
2.38.1

View File

@ -68,6 +68,3 @@ index 4bf798a9eb..62cbca0cf9 100644
break; break;
} }
case NL80211_CMD_DISCONNECT: case NL80211_CMD_DISCONNECT:
--
2.38.1

View File

@ -36,6 +36,3 @@ index 1fc81d1843..70a1dc941e 100644
/* Ignore most errors when reading the xattr since it is usually unset and cgroup xattrs are only used /* Ignore most errors when reading the xattr since it is usually unset and cgroup xattrs are only used
* as an optional feature of systemd-oomd (and the system might not even support them). */ * as an optional feature of systemd-oomd (and the system might not even support them). */
r = cg_get_xattr_bool(SYSTEMD_CGROUP_CONTROLLER, ctx->path, "user.oomd_avoid"); r = cg_get_xattr_bool(SYSTEMD_CGROUP_CONTROLLER, ctx->path, "user.oomd_avoid");
--
2.38.1

View File

@ -34,6 +34,3 @@ index 176e3a8d69..faa75c5578 100644
assert_se(oomd_cgroup_context_acquire(cgroup, &ctx) == 0); assert_se(oomd_cgroup_context_acquire(cgroup, &ctx) == 0);
assert_se(oomd_fetch_cgroup_oom_preference(ctx, NULL) == 0); assert_se(oomd_fetch_cgroup_oom_preference(ctx, NULL) == 0);
--
2.38.1

View File

@ -46,6 +46,3 @@ index be906f786c..fbc4497014 100644
} }
/* We don't care too much for the image symlink, it's just a convenience thing, it's not necessary for proper /* We don't care too much for the image symlink, it's just a convenience thing, it's not necessary for proper
--
2.38.1

View File

@ -41,6 +41,3 @@ index 8e3cfece89..c4ca9840c8 100644
} }
r = fdisk_get_partitions(context->fdisk_context, &original_table); r = fdisk_get_partitions(context->fdisk_context, &original_table);
--
2.38.1

View File

@ -90,6 +90,3 @@ index 92ea43eef0..9f5646ffdd 100644
udev_builtin_add_property(dev, test, "ID_PART_GPT_AUTO_ROOT_UUID", root_id); udev_builtin_add_property(dev, test, "ID_PART_GPT_AUTO_ROOT_UUID", root_id);
#endif #endif
--
2.38.1

View File

@ -30,6 +30,3 @@ index 015849af49..35704947e3 100644
test('test-kernel-install', test('test-kernel-install',
test_kernel_install_sh, test_kernel_install_sh,
args : [exe.full_path(), loaderentry_install]) args : [exe.full_path(), loaderentry_install])
--
2.38.1

View File

@ -53,6 +53,3 @@ index 39b65e74a6..7f2057f5a1 100644
} }
EFI_STATUS load_drivers( EFI_STATUS load_drivers(
--
2.38.1

View File

@ -122,6 +122,3 @@ index 8007b544e7..f2278c4dfa 100644
typedef enum PartitionDesignator { typedef enum PartitionDesignator {
PARTITION_ROOT, PARTITION_ROOT,
--
2.38.1

View File

@ -31,6 +31,3 @@ index b53df11764..64a4b74715 100644
return 0; return 0;
} }
--
2.38.1

View File

@ -26,6 +26,3 @@ index 64a4b74715..a5811adf20 100644
/* print only configured entries with partition information */ /* print only configured entries with partition information */
if (!path || sd_id128_is_null(partition)) { if (!path || sd_id128_is_null(partition)) {
--
2.38.1

View File

@ -35,6 +35,3 @@ index a5811adf20..7da48b4ca4 100644
/* print only configured entries with partition information */ /* print only configured entries with partition information */
if (!path || sd_id128_is_null(partition)) { if (!path || sd_id128_is_null(partition)) {
--
2.38.1

View File

@ -42,6 +42,3 @@ index eea34ca68d..24fc56a1a5 100644
return 0; return 0;
} }
--
2.38.1

View File

@ -26,6 +26,3 @@ index 3803a2c4c4..bc716afabf 100644
/* Make the slot of the match call floating now. We need the reference, but we don't /* Make the slot of the match call floating now. We need the reference, but we don't
* want that this match pins the bus object, hence we first create it non-floating, but * want that this match pins the bus object, hence we first create it non-floating, but
--
2.38.1

View File

@ -54,6 +54,3 @@ index dfe0574aba..aa0b02cc2f 100644
if (streq(type, "gpt")) { if (streq(type, "gpt")) {
--
2.38.1

View File

@ -112,6 +112,3 @@ index aa0b02cc2f..fa234c8b5f 100644
r = sd_device_get_property_value(d, "ID_PART_ENTRY_SCHEME", &type); r = sd_device_get_property_value(d, "ID_PART_ENTRY_SCHEME", &type);
if (r < 0) if (r < 0)
--
2.38.1

View File

@ -189,6 +189,3 @@ index 784b895577..18bb75715b 100644
if (pfd < 0) if (pfd < 0)
return pfd; return pfd;
--
2.38.1

View File

@ -45,6 +45,3 @@ index cee20a9a81..6ed04449bf 100644
switch (n_except) { switch (n_except) {
case 0: case 0:
--
2.38.1

View File

@ -53,6 +53,3 @@ index d9896e27e8..29c7d86f27 100644
int get_max_fd(void); int get_max_fd(void);
--
2.38.1

View File

@ -47,6 +47,3 @@ index f8c374a310..ed2f73673e 100644
} ForkFlags; } ForkFlags;
int safe_fork_full(const char *name, const int except_fds[], size_t n_except_fds, ForkFlags flags, pid_t *ret_pid); int safe_fork_full(const char *name, const int except_fds[], size_t n_except_fds, ForkFlags flags, pid_t *ret_pid);
--
2.38.1

View File

@ -69,6 +69,3 @@ index 6a991c877a..7676636723 100644
if (r < 0) if (r < 0)
return r; return r;
} }
--
2.38.1

View File

@ -29,6 +29,3 @@ index c69baa8a1a..c1744cff92 100644
return 0; return 0;
} }
--
2.38.1

View File

@ -51,6 +51,3 @@ index 0b10df6839..09c363817a 100644
#InhibitorsMax=8192 #InhibitorsMax=8192
#SessionsMax=8192 #SessionsMax=8192
#StopIdleSessionSec=infinity #StopIdleSessionSec=infinity
--
2.38.1

View File

@ -41,6 +41,3 @@ index cb1c56d6a6..0000000000
-# See tmpfiles.d(5) for details -# See tmpfiles.d(5) for details
- -
-L! /etc/resolv.conf - - - - ../run/systemd/resolve/stub-resolv.conf -L! /etc/resolv.conf - - - - ../run/systemd/resolve/stub-resolv.conf
--
2.38.1

View File

@ -78,6 +78,3 @@ index 8d2878a36d..70f48e877b 100644
'60-block.rules', '60-block.rules',
'60-cdrom_id.rules', '60-cdrom_id.rules',
'60-drm.rules', '60-drm.rules',
--
2.38.1

View File

@ -43,6 +43,3 @@ index d8cdd5ac14..9eae0782a2 100644
-Wants=tmp.mount -Wants=tmp.mount
+# RHEL-only: Disable /tmp on tmpfs. +# RHEL-only: Disable /tmp on tmpfs.
+#Wants=tmp.mount +#Wants=tmp.mount
--
2.38.1

View File

@ -36,6 +36,3 @@ index 1fad0b0ac8..5af44aaf4a 100644
r = unit_add_dependency(u, UNIT_REQUIRES, m, true, di.origin_mask); r = unit_add_dependency(u, UNIT_REQUIRES, m, true, di.origin_mask);
if (r < 0) if (r < 0)
return r; return r;
--
2.38.1

View File

@ -22,6 +22,3 @@ index 734acea237..b9a41cd803 100644
+# Make 'systemctl enable tmp.mount' work: +# Make 'systemctl enable tmp.mount' work:
+[Install] +[Install]
+WantedBy=local-fs.target +WantedBy=local-fs.target
--
2.38.1

View File

@ -27,6 +27,3 @@ index 55e83dfe00..0eee722154 100644
[Service] [Service]
Type=forking Type=forking
--
2.38.1

View File

@ -301,6 +301,3 @@ index 2a1163aa07..0000000000
- -
- - name: Check ${{ matrix.distro }} QEMU - - name: Check ${{ matrix.distro }} QEMU
- run: sudo python3 -m mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }" - run: sudo python3 -m mkosi shell bash -c "[[ -e /testok ]] || { cat /failed-services; exit 1; }"
--
2.38.1

View File

@ -42,6 +42,3 @@ index a7502b25b4..d0eebab181 100644
- job: copr_build - job: copr_build
trigger: pull_request trigger: pull_request
metadata: metadata:
--
2.38.1

View File

@ -26,6 +26,3 @@ index cd6c33eb64..ca4464e95d 100644
permissions: permissions:
contents: read contents: read
--
2.38.1

View File

@ -23,6 +23,3 @@ index 2d99807272..7e6f66df4d 100644
#define RANDOM_POOL_SIZE_MAX (10U*1024U*1024U) #define RANDOM_POOL_SIZE_MAX (10U*1024U*1024U)
size_t random_pool_size(void); size_t random_pool_size(void);
--
2.38.1

View File

@ -39,6 +39,3 @@ index 38ba3e2856..e8be031de5 100644
Before=sysinit.target Before=sysinit.target
# Mount and swap units need the journal socket units. If they were removed by # Mount and swap units need the journal socket units. If they were removed by
--
2.38.1

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