git: pututxline(3): Improve lastlogx struct setup for updlastlogx()
Aaron LI
aly at crater.dragonflybsd.org
Mon Oct 12 02:02:48 PDT 2026
commit 36cadcb7230528899e0dffe14a4cf6ce59947155
Author: Aaron LI <aly at aaronly.me>
Date: Mon Oct 12 15:27:11 2026 +0800
pututxline(3): Improve lastlogx struct setup for updlastlogx()
* Additionally fill 'll_ss' field.
* Use bounded strlcpy() to be future-proof.
Summary of changes:
lib/libc/gen/utmpx.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/36cadcb7230528899e0dffe14a4cf6ce59947155
--
DragonFly BSD source repository
More information about the Commits
mailing list