From owner-cvs-all@FreeBSD.ORG Thu Apr 28 17:55:38 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7846416A4CE for ; Thu, 28 Apr 2005 17:55:38 +0000 (GMT) Received: from mail21.sea5.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6B7443D54 for ; Thu, 28 Apr 2005 17:55:36 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 29889 invoked from network); 28 Apr 2005 17:55:35 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender )AES256-SHA encrypted SMTP for ; 28 Apr 2005 17:55:35 -0000 Received: from [10.50.41.242] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j3SHtM9e053409; Thu, 28 Apr 2005 13:55:29 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Robert Drehmel Date: Thu, 28 Apr 2005 13:08:49 -0400 User-Agent: KMail/1.8 References: <200504281555.j3SFtsYB052286@repoman.freebsd.org> In-Reply-To: <200504281555.j3SFtsYB052286@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504281308.51058.jhb@FreeBSD.org> X-Spam-Status: No, score=-102.8 required=4.2 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/id id.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 17:55:38 -0000 On Thursday 28 April 2005 11:55 am, Robert Drehmel wrote: > robert 2005-04-28 15:55:54 UTC > > FreeBSD src repository > > Modified files: > usr.bin/id id.c > Log: > - Merge two functions for printing `id' output. > Showing the ids of both an user given by an argument to `id', > and the current user, is now handled in a single function. > Displaying the current user's ids was inaccurate because > getgroups(2) had been used. getgroups(2) returns the current > kernel state of a user's groups, which may not always be > correct if /etc/group was recently changed. > - Fix a few style bugs. > > PR: bin/78085 I thought that was a feature rather than a bug since it shows you your real actual credentials. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org