From owner-p4-projects Thu May 2 9:47:31 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2A5E637B416; Thu, 2 May 2002 09:47:25 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7AF6737B417 for ; Thu, 2 May 2002 09:47:24 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g42GlOp61814 for perforce@freebsd.org; Thu, 2 May 2002 09:47:24 -0700 (PDT) (envelope-from arr@freebsd.org) Date: Thu, 2 May 2002 09:47:24 -0700 (PDT) Message-Id: <200205021647.g42GlOp61814@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to arr@freebsd.org using -f From: "Andrew R. Reiter" Subject: PERFORCE change 10694 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10694 Change 10694 by arr@arr_shibby on 2002/05/02 09:47:20 - Forgot vnode type argument to AUDIT_SET_OBJECT Affected files ... ... //depot/projects/trustedbsd/audit/sys/sys/audit.h#24 edit Differences ... ==== //depot/projects/trustedbsd/audit/sys/sys/audit.h#24 (text+ko) ==== @@ -133,9 +133,10 @@ } while (0) /* XXX strncpy */ -#define AUDIT_SET_OBJECT(obj, access, path, uid, gid) do { \ +#define AUDIT_SET_OBJECT(obj, access, path, type, uid, gid) do { \ (obj)->ao_access = (access); \ strncpy((obj)->ao_path, (path), sizeof((obj)->ao_path) - 1); \ + (obj)->ao_type = (type); \ (obj)->ao_uid = (uid); \ (obj)->ao_gid = (gid); \ } while (0) @@ -248,8 +249,8 @@ struct vnode *audit_write_init(const char *, struct thread *, struct ucred **); void audit_write_shutdown(struct vnode *, struct thread *, struct ucred *); -int audit_record_write(audit_record_t *); audit_record_t *audit_record_init(int, size_t); void audit_write_thread(void *); +static __inline void audit_record_enqueue(audit_record_t *); #endif /* !_SYS_AUDIT_H_ */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message