From owner-cvs-src@FreeBSD.ORG Sun Aug 31 22:07:59 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FA9610656D5; Sun, 31 Aug 2008 22:07:59 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7ACF38FC1E; Sun, 31 Aug 2008 22:07:59 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7VM7x4X021717; Sun, 31 Aug 2008 22:07:59 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7VM7x6B021716; Sun, 31 Aug 2008 22:07:59 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200808312207.m7VM7x6B021716@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Sun, 31 Aug 2008 22:07:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/security/audit audit_syscalls.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2008 22:08:00 -0000 rwatson 2008-08-31 22:07:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit_syscalls.c Log: SVN rev 182577 on 2008-08-31 22:07:53Z by rwatson Merge r182059, r182118 from head to stable/7: When getaudit(2) is unable to fit the terminal IPv6 address into the space provided by its argument structure, return EOVERFLOW instead of E2BIG. The latter is documented in Solaris's man page, but the former is implemented. In either case, the caller should use getaudit_addr(2) to return the IPv6 address. Submitted by: sson Obtained from: Apple, Inc. Use ERANGE instead of EOVERFLOW selected in r182059, this seems more appropriate even if Solaris doesn't document it (E2BIG) or use it (EOVERFLOW). Submitted by: nectar at apple dot com Sponsored by: Apple, Inc. Revision Changes Path 1.21.2.6 +1 -1 src/sys/security/audit/audit_syscalls.c