chiark / gitweb /
utmp-wtmp: allow overriding username on wall
authorSebastian Thorarensen <sebth@naju.se>
Thu, 13 Mar 2014 23:38:05 +0000 (00:38 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 14 Mar 2014 20:27:33 +0000 (21:27 +0100)
commit9003d9b0d628be059922e522fd35f9c5b4d8b039
tree3363d67fa31dcb4f83a1615eef66cdf160fb0256
parent5a4d665ad679a8436f1210ba67d713a8f0b91b96
utmp-wtmp: allow overriding username on wall

utmp_wall() now takes an optional argument 'username_override' which
allows the caller to override the username shown on wall messages.
journald will use this to inform users that its wall messages comes from
'systemd-journald'.
src/shared/utmp-wtmp.c
src/shared/utmp-wtmp.h
src/shutdownd/shutdownd.c
src/systemctl/systemctl.c
src/tty-ask-password-agent/tty-ask-password-agent.c