Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2440 commits
Select commit Hold shift + click to select a range
6080d1c
errno-util: include -ENOENT in ERRNO_IS_XATTR_ABSENT()
ikruglov May 18, 2026
08c2813
dissect: guard against ssize_t overflow in LUKS2 header parser
TristanInSec May 18, 2026
a190e64
dissect: use practical 16 MiB limit instead of SSIZE_MAX
TristanInSec May 18, 2026
15783e4
oomd: ruleset parsing
teknoraver Sep 25, 2025
82b47c7
import: Handle small files (#42150)
bluca May 18, 2026
7d822ca
bpf-util: rename from bpf-dlopen, unify version-specific symbol handling
daandemeyer May 14, 2026
94d745c
cryptsetup: dlopen libcryptsetup in tokens
daandemeyer May 15, 2026
62053ee
tree-wide: dlopen libpam in pam plugins
daandemeyer May 15, 2026
0af0161
test-bus-marshal: dlopen() glib and libdbus instead of linking directly
daandemeyer May 15, 2026
bcb7cf4
lock-util: Simplify timeout for lock_generic_with_timeout()
daandemeyer May 15, 2026
7d2925f
color-util: simplify hsv_to_rgb, fix rgb_to_hsv negative-hue wrap
daandemeyer May 17, 2026
b2bfe5b
tree-wide: Use our own macros instead of fabs()/fmax()/fmin()
daandemeyer May 15, 2026
e6e65dc
locale-util: dlopen() libintl instead of linking against it
daandemeyer May 15, 2026
5a1644d
home: Use log2u64() over log2()
daandemeyer May 15, 2026
a14adac
meson: drop libdl, threads, and librt dependencies
daandemeyer May 15, 2026
b77c7b7
libc: Use dlsym() from a constructor instead of weak symbols
daandemeyer May 14, 2026
97f8150
libc: Make sure C23 versions of strtol(), sscanf() are not used
daandemeyer May 14, 2026
606698e
update NEWS
poettering May 18, 2026
9a8e2f1
update NEWS
poettering May 18, 2026
aa76d81
resolved: add missing polkit checks on FlushCaches and ResetServerFea…
TristanInSec May 18, 2026
7383a01
dissect: guard against ssize_t overflow in LUKS2 header parser (#42162)
poettering May 19, 2026
0614602
Fix an invalid section in example for NFTSet
KonishchevDmitry May 19, 2026
bdbcff6
Various dlopen/linking cleanups from #42100 (#42166)
daandemeyer May 19, 2026
577f2f9
include: add coredump_code to struct pidfd_info
ema May 6, 2026
c8c1bcf
signal-util: add signal_code_to_string
ema May 11, 2026
ed143d8
coredump: add COREDUMP_CODE field for signal reason
ema May 6, 2026
7416bdf
shared: extend Job varlink type with Unit and ActivationDetails fields
ikruglov May 15, 2026
3941dff
core: introduce io.systemd.Job interface with List, Cancel, and Clear…
ikruglov May 15, 2026
f287d85
test: split TEST-74-AUX-UTILS.varlinkctl.sh into per-interface subtests
ikruglov May 15, 2026
e86b494
test: wait systemd to finish reexec in TEST-74-AUX-UTILS.varlinkctl.sh
ikruglov May 18, 2026
bf86705
test: add integration tests for io.systemd.Job varlink methods
ikruglov May 15, 2026
6695167
update TODO
poettering May 19, 2026
a332f3b
test: add test coverage for homed+fscrypt
bluca Apr 24, 2026
b5d5362
fstab-generator: fix spurious quota warning for xfs
vmihalko May 11, 2026
4a82fc6
homed/fscrypt: add new xattr format hardening key sealing
bluca Apr 24, 2026
86e74db
some NEWS fixed by Claude
poettering May 19, 2026
477f84c
udev-builtin-path_id: emit 'sf-<N>' token for auxiliary sub-functions
May 11, 2026
1f7d0a4
udev-builtin-net_id: name auxiliary sub-function (SF) host network de…
May 7, 2026
781d868
update TODO
poettering May 19, 2026
48afde6
NEWS: mention auxiliary sub-function (SF) network device naming
May 19, 2026
ea2448b
homed/fscrypt: add new xattr format hardening key sealing (#41816)
bluca May 19, 2026
fed82f2
Update NEWS
bluca May 19, 2026
3f0e95b
vmspawn: port help() to help-util.h APIs
poettering May 19, 2026
881e471
test: pin stress-ng --vm-method to a portable scalar method in TEST-5…
bluca May 19, 2026
b13cc85
dependabot: Ignore mkosi
daandemeyer May 19, 2026
d4fad95
po: Translated using Weblate (Turkish)
oersen May 19, 2026
e2a49a7
po: Translated using Weblate (Portuguese)
Am-Monteiro May 19, 2026
f424d79
po: Translated using Weblate (Swedish)
bittin May 19, 2026
7d84324
po: Translated using Weblate (Ukrainian)
yurchor May 19, 2026
48bcf96
po: Translated using Weblate (Polish)
May 19, 2026
febfa13
po: Translated using Weblate (Georgian)
NorwayFun May 19, 2026
15dc3c3
Translations update from Fedora Weblate (#42181)
bluca May 19, 2026
94bbfd2
build(deps): bump the actions group with 2 updates
dependabot[bot] May 19, 2026
f7e6645
networkd: add RouteTable= to [DHCPv6] section
naraghavan2186 Apr 28, 2026
698b462
systemd-coredump: add COREDUMP_CODE (#42019)
yuwata May 19, 2026
e7cd836
resolve: cap pre-allocation for questions/RRs
mrc0mmand May 19, 2026
35bf1c8
mkosi: update mkosi ref to 77fce77807a9a92bc37edc8f1c967102e6236d94
daandemeyer May 19, 2026
0fb8295
udev: predictable names for auxiliary sub-function (SF) devices (#42154)
yuwata May 19, 2026
7ef3b98
bpf-util; Add back caching on error/success
daandemeyer May 19, 2026
e62fd81
libcrypt-util: Clean up dlopen_libcrypt()
daandemeyer May 19, 2026
d158595
tree-wide: move static dl handles into their dlopen_*() functions
daandemeyer May 16, 2026
450a5a4
socket-proxy: implement PROXY protocol v1
gdamjan May 18, 2026
b8b2316
tools: add a test wrapper that replays crashing tests under gdb
daandemeyer May 16, 2026
9b21738
sd-bus: add depth limit to message_skip_fields() to prevent stack ove…
TristanInSec May 19, 2026
ddb221c
test: add test for variant recursion depth limit in message_skip_fiel…
TristanInSec May 19, 2026
fc0bd37
test: fix race in TEST-07-PID1.socket-on-failure.sh
bluca May 19, 2026
4ac2369
test: switch TEST-55-OOMD stress-ng --vm-method to lfsr32
bluca May 19, 2026
318bf0c
tree-wide: move static dl handles into their dlopen_*() functions (#4…
yuwata May 20, 2026
ae169c9
core: improve errors from varlink io.systemd.Unit.StartTransient
mvo5 May 19, 2026
1dbd7cd
Couple of test fixes (#42185)
yuwata May 20, 2026
ce260a1
sd-bus: add depth limit to message_skip_fields() to prevent stack ove…
yuwata May 20, 2026
b131473
networkd: fix race condition in per-interface ICMPv6 processing
prohr-openai May 4, 2026
27e0bba
core: introduce varlink `io.systemd.Job` interface (#42104)
yuwata May 20, 2026
d52c8f2
tree-wide: Replace exp10() with our own impl
daandemeyer May 15, 2026
d9600a2
test: add test-link-abi to enforce link-time ABI invariants
daandemeyer May 14, 2026
6c119e1
dns-packet: drop unnecessary indentation
mrc0mmand May 20, 2026
180985c
dns-packet: bail out early if the packet is too short
mrc0mmand May 20, 2026
4f0271e
core: report unsupported service fields in varlink calls
mvo5 Apr 30, 2026
66892d8
udev/net: add IRQAffinityPolicy= option for .link files
qdeslandes Feb 16, 2026
cf32bd9
udev/net: implement IRQAffinityPolicy=spread with topology awareness
qdeslandes Feb 16, 2026
a9e8215
udev/net: add IRQAffinity= option to filter eligible CPUs
qdeslandes Feb 16, 2026
7dfbbfb
udev/net: add IRQAffinityNUMA= option for NUMA-aware filtering
qdeslandes Feb 16, 2026
1662ab6
udev/net: document IRQAffinityPolicy=, IRQAffinity=, and
qdeslandes Jan 8, 2026
1f05824
update TODO
poettering May 20, 2026
4f8215a
vmspawn: initial support for SEV-SNP guests
katexochen May 18, 2026
1ccda15
vmspawn: use EPYC-v4 cpu for SNP
katexochen May 19, 2026
d3f38e0
po: skip automated fuzzy translations when generating new po files
bluca May 18, 2026
ee7bd1d
core: add User,Group,SupplementaryGroups,Nice to varlink Unit.StartTr…
mvo5 May 18, 2026
8b518c6
update TODO
poettering May 20, 2026
ddedddf
core: tweak error handling around VARLINK_ERROR_UNIT_BAD_SETTING
mvo5 May 20, 2026
619ea8f
core: move StartTransient varlink tests to the right place
mvo5 May 20, 2026
c61a9a6
repart: canonicalize node in varlink Run method
daandemeyer May 13, 2026
6891016
meson: shrink developer-mode build artifacts
daandemeyer May 15, 2026
933a458
basic/math-util: drop libm where possible
daandemeyer May 15, 2026
183051f
vconsole-util: move code to read EFI keyboard layout into generic code
poettering May 19, 2026
a80024e
ask-string: support prefilling a string query with an explicit string
poettering May 19, 2026
1d646ae
firstboot: prefill keymap question with EFI provided info
poettering May 19, 2026
706de22
sysinstall: prefill firmware variable question with 'yes'
poettering May 19, 2026
862816a
locale-setup: pick up platform lang from firmware
poettering May 19, 2026
ad19ace
bootctl: show platform lang in bootctl status output
poettering May 19, 2026
460dab3
firstboot: prefill language prompt with firmware language if it makes
poettering May 19, 2026
ec1f40c
firstboot: port help() to help-util.[ch] APIs
poettering May 20, 2026
1015130
update TODO
poettering May 19, 2026
5833182
Revert "meson: shrink developer-mode build artifacts"
bluca May 20, 2026
79877fd
systemd-udevd: configure NIC IRQs CPU affinity (#40304)
yuwata May 20, 2026
f941dff
vmspawn: initial support for SEV-SNP guests (#42193)
poettering May 20, 2026
12836f9
ptyfwd: Imply PTY_FORWARD_READ_ONLY if stdin isn't readable
daandemeyer May 20, 2026
e44f92e
mkosi: update mkosi ref to be746d51bc90568b196951a60095ba87bf51ca8b
daandemeyer May 19, 2026
b01dcb3
test-ukify: Skip kernel images we can't access
daandemeyer May 20, 2026
fde1ccc
meson: Skip coccinelle suite by default
daandemeyer May 20, 2026
eb69a3c
test-path: Fail earlier on start-limit-hit
daandemeyer May 20, 2026
fc7a32d
test-path: Migrate to test framework and macros
daandemeyer May 20, 2026
70b6dc7
meson: reorder core sources array
bluca May 20, 2026
fd16d4a
meson: reorder core sources alphabetically
bluca May 20, 2026
e13e69d
meson: move one source file from libcore to systemd array
bluca May 20, 2026
65f076f
test-path: Skip test when we can't create a cgroup
daandemeyer May 20, 2026
c7113f6
ci: run the musl build & test under mkosi with a postmarketOS tools tree
daandemeyer May 19, 2026
594f231
dns-packet: bail out early if the packet is too short (#42189)
yuwata May 20, 2026
b17723e
firstboot: auto-fill keymap/locale questions with data from firmware,…
yuwata May 20, 2026
5904cee
include: move several missing definitions to musl
yuwata May 20, 2026
393b908
ci: run the musl build & test under mkosi with a postmarketOS tools t…
daandemeyer May 20, 2026
bcbae0c
Couple of rearragements for src/core/meson.build (#42207)
yuwata May 20, 2026
8c0f907
updatectl: Add a --no-ask-password argument
pwithnall May 20, 2026
f405aa5
README: bump required minimum version of musl to 1.2.6
yuwata May 20, 2026
bc40f6c
musl: drop renameat2() wrapper
yuwata May 20, 2026
12b9760
musl: drop several statx definitions
yuwata May 20, 2026
6a35ae6
NEWS: mention bump of musl requirement
yuwata May 20, 2026
1a0b17d
vmspawn: move image related knobs close to --image=
poettering May 20, 2026
f9a40f7
vmspawn: split 'Integration' section into 'Logging' and 'SSH'
poettering May 20, 2026
183ec27
vmspawn: split out networking related options into its own "Networkin…
poettering May 20, 2026
b12a365
vmspawn: move --kernel=/--initrd= under the "Execution" section
poettering May 20, 2026
95fe2d0
man: order --secure-boot= to the same location in man page as in --he…
poettering May 20, 2026
8b675d3
mkosi: update debian commit reference to 3e1930512d1efee7e11b619a5f49…
bluca May 20, 2026
8e7665f
Bump minimum required version of musl to 1.2.6 (#42208)
yuwata May 20, 2026
52421ac
test-network: use networkctl_status() helper function at one more place
yuwata May 20, 2026
ba13cd1
include: update kernel headers from v7.1-rc4
yuwata May 20, 2026
18f2e9b
test-network: try to stop test-modem-manager-mock.service only when n…
yuwata May 20, 2026
0080566
test-network: add test cases for 'networkctl dhcp-lease' command
yuwata May 20, 2026
d9b7fdf
test-network: fix test case for Neighbor Announcement message handling
yuwata May 20, 2026
2e1cf55
Revert "network: fix max MTU check for IPv6 MTU adjustments"
yuwata May 20, 2026
dece524
test-network: fix path to test-ndisc-send
yuwata May 20, 2026
20ab4a8
report: use new --help formatting calls
poettering May 20, 2026
6cb65da
vmspawn: rearrange --help and man page a bit (#42200)
yuwata May 21, 2026
85d47bf
firstboot: make clear where the full screen console wizards end
poettering May 20, 2026
7e77105
test-network: follow-up for modem manager test and add test case for …
yuwata May 21, 2026
74d392e
tree-wide: standardize header names across src/fundamental, src/basic…
daandemeyer May 18, 2026
ebd70a5
vmspawn: add shell completion for --coco
katexochen May 21, 2026
9f25feb
logind: keep lingering users at startup-time GC
rocker-zhang May 16, 2026
06ce0f9
sd-dhcp-relay: introduce new DHCP relay agent
yuwata Apr 28, 2026
0325022
test: add unit test for DHCP relay agent
yuwata May 2, 2026
0ff6bac
fuzz: introduce fuzzer for DHCP relay agent
yuwata May 2, 2026
1a75eb7
network: re-implement DHCP relay support with new sd-dhcp-relay
yuwata May 3, 2026
08b3ebf
test-network: add test case for DHCP relay
yuwata May 10, 2026
aa063e5
man: document DHCP relay configuration
yuwata May 10, 2026
cb2bba6
network: drop use of legacy DHCP relay agent in sd-dhcp-server
yuwata May 3, 2026
54c97ce
sd-dhcp-server: drop legacy DHCP relay mode
yuwata May 3, 2026
51120d1
NEWS: mention new DHCP relay agent
yuwata May 12, 2026
dadc77c
network: restart DHCPv6, NDisc, and RADV when tracked IPv6LL is dropped
aritrbas Apr 21, 2026
34db7a2
cleanup: VLAN Id -> VLAN ID
smopucilowski Apr 18, 2026
00276b9
test: avoid test-fdstore failing units when exiting
bluca May 18, 2026
67dea14
core: add FileDescriptorStorePreserve=on-success option
bluca May 18, 2026
9c2d331
docs: extend credentials docs with notes about imds
poettering May 21, 2026
8533513
Introduce support for running code in fibers
daandemeyer Nov 12, 2025
cf4c65a
sd-future: add fiber-aware non-blocking I/O wrappers
daandemeyer Apr 25, 2026
7bc793e
sd-future: make src/basic blocking helpers fiber-aware
daandemeyer Apr 25, 2026
2f99596
sd-event: suspend instead of blocking when sd_event_run() runs on a f…
daandemeyer Mar 23, 2026
9727f65
sd-bus: make sd-bus fiber-aware
daandemeyer May 11, 2026
14605a3
sd-varlink: make sd-varlink fiber-aware
daandemeyer Apr 14, 2026
37679d7
qmp-client: add fiber-aware call paths
daandemeyer Apr 24, 2026
7427334
test-qmp-client: run mock QMP servers as fibers on the shared event loop
daandemeyer Apr 24, 2026
56bc502
math-util: round to declared FP precision consistently across archite…
daandemeyer May 20, 2026
a080cb3
core: better errors and more fields for io.systemd.Unit.StartTransien…
daandemeyer May 21, 2026
d46dae0
network: several fixlets for NDisc (#42218)
bluca May 21, 2026
05a4f77
test-btrfs: skip info test when GET_SUBVOL_INFO ioctl is unsupported
daandemeyer May 20, 2026
20615d2
core: add FileDescriptorStorePreserve=on-success option (#42160)
bluca May 21, 2026
705a705
include/uapi: add linux/openat2.h (#42220)
keszybz May 21, 2026
b6d1dd4
updatectl: Apply --no-ask-password argument to polkit agent
pwithnall May 21, 2026
2de1322
tpm2-setup: introduce a 'priority' concept for NvPCRs
poettering May 21, 2026
2fca751
analyze: show priority in 'nvpcrs' output
poettering May 21, 2026
533aa45
nvpcr: define some reasonable priorities for the nvpcrs we already de…
poettering May 21, 2026
06e32e4
Introduce support for running code in fibers (#39771)
daandemeyer May 21, 2026
e64337e
sd-dhcp-relay: reimplement DHCP relay agent and drop legacy DHCP rela…
daandemeyer May 21, 2026
101a7af
tpm2-util: be more graceful with nvindex space exhaustion issues
poettering May 21, 2026
89c837a
docs: document the .nvpcr file format superficially
poettering May 21, 2026
f4c5fab
ci: add a CI test for nvpcr priorization
poettering May 21, 2026
1bd2acf
test: cover lingering users surviving a soft-reboot in TEST-82
rocker-zhang May 21, 2026
9f016b3
Update NEWS
bluca May 21, 2026
dd76dfa
po: Translated using Weblate (Korean)
simmon-nplob May 21, 2026
38c0073
po: Translated using Weblate (Arabic)
May 21, 2026
df506aa
Translations update from Fedora Weblate (#42231)
bluca May 21, 2026
3d0a05d
core/exec-invoke: fix bogus error code
keszybz May 21, 2026
3ecd6b6
user-util: stop mangling groupname in get_group_creds
keszybz May 19, 2026
c83ff0e
user-util: return malloc'ed strings in get_user_creds
keszybz May 19, 2026
ecaac1c
TEST-08-INITRD: Set up exitrd on boot rather than including in image
daandemeyer May 21, 2026
740a5ce
core: introduce ConditionFraction= that is true on a certain percanta…
poettering May 21, 2026
7f5503f
tpm2: add nvpcr allocation priorities (#42227)
poettering May 21, 2026
5e82a8d
hostnamed: port to regular string_is_safe()
poettering May 20, 2026
1b94530
hostnamed: introduce "machine tags" concept
poettering May 20, 2026
290a417
hostnamectl: port to new --help API
poettering May 20, 2026
71eac88
hostnamectl: add support for tagging the machine
poettering May 20, 2026
461ec6f
condition: add a condition that matches against the machine tags
poettering May 20, 2026
b6d9a98
firstboot: allow configuring machine tags via firstboot
poettering May 21, 2026
9a28e54
ci: add test for new machine-tags concept
poettering May 21, 2026
9990c03
update TODO
poettering May 21, 2026
29c6d1c
boot: measure select SMBIOS objects explicitly
poettering May 21, 2026
a52e0f8
systemctl: also attempt kexec image extraction on EINVAL
rocker-zhang May 21, 2026
a2ba538
bootctl: fix removing variables on uninstall
craftyguy Apr 30, 2026
1027cbd
bootctl: rename install_variables/remove_variables to install/remove_…
craftyguy May 12, 2026
bb520fd
bootctl: add description and ret_slot parameters to install_boot_opti…
craftyguy Apr 30, 2026
6c356b6
bootctl: add after_slot parameter to insert_into_order()
craftyguy Apr 30, 2026
037b9a0
bootctl: back up sd-boot binary to fallback path on update
craftyguy Apr 30, 2026
6e0ebe4
bootctl: register fallback EFI Boot#### entry on install
craftyguy Apr 30, 2026
301b419
bootctl: remove fallback EFI Boot#### variable on uninstall
craftyguy Apr 30, 2026
1d102a6
meson: Add libucontext to libshared_deps
daandemeyer May 21, 2026
0e07870
test-dhcp-server: several cleanups
yuwata May 4, 2026
3f8d000
sd-dhcp-server: split into small pieaces
yuwata May 4, 2026
45a3a3b
dhcp-server-request: modernize server_receive_message()
yuwata May 4, 2026
27d9947
dhcp-serve-request: move message size check to dhcp_server_handle_mes…
yuwata May 4, 2026
0bb2668
sd-dhcp-server: refactoring for socket fd handling
yuwata May 4, 2026
29b6621
sd-dhcp-server: make IP service type (TOS) configurable
yuwata May 7, 2026
dae51cc
dhcp-server-send: rework sending DHCP reply message
yuwata May 4, 2026
252f385
sd-dhcp-server: use struct hw_addr_data to manage client hardware add…
yuwata May 4, 2026
e359c6d
sd-dhcp-server: store more information in DHCPRequest
yuwata May 7, 2026
d40d021
dhcp-server-request: check server address in DHCPDECLINE and DHCPRELEASE
yuwata May 7, 2026
c7655af
ci: ignore failures to chown journal in GHA jobs
bluca May 21, 2026
ecec206
hostnamed,pid1,firstboot: introduce "machine tags" concept (#42223)
bluca May 21, 2026
580bd17
Use malloc'ed strings instead of static libc buffers for user and gro…
yuwata May 21, 2026
2b8ba0e
Update NEWS
bluca May 21, 2026
c3d8c2d
docs: document the new smbios measurements
poettering May 21, 2026
e4f0935
bootctl: show SMBIOS feature flags
poettering May 21, 2026
8cc5dbe
pcrlock: decode new smbios events
poettering May 21, 2026
14a05bd
pcrlock: port --help to help-util.[ch] apis
poettering May 21, 2026
0761c9f
update TODO
poettering May 21, 2026
2f2203c
boot,stub: explicitly measure select SMBIOS objects (#42233)
bluca May 21, 2026
8183977
Update NEWS
bluca May 21, 2026
918c592
bootctl: add A/B fallback for sd-boot updates (#41650)
bluca May 21, 2026
b256396
Update NEWS
bluca May 21, 2026
0ae07c1
sd-dhcp-server: several trivial cleanups (#42235)
yuwata May 21, 2026
3115496
sd-dhcp-relay: use forward declarations
yuwata May 21, 2026
05c295d
dhcp: move definition of enum DHCPState to dhcp-protocol.[ch]
yuwata May 10, 2026
8c09b8f
dhcp-server-request: drop invalid short-cut logic
yuwata May 18, 2026
5e08ff8
sd-dhcp-server: use sd_dhcp_message to parse received messages
yuwata May 7, 2026
15103b6
sd-dhcp-server: use sd_dhcp_message object on sending reply
yuwata May 10, 2026
30200ee
sd-dhcp-server: drop unused enum
yuwata May 22, 2026
dced69a
sd-dhcp-server: use sd_dhcp_message to parse/build DHCP messages (#42…
yuwata May 22, 2026
b45a897
hwdb: reject out-of-bounds fnmatch prefixes
bluca May 21, 2026
24319a9
efi-api: fix unaligned access in efi_guid_to_id128()
daandemeyer May 21, 2026
d284e8a
sysupdate: Add separate polkit actions for cancellation
pwithnall May 20, 2026
af4e2a9
sysupdate: Fix a minor typo in the polkit policy
pwithnall May 20, 2026
0ded5c0
clonesetup: add support to clone devices via /etc/clonetab
src-up Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 19 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Checks: '
bugprone-suspicious-string-compare,
bugprone-swapped-arguments,
bugprone-tautological-type-limits,
bugprone-unsafe-functions,
bugprone-unused-return-value,
misc-header-include-cycle,
misc-include-cleaner,
Expand All @@ -37,7 +38,6 @@ CheckOptions:
# of them related to musl).
misc-include-cleaner.IgnoreHeaders: '
endian\.h;
getopt\.h;
sys/stat\.h;
sys/statvfs\.h;
sys/syscall\.h;
Expand All @@ -50,8 +50,26 @@ CheckOptions:
varlink-io\.systemd\..*;
varlink-idl-common\.h;
unistd\.h
'
bugprone-unsafe-functions.ReportDefaultFunctions: false
bugprone-unsafe-functions.CustomFunctions: '
^fgets$,read_line(),is potentially dangerous;
^strtok$,extract_first_word(),is potentially dangerous;
^strsep$,extract_first_word(),is potentially dangerous;
^dup$,fcntl() with F_DUPFD_CLOEXEC,is potentially dangerous;
^htonl$,htobe32(),is confusing;
^htons$,htobe16(),is confusing;
^ntohl$,be32toh(),is confusing;
^ntohs$,be16toh(),is confusing;
^strerror$,STRERROR() or printf %m,is not thread-safe;
^accept$,accept4(),is not O_CLOEXEC-safe;
^dirname$,path_extract_directory(),is icky;
^basename$,path_extract_filename(),is icky;
^setmntent$,libmount_parse_fstab(),libmount parser should be used instead;
^getmntent$,mnt_table_next_fs(),libmount parser should be used instead
'
misc-header-include-cycle.IgnoredFilesList: 'glib-2.0'
RemovedArgs: ['-fwide-exec-charset=UCS2', '-maccumulate-outgoing-args']
WarningsAsErrors: '*'
ExcludeHeaderFilterRegex: 'blkid\.h|gmessages\.h|gstring\.h'
HeaderFileExtensions:
Expand Down
12 changes: 12 additions & 0 deletions .clangd
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
# SPDX-License-Identifier: LGPL-2.1-or-later

# Strip GCC-only flags from compile_commands.json before clang sees them.
# clangd reports these as driver-level "unknown argument" errors which can't
# be silenced via Diagnostics.Suppress, so they must be removed instead.
# -fwide-exec-charset: used by EFI boot code to make L"..." literals UTF-16
# -maccumulate-outgoing-args: GCC x86 codegen flag, no clang equivalent
CompileFlags:
Remove: [-fwide-exec-charset=*, -maccumulate-outgoing-args]

Diagnostics:
UnusedIncludes: Strict
# __no_reorder__ is a GCC-only attribute (see _no_reorder_ in
# src/fundamental/macro.h). Meson detects it during configure
# with GCC and enables it unconditionally, so clangd flags every use.
Suppress: [unknown-attributes]
8 changes: 8 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
(meson-mode . ((meson-indent-basic . 8)))
(sh-mode . ((sh-indentation . 4)))
(awk-mode . ((c-basic-offset . 8)))
(python-mode . ((indent-tabs-mode . nil)
(tab-width . 4)
(fill-column . 109)
(python-indent-def-block-scale . 1)))
(python-ts-mode . ((indent-tabs-mode . nil)
(tab-width . 4)
(fill-column . 109)
(python-indent-def-block-scale . 1)))
(nil . ((indent-tabs-mode . nil)
(tab-width . 8)
(fill-column . 79))) )
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.[ch] whitespace=tab-in-indent,trailing-space
src/include/uapi/**/*.[ch] whitespace=trailing-space
*.gpg binary generated
*.bmp binary
*.base64 generated
Expand Down
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ body:
- 'homectl'
- 'hostnamectl'
- 'hardware database files'
- 'importctl'
- 'journalctl'
- 'kernel-install'
- 'loginctl'
Expand Down Expand Up @@ -112,7 +113,7 @@ body:
- 'systemd-homed'
- 'systemd-hostnamed'
- 'systemd-hwdb'
- 'systemd-import'
- 'systemd-importd'
- 'systemd-journal-gatewayd'
- 'systemd-journal-remote'
- 'systemd-journal-upload'
Expand Down
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ body:
- 'homectl'
- 'hostnamectl'
- 'hardware database files'
- 'importctl'
- 'journalctl'
- 'kernel-install'
- 'loginctl'
Expand Down Expand Up @@ -51,7 +52,7 @@ body:
- 'systemd-homed'
- 'systemd-hostnamed'
- 'systemd-hwdb'
- 'systemd-import'
- 'systemd-importd'
- 'systemd-journal-gatewayd'
- 'systemd-journal-remote'
- 'systemd-journal-upload'
Expand Down
2 changes: 1 addition & 1 deletion .github/advanced-issue-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ policy:
keys: ['systemd-hwdb', 'hardware database files']

- name: import
keys: ['systemd-import']
keys: ['systemd-importd', 'importctl']

- name: journal
keys: ['systemd-journald', 'journalctl']
Expand Down
12 changes: 0 additions & 12 deletions .github/codeql-config.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/codeql-custom.qls

This file was deleted.

68 changes: 0 additions & 68 deletions .github/codeql-queries/PotentiallyDangerousFunction.ql

This file was deleted.

110 changes: 0 additions & 110 deletions .github/codeql-queries/UninitializedVariableWithCleanup.ql

This file was deleted.

11 changes: 0 additions & 11 deletions .github/codeql-queries/qlpack.yml

This file was deleted.

Loading
Loading