summaryrefslogtreecommitdiffstats
path: root/src/id128 (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-20test-local-addresses: several modernizationYu Watanabe1-15/+13
- use size_t for number of addresses, - use FOREACH_ARRAY() macro, - use IN_ADDR_TO_STRING() macro, etc.
2024-01-20ptyfwd: when leaving a session with tinted background, clear to end of screenLennart Poettering2-1/+4
So if we tint the background of a ptyfwd session with a color and the session ends, then so far we reset the bg color and clear till the end of line. Let's instead clear till the end of the screen. This is nicer since it means that any follow-up output will not be affected by the changed background color anymore.
2024-01-20run: the --background= switch expects an argumentLennart Poettering1-1/+1
We got this right when running as "uid0", but wrong when invoked under "systemd-run". Let's fix that.
2024-01-19loginctl: add --json= and -j to help textMike Yuan1-1/+4
Follow-up for ea54517476521a35fd10790664f2525a03c582b6
2024-01-19cgtop: fix sscanf return code checksLuca Boccassi1-2/+2
sscanf can return EOF on error, so check that we get a result instead. CodeQL#2386 and CodeQL#2387
2024-01-19portable: log structured message when attach/detach succeedsLuca Boccassi3-0/+115
Currently portabled is completely silent (when not using debug level). But when the system state is changed (ie: a portable is attached or detached) there are no traces left in the journal. Log at info level when either of those operations succeed, as they are effectively changing the state of the system. Create new MESSAGE_IDs for these logs, and also append PORTABLE_ROOT= (and PORTABLE_EXTENSION= if any), like the units themselves are configured to do via LogExtraFields=, so that the same metadata can be found in the attach/detach messages and in logs from the units themselves.
2024-01-19man: clarify description of Attach/Detach flagsLuca Boccassi1-4/+4