From owner-cvs-src-old@FreeBSD.ORG Sun Dec 6 20:34:11 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 7BD94106566B for ; Sun, 6 Dec 2009 20:34:11 +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 67F4F8FC1C for ; Sun, 6 Dec 2009 20:34:11 +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 nB6KYBUZ067227 for ; Sun, 6 Dec 2009 20:34:11 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nB6KYBFP067226 for cvs-src-old@freebsd.org; Sun, 6 Dec 2009 20:34:11 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200912062034.nB6KYBFP067226@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Sun, 6 Dec 2009 20:30:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libulog Makefile Symbol.map utempter.c utempter.h utempter_add_record.3 src/sys/sys param.h 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: Sun, 06 Dec 2009 20:34:11 -0000 ed 2009-12-06 20:30:21 UTC FreeBSD src repository Modified files: lib/libulog Makefile Symbol.map sys/sys param.h Added files: lib/libulog utempter.c utempter.h utempter_add_record.3 Log: SVN rev 200185 on 2009-12-06 20:30:21Z by ed Add a libutempter compatibility interface to libulog. The ulog_login_pseudo(3) and ulog_logout_pseudo(3) interfaces provide a functionality identical to what libutempter has to offer. Just transform libutempter's calls into the before mentioned functions. libutempter doesn't work with utmpx, so instead of fixing I thought the easiest way would be to integrate this functionality. libutempter is used by applications like xterm and the KDE libraries, so if I ever change the underlying file format, these applications will keep working automatically. Also increase __FreeBSD_version to indicate the addition (as well as the import of libulog). Revision Changes Path 1.3 +22 -4 src/lib/libulog/Makefile 1.3 +7 -0 src/lib/libulog/Symbol.map 1.1 +84 -0 src/lib/libulog/utempter.c (new) 1.1 +44 -0 src/lib/libulog/utempter.h (new) 1.1 +106 -0 src/lib/libulog/utempter_add_record.3 (new) 1.442 +1 -1 src/sys/sys/param.h