| Commit message (Collapse) | Author | Files | Lines |
|
- use size_t for number of addresses,
- use FOREACH_ARRAY() macro,
- use IN_ADDR_TO_STRING() macro, etc.
|
|
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.
|
|
We got this right when running as "uid0", but wrong when invoked under
"systemd-run". Let's fix that.
|
|
Follow-up for ea54517476521a35fd10790664f2525a03c582b6
|
|
sscanf can return EOF on error, so check that we get a result instead.
CodeQL#2386 and CodeQL#2387
|
|
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.
|
|
|