~ddstreet/systemd/+git/systemd:tpm2_cap_tpm_properties

Last commit made on 2023-08-08
Get this branch:
git clone -b tpm2_cap_tpm_properties https://git.launchpad.net/~ddstreet/systemd/+git/systemd

Branch merges

Branch information

Name:
tpm2_cap_tpm_properties
Repository:
lp:~ddstreet/systemd/+git/systemd

Recent commits

48b964f... by Dan Streetman

tpm2: add functions to get fixed and variable TPM property capabilities

This allows querying the capabilities for TPM properties, and also caches the
fixed TPM properties.

5c240bd... by Luca Boccassi

Merge pull request #28710 from rpigott/zsh-non-template-cache

zsh completion speedups

074d909... by Yu Watanabe <email address hidden>

udev: set ID_NAME and ID_SERIAL to MMC/memstick devices again

Fixes a bug introduced by 998db5871fea331ec00b26a3a3f5271df040a905.

Fixes #28671.

2cbda74... by Ronan Pigott <email address hidden>

zsh: reintroduce pattern argument to uncached verbs

The systemctl completion previously made use of PREFIX as a pattern
argument to list-unit-files and list-units. This had the problem of
erroneously filtering the results that were stored in the cache, and
erroneously filtering results that might have been requested according
to the users configuration (e.g. _correct completer, certain
matcher-lists or tag-orders, etc.).

Unfortunately, the runtime of list-unit-files increases when no pattern
argument is provided, and systemctl show, used to filter those units,
can become unacceptably slow when provided with too many units to
describe.

Let's re-introduce the pattern argument to list-unit-files and
list-units where necessary in order to alleviate these bottlenecks
without poisining the cache. A 'use-pattern' style is introduced that
may be used to disable this behavior if it is undesired. We can still
expect that certain completions, like `systemctl start <TAB>` will be
slow, like before. To fix this we will need systemd to learn a more
efficient way of filtering the units than parsing systemctl show.

beddf8b... by Yu Watanabe <email address hidden>

busctl: fix showing array of dictionary in JSON format

This partially reverts the commit 684bce3d54463b3222246f72adfe82ad5d176fea
and fixes the issue introduced by it.

Fixes #28711.

c8e2cd7... by Ronan Pigott <email address hidden>

zsh: use sys_really_all_units for non-template names

The systemctl invocations used for these completions match the ones used
for the _sys_really_all_units parameter, so we should really just use
the cached parameter rather than recomputing the result.

ab9617a... by Lennart Poettering <email address hidden>

shutdown: handle gracefully if MD_LEVEL udev propery is not set

See: #28490

3c86805... by Lennart Poettering <email address hidden>

varlink: don't allocate fd control buffer on each read()

We'll need this on each read() again, hence let's just allocate this
once and then reuse it for subsequent read()s.

Follow-up for: #28639

b57e752... by Daan De Meyer

mkosi: Unmount /etc/resolv.conf if it's a mountpoint

97eb826... by Jan Macku <email address hidden>

ci(lint): exclude `.in` files from ShellCheck lint

Exclude all `.in` files because they may contain unsupported syntax, and
they have to be preprocessed first. For example:

```sh
Error: SHELLCHECK_WARNING:
./src/rpm/systemd-update-helper.in:130:37: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
```

Related to: https://github.com/systemd/systemd/pull/28521