Skip to content

Commit b9d8843

Browse files
committed
merge in v258-stable
2 parents 5f234ae + 789dd1b commit b9d8843

File tree

4,826 files changed

+501967
-329111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,826 files changed

+501967
-329111
lines changed

.clang-format

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,27 @@ ForEachMacros:
107107
- STRV_FOREACH
108108
- STRV_FOREACH_BACKWARDS
109109
- STRV_FOREACH_PAIR
110+
IncludeBlocks: Regroup
111+
IncludeCategories:
112+
# "vmlinux.h" must always be included first in BPF programs before anything else.
113+
- Regex: '^"vmlinux.h"$'
114+
Priority: 1
115+
# <bpf/*.h> headers must be included after <linux/types.h> by design.
116+
- Regex: '^<bpf/.*\.h>$'
117+
Priority: 2
118+
SortPriority: 3
119+
- Regex: '^<.*\.h>$'
120+
Priority: 2
121+
- Regex: '^"_?sd-.*\.h"$'
122+
Priority: 4
123+
- Regex: '^"libudev\.h"$'
124+
Priority: 4
125+
- Regex: '^"audit_type-to-name.h"$'
126+
Priority: 6
127+
- Regex: '.*'
128+
Priority: 5
129+
# Make sure the "main header" is not treated any differently than other headers.
130+
IncludeIsMainRegex: '^$'
110131
IndentPPDirectives: AfterHash
111132
IndentWidth: 8
112133
IndentWrappedFunctionNames: true

.clang-tidy

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
---
3+
Checks: '
4+
-*,
5+
misc-header-include-cycle,
6+
readability-duplicate-include,
7+
bugprone-argument-comment
8+
'
9+
WarningsAsErrors: '*'
10+
HeaderFileExtensions:
11+
- h
12+
ImplementationFileExtensions:
13+
- c
14+
...

.clangd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
3+
Diagnostics:
4+
UnusedIncludes: Strict

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ indent_style = space
2424
indent_size = 8
2525
max_line_length = 109
2626

27-
[*.sh,mkosi.build,mkosi.prepare,mkosi.postinst]
27+
[{*.sh,mkosi.build,mkosi.prepare,mkosi.postinst,shell-completion/zsh/_*}]
2828
indent_style = space
2929
indent_size = 4
3030

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ body:
1515
Do not submit bug reports about anything but the two most recently released *major* systemd versions upstream!
1616
If there have been multiple stable releases for that major version, please consider updating to a recent one before reporting an issue.
1717
When using a distro package, please make sure that the version reported is meaningful for upstream.
18-
If a distro build is used, please just paste the package version, e.g. `systemd-254.7-1.fc39.x86_64`.
18+
If a distro build is used, please just paste the package version, e.g. `systemd-257.3-7.fc42.x86_64`.
1919
See https://github.com/systemd/systemd-stable/tags for the list of most recent releases.
2020
For older version please use distribution trackers (see https://systemd.io/CONTRIBUTING#filing-issues).
21-
placeholder: '255'
21+
placeholder: '257.x'
2222
validations:
2323
required: true
2424

@@ -27,7 +27,7 @@ body:
2727
attributes:
2828
label: Used distribution
2929
description: Used distribution and its version
30-
placeholder: Fedora 39
30+
placeholder: Fedora 42
3131
validations:
3232
required: false
3333

@@ -37,7 +37,7 @@ body:
3737
label: Linux kernel version used
3838
description: |
3939
Please use `uname -r` to get linux kernel version.
40-
placeholder: kernel-6.6.8-200.fc39.x86_64
40+
placeholder: 6.14.0-0.rc3.29.fc42.x86_64
4141
validations:
4242
required: false
4343

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,6 @@ body:
121121
attributes:
122122
label: The systemd version you checked that didn't have the feature you are asking for
123123
description: If this is not the most recently released upstream version, then please check first if it has that feature already.
124-
placeholder: '255'
124+
placeholder: '257.x'
125125
validations:
126126
required: false

.github/advanced-issue-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ policy:
3131
- name: dissect
3232
keys: ['systemd-dissect']
3333

34-
- name: env
34+
- name: env-generator
3535
keys: ['systemd-env-generator']
3636

3737
- name: fsck

.github/codeql-queries/PotentiallyDangerousFunction.ql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ predicate potentiallyDangerousFunction(Function f, string message) {
4949
) or (
5050
f.getQualifiedName() = "dirname" and
5151
message = "Call dirname() is icky. Use path_extract_directory() instead."
52+
) or (
53+
f.getQualifiedName() = "basename" and
54+
message = "Call basename() is icky. Use path_extract_filename() instead."
5255
)
5356
}
5457

0 commit comments

Comments
 (0)