From owner-cvs-all@FreeBSD.ORG Sun Oct 14 00:52:31 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D11A316A46D; Sun, 14 Oct 2007 00:52:31 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8763213C478; Sun, 14 Oct 2007 00:52:30 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9E0qUs6096694; Sun, 14 Oct 2007 00:52:30 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9E0qUxx096693; Sun, 14 Oct 2007 00:52:30 GMT (envelope-from csjp) Message-Id: <200710140052.l9E0qUxx096693@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Sun, 14 Oct 2007 00:52:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/id id.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 14 Oct 2007 00:52:31 -0000 csjp 2007-10-14 00:52:30 UTC FreeBSD src repository Modified files: usr.bin/id id.c Log: Fix id -A when the subject has an extended subject token associated with them (for example when they have logged in from an ip6 source). - Stick with the initial call to getaudit(2), if it returns E2BIG, use getaudit_addr(2) instead and set the "extended" flag to indicate that we the calling credential has an extended subject state. - Additionally, add the printing of the machine/at_addr (the ip/ip6 addresses) MFC after: 1 week Obtained from: TrustedBSD Project Revision Changes Path 1.34 +38 -6 src/usr.bin/id/id.c