Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tree-wide: use strv_extend_strv_consume() where appropriate | Mike Yuan | 2024-09-21 | 20 | -111/+52 |
| | |||||
* | basic/strv: introduce strv_extend_strv_consume() | Mike Yuan | 2024-09-21 | 3 | -5/+104 |
| | |||||
* | basic/strv: make string_strv_hash_ops static, add missing assertions | Mike Yuan | 2024-09-20 | 2 | -3/+15 |
| | |||||
* | shared/bus-map-properties: modernize map_basic() and bus_map_strv_sort() | Mike Yuan | 2024-09-20 | 1 | -29/+23 |
| | |||||
* | basic/memory-util: make mempcpy_typesafe() take number of obj rather than ↵ | Mike Yuan | 2024-09-20 | 1 | -1/+6 |
| | | | | | | raw size Follow-up for eda6223942a172fa6777901cf5fbd47438f285ce | ||||
* | basic: replace size_multiply_overflow() with MUL_ASSIGN_SAFE where applicable | Mike Yuan | 2024-09-20 | 3 | -25/+23 |
| | |||||
* | basic/macro: move DECIMAL_STR_FMT to shared/tests | Mike Yuan | 2024-09-20 | 2 | -13/+13 |
| | | | | This shall never be used outside of test functions. | ||||
* | Add an extra debug log to dissect_image() | Daan De Meyer | 2024-09-20 | 1 | -0/+3 |
| | |||||
* | machine: fix bus method argument name: who -> whom | Yu Watanabe | 2024-09-20 | 2 | -2/+2 |
| | | | | Follow-up for cd2fb04960b8aa0b353d12005b8cfc3b9d2bcfee. | ||||
* | Merge pull request #34510 from keszybz/mkosi-version-checks | Yu Watanabe | 2024-09-20 | 2 | -3/+3 |
|\ | | | | | Bump minimum required mkosi version | ||||
| * | mkosi: bump mkosi MinimumVersion | Zbigniew Jędrzejewski-Szmek | 2024-09-20 | 1 | -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 git | Zbigniew Jędrzejewski-Szmek | 2024-09-20 | 1 | -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 state | Yu Watanabe | 2024-09-20 | 1 | -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 backticks | Jörg Behrmann | 2024-09-20 | 1 | -5/+5 |
|/ | |||||
* | Merge pull request #34499 from YHNdnzj/sd-path-trivial-cleanup | Yu Watanabe | 2024-09-20 | 2 | -109/+63 |
|\ | | | | | sd-path: trivial cleanups | ||||
| * | sd-path: trivial cleanups for sd_path_lookup{,_strv}() | Mike Yuan | 2024-09-20 | 2 | -43/+33 |
| | | |||||
| * | sd-path: modernize from_user_dir() | Mike Yuan | 2024-09-20 | 1 | -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-errno | Yu Watanabe | 2024-09-20 | 1 | -23/+17 |
|\ \ | | | | | | | tmpfiles: ERRNO_IS_NOINFO -> _IS_NEG_, correct negative errno checks | ||||
| * | | tmpfiles: ERRNO_IS_NOINFO -> _IS_NEG_, correct negative errno checks | Mike Yuan | 2024-09-20 | 1 | -12/+12 |
| | | | |||||
| * | | tmpfiles: use RET_GATHER more | Mike Yuan | 2024-09-20 | 1 | -11/+5 |
| |/ | |||||
* | | firstboot: add similar input suggestion | Michael Ferrari | 2024-09-20 | 3 | -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_typesafe | Mike Yuan | 2024-09-20 | 7 | -14/+16 |
| | | |||||
* | | boot: use INC_SAFE where appropriate | Mike Yuan | 2024-09-20 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #34480 from yuwata/test-seccomp-suppress-sync | Yu Watanabe | 2024-09-20 | 2 | -7/+72 |
|\ \ | | | | | | | seccomp-util: pass negative fds as is to fsync() and friends | ||||
| * | | test: add tests for seccomp_suppress_sync() | Yu Watanabe | 2024-09-19 | 1 | -0/+52 |
| | | | |||||
| * | | seccomp-util: pass negative fds as is to fsync() and friends | Yu Watanabe | 2024-09-19 | 1 | -7/+20 |
| | | | | | | | | | | | | | | | | | | Closes #34478. Co-authored-by: Mike Yuan <me@yhndnzj.com> | ||||
* | | | kernel-install: add uki.conf example | cvlc12 | 2024-09-20 | 2 | -0/+37 |
| |/ |/| | |||||
* | | man: update PCR and Secure Boot key names and paths | cvlc12 | 2024-09-19 | 2 | -26/+26 |
| | | |||||
* | | firstboot: Prompt for keymap | Daan De Meyer | 2024-09-19 | 1 | -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) | JoseskVolpe | 2024-09-19 | 1 | -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-util | Yu Watanabe | 2024-09-19 | 3 | -207/+284 |
|\ | | | | | test-process-util: Migrate to new assertion macros | ||||
| * | test-process-util: Ignore EINVAL from setresuid() and setresgid() | Daan De Meyer | 2024-09-19 | 1 | -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 fds | Daan De Meyer | 2024-09-19 | 1 | -7/+7 |
| | | | | | | | | To make sure logging works in the child processes. | ||||
| * | test-process-util: Migrate to new assertion macros | Daan De Meyer | 2024-09-19 | 1 | -201/+226 |
| | | |||||
| * | Add ASSERT_OK_ZERO_ERRNO() and ASSERT_OK_EQ_ERRNO() | Daan De Meyer | 2024-09-19 | 2 | -0/+50 |
| | | |||||
* | | Merge pull request #34481 from yuwata/has-tpm2 | Daan De Meyer | 2024-09-19 | 12 | -34/+44 |
|\ \ | | | | | | | tpm2-util: several cleanups for tpm2_support() | ||||
| * | | man/systemd-analyze: mention required libraries for TPM2 support | Yu Watanabe | 2024-09-19 | 1 | -1/+3 |
| | | | | | | | | | | | | Closes #34477. | ||||
| * | | tpm2-util: colorize output of 'systemd-analyze has-tpm2' | Yu Watanabe | 2024-09-19 | 1 | -14/+14 |
| | | | |||||
| * | | shell-completion/analyze: add has-tpm2 | Yu Watanabe | 2024-09-19 | 2 | -1/+2 |
| | | | |||||
| * | | tpm2-util: update comment | Yu Watanabe | 2024-09-19 | 1 | -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 Watanabe | 2024-09-19 | 4 | -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 Watanabe | 2024-09-19 | 6 | -5/+8 |
| | | | |||||
* | | | Merge pull request #34483 from yuwata/network-conf-parser-neighbor-nexthop | Daan De Meyer | 2024-09-19 | 9 | -412/+206 |
|\ \ \ | |/ / |/| | | network: several cleanups for conf parsers | ||||
| * | | network/nexthop: introduce generic conf parser for [NextHop] section | Yu Watanabe | 2024-09-19 | 3 | -217/+70 |
| | | | |||||
| * | | network/nexthop: make conf parsers for Family= and Gateway= independent of ↵ | Yu Watanabe | 2024-09-19 | 3 | -58/+27 |
| | | | | | | | | | | | | each other | ||||
| * | | network/nexthop: use log_section_warning() and friend | Yu Watanabe | 2024-09-19 | 1 | -32/+19 |
| | | | |||||
| * | | network/neighbor: use log_section_warning_errno() | Yu Watanabe | 2024-09-18 | 1 | -13/+13 |
| | | | |||||
| * | | network/neighbor: introduce generic Neighbor section parser | Yu Watanabe | 2024-09-18 | 3 | -50/+19 |
| | | | |||||
| * | | network/neighbor: use struct in_addr_data | Yu Watanabe | 2024-09-18 | 4 | -44/+30 |
| | | | |||||
| * | | conf-parser: drop unnecessary temporary variable | Yu Watanabe | 2024-09-18 | 1 | -3/+2 |
| | | |