Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v252 batch #307

Merged
merged 19 commits into from
Jul 18, 2023
Merged

v252 batch #307

merged 19 commits into from
Jul 18, 2023

Conversation

bluca
Copy link
Member

@bluca bluca commented Jul 17, 2023

No description provided.

Xeonacid and others added 18 commits July 17, 2023 23:07
This syscall is for probing hardware capabilities from userspace and should do no harm.
Added in torvalds/linux@ea3de9c

(cherry picked from commit ca15fc4)
(cherry picked from commit a4d70c0)
(cherry picked from commit 8b24bcd)
(cherry picked from commit ed9f4ef)
(cherry picked from commit c9d85c2)
(cherry picked from commit 1e39026)
We already had the arch-specific UUIDs defined, but they were not wired up

(cherry picked from commit d75ec33)
(cherry picked from commit cffc34c)
fadvise64 and fadvise64_64 are already in the group, but arm_ version
was not.

Fixes #28350.

(cherry picked from commit 26b682e)
(cherry picked from commit 6dd8e62)
(cherry picked from commit 16a07ff)
(cherry picked from commit ef5a65a)
…roup

This commit allows service_sigchld_event() is executed before
service_dispatch_exec_io(), which might happen when a main process exits
very quickly.

Also do not check PID for service goodness because the main process have
already been exited in this case.

Fix: #27919
(cherry picked from commit ef43006)
(cherry picked from commit ead4050)
Otherwise, we may configure a route that depends on the existence
of an address or another route, and may fail when lifetime of one
of them are already zero.

Hopefully fixes #28358.

(cherry picked from commit dc32de3)
(cherry picked from commit 3ce7c97)
But it's __mips__ not __mips, obviously

Follow-up for d75ec33

(cherry picked from commit 10ad311)
(cherry picked from commit 9c66d0c)
Follow-up for d75ec33

(cherry picked from commit c26a01a)
(cherry picked from commit 908463c)
git restore -s origin/main hwdb.d/ test/hwdb.d test/hwdb-test.sh

(cherry picked from commit 5b3affc)
Follow-up for #25147 (db46919)

--follow sets arg_lines to 10, which breaks
--grep as the latter implies --reverse.
So let's not set --reverse if --follow is used.

(cherry picked from commit c673fd5)

Should fix https://bugzilla.redhat.com/show_bug.cgi?id=2215304.

(cherry picked from commit d7bb1f5)
This is a "sequel" to commit 2675747 .

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2210770
(cherry picked from commit f71b55b)
(cherry picked from commit d6b23dd)
Given that ERRNO_IS_RESOURCE() also matches positive values,
make sure this macro is not called with arguments that do not have
errno semantics.

In this case the argument passed to ERRNO_IS_RESOURCE() is the value
returned by recurse_dir_at() which can legitimately return positive
values without errno semantics, so fix this by moving the ERRNO_IS_RESOURCE()
invocation to the branch where the return value is known to be negative.

(cherry picked from commit ed3745b)
(cherry picked from commit 24256d0)
Given that ERRNO_IS_DISCONNECT() also matches positive values,
make sure this macro is not called with arguments that do not have
errno semantics.

In this case the argument passed to ERRNO_IS_DISCONNECT() is the value
returned by socket_acquire_peer() which can legitimately return 1
without errno semantics, so fix this by moving ERRNO_IS_DISCONNECT()
invocation to the branch where the return value is known to be negative.

(cherry picked from commit d5f8890)
(cherry picked from commit ebce728)
Given that ERRNO_IS_DISCONNECT() also matches positive values,
make sure this macro is not called with arguments that do not have
errno semantics.

In this case the argument passed to ERRNO_IS_DISCONNECT() is the value
returned by bus_socket_process_watch_bind(), bus_socket_process_opening(),
and bus_socket_process_authenticating() which can legitimately return
positive values without errno semantics, so fix this by moving the
ERRNO_IS_DISCONNECT() invocation to the branch where the return value
is known to be negative.

(cherry picked from commit bb228f0)
(cherry picked from commit 920568b)
Given that ERRNO_IS_DISCONNECT() also matches positive values,
make sure this macro is not called with arguments that do not have
errno semantics.

In this case the argument passed to ERRNO_IS_DISCONNECT() is the value
returned by manager_recv() which can legitimately return 1 without errno
semantics, so fix this by moving ERRNO_IS_DISCONNECT() invocation to the
branch where the return value is known to be negative.

(cherry picked from commit 0bdea17)
(cherry picked from commit 791dbff)
Given that ERRNO_IS_PRIVILEGE() also matches positive values,
make sure this macro is not called with arguments that do not have
errno semantics.

In this case the arguments passed to ERRNO_IS_PRIVILEGE() are the values
returned by read_one_line_file() which can legitimately return positive
values without errno semantics, so fix this by moving ERRNO_IS_PRIVILEGE()
invocations to the branches where the return values are known to be negative.

(cherry picked from commit fce846e)
(cherry picked from commit f1c4da0)
Fixes: #25911
(cherry picked from commit f70f992)
(cherry picked from commit 1a0f2c5)
@bluca bluca merged commit b5ac1d4 into systemd:v252-stable Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

10 participants