git: DragonFly_RELEASE_6_4 pututxline(3): Improve lastlogx struct setup for updlastlogx()

Aaron LI aly at crater.dragonflybsd.org
Thu Nov 12 23:21:40 PST 2026


commit 030fb158aa7b0acdfcd6e673a285e5714c4fff65
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/030fb158aa7b0acdfcd6e673a285e5714c4fff65


-- 
DragonFly BSD source repository


More information about the Commits mailing list