Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2002 09:47:24 -0700 (PDT)
From:      "Andrew R. Reiter" <arr@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 10694 for review
Message-ID:  <200205021647.g42GlOp61814@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205021647.g42GlOp61814>