From owner-cvs-src-old@FreeBSD.ORG Sat Dec 26 22:38:43 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5829106568B for ; Sat, 26 Dec 2009 22:38:43 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4A37B8FC16 for ; Sat, 26 Dec 2009 22:38:43 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nBQMchTV066905 for ; Sat, 26 Dec 2009 22:38:43 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBQMchhX066904 for cvs-src-old@freebsd.org; Sat, 26 Dec 2009 22:38:43 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200912262238.nBQMchhX066904@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Sat, 26 Dec 2009 22:36:05 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libpam/modules/pam_lastlog pam_lastlog.c src/lib/libulog ulog.h ulog_getutxent.c ulog_setutxfile.3 src/usr.bin/who who.c src/usr.sbin/lastlogin lastlogin.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Dec 2009 22:38:43 -0000 ed 2009-12-26 22:36:05 UTC FreeBSD src repository Modified files: lib/libpam/modules/pam_lastlog pam_lastlog.c lib/libulog ulog.h ulog_getutxent.c ulog_setutxfile.3 usr.bin/who who.c usr.sbin/lastlogin lastlogin.c Log: SVN rev 201033 on 2009-12-26 22:36:05Z by ed Several refinements to libulog's API. - Only set the fields in the ulog_utmpx structure that are valid for the command in question. This means that strings like "shutdown" or "~" are not visible to the user anymore. - Rename UTXF_* to UTXI_*, indicating the indexation, instead of using the `antique' filename. If we ever get rid of utmp, it makes little sense calling it by its old name. Revision Changes Path 1.26 +1 -1 src/lib/libpam/modules/pam_lastlog/pam_lastlog.c 1.5 +3 -3 src/lib/libulog/ulog.h 1.5 +40 -25 src/lib/libulog/ulog_getutxent.c 1.2 +7 -7 src/lib/libulog/ulog_setutxfile.3 1.26 +1 -1 src/usr.bin/who/who.c 1.10 +1 -1 src/usr.sbin/lastlogin/lastlogin.c