Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2005 16:50:25 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 85346 for review
Message-ID:  <200510151650.j9FGoPUj073439@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=85346

Change 85346 by rwatson@rwatson_peppercorn on 2005/10/15 16:50:14

	Staticize audit_sys_auditon(), since it's only used in
	kern_bsm_audit.c.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_audit.c#18 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_audit.c#18 (text+ko) ====

@@ -62,7 +62,8 @@
 /* 
  * Forward declares.
  */
-void	audit_sys_auditon(struct audit_record *ar, struct au_record *rec);
+static void	audit_sys_auditon(struct audit_record *ar,
+		    struct au_record *rec);
 
 /*
  * Initialize the BSM auditing subsystem.
@@ -308,9 +309,8 @@
  * Implement auditing for the auditon() system call. The audit tokens
  * that are generated depend on the command that was sent into the 
  * auditon() system call.
- *
  */
-void
+static void
 audit_sys_auditon(struct audit_record *ar, struct au_record *rec)
 {
 	struct au_token *tok;



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