Print this page
NEX-13644 File access audit logging
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>

@@ -20,10 +20,12 @@
  */
 
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  */
 
 /*
  * The Secure SunOS audit reduction tool - auditreduce.
  * Document SM0071 is the primary source of information on auditreduce.

@@ -79,10 +81,12 @@
  */
 static int      max_sproc;      /* maximum number of subprocesses per process */
 static int      total_procs;    /* number of processes in the process tree */
 static int      total_layers;   /* number of layers in the process tree */
 
+char    errbuf[ERRBUF_SZ];      /* for creating error messages with sprintf */
+
 /*
  * .func main - main.
  * .desc The beginning. Main() calls each of the initialization routines
  *      and then allocates the root pcb. Then it calls mfork() to get
  *      the work done.