From owner-p4-projects@FreeBSD.ORG Mon May 24 14:56:53 2010 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4BCBF1065672; Mon, 24 May 2010 14:56:53 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 035E5106566C for ; Mon, 24 May 2010 14:56:53 +0000 (UTC) (envelope-from gpf@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E4F778FC1C for ; Mon, 24 May 2010 14:56:52 +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 o4OEuqhI055507 for ; Mon, 24 May 2010 14:56:52 GMT (envelope-from gpf@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o4OEuqFh055505 for perforce@freebsd.org; Mon, 24 May 2010 14:56:52 GMT (envelope-from gpf@FreeBSD.org) Date: Mon, 24 May 2010 14:56:52 GMT Message-Id: <201005241456.o4OEuqFh055505@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gpf@FreeBSD.org using -f From: Efstratios Karatzas To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 178718 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2010 14:56:53 -0000 http://p4web.freebsd.org/@@178718?ac=10 Change 178718 by gpf@gpf_desktop on 2010/05/24 14:56:19 Forgot to update AUDIT_NFS_ENTER() at the "if not defined AUDIT" part of the header. Affected files ... .. //depot/projects/soc2010/gpf_audit/freebsd/src/sys/security/audit/audit.h#5 edit Differences ... ==== //depot/projects/soc2010/gpf_audit/freebsd/src/sys/security/audit/audit.h#5 (text) ==== @@ -260,9 +260,9 @@ audit_arg_socket((sodomain), (sotype), (soprotocol)); \ } while (0) -#define AUDIT_ARG_SOCKADDR_IN(sin) do { \ +#define AUDIT_ARG_SOCKADDR_IN(sin) do { \ if (AUDITING_TD(curthread)) \ - audit_arg_sockaddr_in((sin)); \ + audit_arg_sockaddr_in((sin)); \ } while (0) #define AUDIT_ARG_SUID(suid) do { \ @@ -321,9 +321,9 @@ audit_syscall_exit(error, td); \ } while (0) -#define AUDIT_NFS_ENTER(proc, user_cr, td) do { \ +#define AUDIT_NFS_ENTER(proc, user_cr, td) do { \ if (audit_enabled) { \ - audit_nfs_enter(proc, user_cr, td); \ + audit_nfs_enter(proc, user_cr, td); \ } \ } while (0) @@ -381,7 +381,7 @@ #define AUDIT_SYSCLOSE(p, fd) -#define AUDIT_NFS_ENTER(proc, td) +#define AUDIT_NFS_ENTER(proc, user_cr, td) #define AUDIT_NFS_EXIT(error, td) #endif /* AUDIT */