summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: use strv_extend_strv_consume() where appropriateMike Yuan2024-09-2120-111/+52
|
* basic/strv: introduce strv_extend_strv_consume()Mike Yuan2024-09-213-5/+104
|
* basic/strv: make string_strv_hash_ops static, add missing assertionsMike Yuan2024-09-202-3/+15
|
* shared/bus-map-properties: modernize map_basic() and bus_map_strv_sort()Mike Yuan2024-09-201-29/+23
|
* basic/memory-util: make mempcpy_typesafe() take number of obj rather than ↵Mike Yuan2024-09-201-1/+6
| | | | | | raw size Follow-up for eda6223942a172fa6777901cf5fbd47438f285ce
* basic: replace size_multiply_overflow() with MUL_ASSIGN_SAFE where applicableMike Yuan2024-09-203-25/+23
|
* basic/macro: move DECIMAL_STR_FMT to shared/testsMike Yuan2024-09-202-13/+13
| | | | This shall never be used outside of test functions.
* Add an extra debug log to dissect_image()Daan De Meyer2024-09-201-0/+3
|
* machine: fix bus method argument name: who -> whomYu Watanabe2024-09-202-2/+2
| | | | Follow-up for cd2fb04960b8aa0b353d12005b8cfc3b9d2bcfee.
* Merge pull request #34510 from keszybz/mkosi-version-checksYu Watanabe2024-09-202-3/+3
|\ | | | | Bump minimum required mkosi version
| * mkosi: bump mkosi MinimumVersionZbigniew Jędrzejewski-Szmek2024-09-201-1/+1
| | | | | | | | | | | | dbff64ddf06f64ab94bd314df27d6c089b75de52 bumped the hash to a commit after 24.3, so let's tell the users that 25~devel is the minimum required.
| * mkosi: supress error messages from gitZbigniew Jędrzejewski-Szmek2024-09-201-2/+2
| | | | | | | | | | | | | | | | When updating, I get a message like: fatal: Not a valid object name a67221c3f0d0b81b9b5b3230a71d09044342f1a4^{commit} The failure here is expected, it just means that an update is necessary, so suppress output.
* | sd-ipv4acd: fix assertion triggered when an ARP received in STARTED stateYu Watanabe2024-09-201-0/+1
| | | | | | | | | | | | | | When a network is busy, an ARP may be received before the timer event source triggered first time. Fixes #34489.
* | NEWS: fix typos and remove backticksJörg Behrmann2024-09-201-5/+5
|/
* Merge pull request #34499 from YHNdnzj/sd-path-trivial-cleanupYu Watanabe2024-09-202-109/+63
|\ | | | | sd-path: trivial cleanups
| * sd-path: trivial cleanups for sd_path_lookup{,_strv}()Mike Yuan2024-09-202-43/+33
| |
| * sd-path: modernize from_user_dir()Mike Yuan2024-09-201-66/+30
| | | | | | | | | | | | Deduplicate logic through sd_path_lookup() and from_home_dir(). Besides, rename to from_xdg_user_dir() to indicate it's a XDG thing.
* | Merge pull request #34496 from YHNdnzj/tmpfiles-neg-errnoYu Watanabe2024-09-201-23/+17
|\ \ | | | | | | tmpfiles: ERRNO_IS_NOINFO -> _IS_NEG_, correct negative errno checks
| * | tmpfiles: ERRNO_IS_NOINFO -> _IS_NEG_, correct negative errno checksMike Yuan2024-09-201-12/+12
| | |
| * | tmpfiles: use RET_GATHER moreMike Yuan2024-09-201-11/+5
| |/
* | firstboot: add similar input suggestionMichael Ferrari2024-09-203-5/+42
| | | | | | | | | | | | This uses the same logic as similar verb suggestion for command line utilities. Try to be helpful when the user entered something invalid instead of just showing the prompt again.
* | basic/memory-util: introduce mempcpy_typesafeMike Yuan2024-09-207-14/+16
| |
* | boot: use INC_SAFE where appropriateMike Yuan2024-09-201-1/+1
| |
* | Merge pull request #34480 from yuwata/test-seccomp-suppress-syncYu Watanabe2024-09-202-7/+72
|\ \ | | | | | | seccomp-util: pass negative fds as is to fsync() and friends
| * | test: add tests for seccomp_suppress_sync()Yu Watanabe2024-09-191-0/+52
| | |
| * | seccomp-util: pass negative fds as is to fsync() and friendsYu Watanabe2024-09-191-7/+20
| | | | | | | | | | | | | | | | | | Closes #34478. Co-authored-by: Mike Yuan <me@yhndnzj.com>
* | | kernel-install: add uki.conf examplecvlc122024-09-202-0/+37
| |/ |/|
* | man: update PCR and Secure Boot key names and pathscvlc122024-09-192-26/+26
| |
* | firstboot: Prompt for keymapDaan De Meyer2024-09-191-1/+1
| | | | | | | | | | | | It's rather crucial to have a good firstboot experience that you can immediately set the right keymap so let's make sure we prompt for it.
* | hwdb: add keymaps for Acer Nitro 5 AN515-47 (#34493)JoseskVolpe2024-09-191-0/+5
|/ | | | This fixes the microphone mute key and NitroSense key for Acer Nitro 5 AN515-47, so they can be recognized by desktop environments.
* Merge pull request #34486 from DaanDeMeyer/test-process-utilYu Watanabe2024-09-193-207/+284
|\ | | | | test-process-util: Migrate to new assertion macros
| * test-process-util: Ignore EINVAL from setresuid() and setresgid()Daan De Meyer2024-09-191-2/+4
| | | | | | | | | | | | If we're running in a user namespace with a single user and without the nobody user, we'll get EINVAL from these system calls so make sure we handle those gracefully.
| * test-process-util: Use FORK_REOPEN_LOG everywhere we close all fdsDaan De Meyer2024-09-191-7/+7
| | | | | | | | To make sure logging works in the child processes.
| * test-process-util: Migrate to new assertion macrosDaan De Meyer2024-09-191-201/+226
| |
| * Add ASSERT_OK_ZERO_ERRNO() and ASSERT_OK_EQ_ERRNO()Daan De Meyer2024-09-192-0/+50
| |
* | Merge pull request #34481 from yuwata/has-tpm2Daan De Meyer2024-09-1912-34/+44
|\ \ | | | | | | tpm2-util: several cleanups for tpm2_support()
| * | man/systemd-analyze: mention required libraries for TPM2 supportYu Watanabe2024-09-191-1/+3
| | | | | | | | | | | | Closes #34477.
| * | tpm2-util: colorize output of 'systemd-analyze has-tpm2'Yu Watanabe2024-09-191-14/+14
| | |
| * | shell-completion/analyze: add has-tpm2Yu Watanabe2024-09-192-1/+2
| | |
| * | tpm2-util: update commentYu Watanabe2024-09-191-2/+2
| | | | | | | | | | | | | | | | | | has-tpm2 command is moved to systemd-analyze. Follow-up for 58e359604ffdca12bb4d2c5807b96e070611c0f6.
| * | tpm2-util: do not load tpm2 libraries when not interested in the existence ↵Yu Watanabe2024-09-194-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | of the libraries For example, 'bootctl status' only interested in if the efi has TPM2 support and a TPM2 driver is loaded. Hence, not necessary to load libtss2.
| * | tpm2-util: introduce tpm2_is_fully_supported()Yu Watanabe2024-09-196-5/+8
| | |
* | | Merge pull request #34483 from yuwata/network-conf-parser-neighbor-nexthopDaan De Meyer2024-09-199-412/+206
|\ \ \ | |/ / |/| | network: several cleanups for conf parsers
| * | network/nexthop: introduce generic conf parser for [NextHop] sectionYu Watanabe2024-09-193-217/+70
| | |
| * | network/nexthop: make conf parsers for Family= and Gateway= independent of ↵Yu Watanabe2024-09-193-58/+27
| | | | | | | | | | | | each other
| * | network/nexthop: use log_section_warning() and friendYu Watanabe2024-09-191-32/+19
| | |
| * | network/neighbor: use log_section_warning_errno()Yu Watanabe2024-09-181-13/+13
| | |
| * | network/neighbor: introduce generic Neighbor section parserYu Watanabe2024-09-183-50/+19
| | |
| * | network/neighbor: use struct in_addr_dataYu Watanabe2024-09-184-44/+30
| | |
| * | conf-parser: drop unnecessary temporary variableYu Watanabe2024-09-181-3/+2
| | |