]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/format-table.c
format-table: make UID/GID/PID fields first class citizens + add signal cell type
authorLennart Poettering <lennart@poettering.net>
Tue, 9 Feb 2021 15:36:07 +0000 (16:36 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 10 Feb 2021 11:21:17 +0000 (12:21 +0100)
commita7273eaf32e9d0f8abe5f368bdd801803aaaa0ec
tree9bd6e2c583a26e06efa9a41760713818237e8985
parent77552b9520ba0d47cbf33cdbe1ddedb9ce9b5bf3
format-table: make UID/GID/PID fields first class citizens + add signal cell type

This way we can display invalid UIDs/GIDs/PIDs as n/a while still
storing them as is.

Also, let's add a new cell type for unix signal, that is stored as
integer, but displayed as signal name string.
src/shared/format-table.c
src/shared/format-table.h