From owner-p4-projects@FreeBSD.ORG Sun Jul 10 01:44:58 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 7E69416A420; Sun, 10 Jul 2005 01:44:57 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2336E16A41C for ; Sun, 10 Jul 2005 01:44:57 +0000 (GMT) (envelope-from wsalamon@computer.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC37943D46 for ; Sun, 10 Jul 2005 01:44:56 +0000 (GMT) (envelope-from wsalamon@computer.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6A1iuXY012900 for ; Sun, 10 Jul 2005 01:44:56 GMT (envelope-from wsalamon@computer.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6A1iubi012897 for perforce@freebsd.org; Sun, 10 Jul 2005 01:44:56 GMT (envelope-from wsalamon@computer.org) Date: Sun, 10 Jul 2005 01:44:56 GMT Message-Id: <200507100144.j6A1iubi012897@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to wsalamon@computer.org using -f From: Wayne Salamon To: Perforce Change Reviews Cc: Subject: PERFORCE change 79880 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2005 01:44:58 -0000 http://perforce.freebsd.org/chv.cgi?CH=79880 Change 79880 by wsalamon@rickenbacker on 2005/07/10 01:44:36 Pass the parameter 'fd' to the AUDIT macro instead of the user space parameter, now that audit call is made out of the common kern_fstatfs routine. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/kern/vfs_syscalls.c#8 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/kern/vfs_syscalls.c#8 (text+ko) ==== @@ -320,7 +320,7 @@ struct statfs *sp, sb; int error; - AUDIT_ARG(fd, uap->fd); + AUDIT_ARG(fd, fd); error = getvnode(td->td_proc->p_fd, fd, &fp); if (error) return (error);