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>

@@ -19,11 +19,13 @@
  * CDDL HEADER END
  */
 /*
  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ *
  * Copyright 2012 Milan Jurik. All rights reserved.
+ * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  */
 
 
 /*
  * Token processing for sysupd; each token function does one

@@ -1521,7 +1523,31 @@
 useofpriv_token(parse_context_t *ctx)
 {
         ctx->adr.adr_now += sizeof (char); /* success / fail */
         skip_bytes(ctx);
 
+        return (0);
+}
+
+/*
+ * Format of access_mask token:
+ *      access_mask             adr_u_int32
+ */
+int
+access_mask_token(parse_context_t *ctx)
+{
+        ctx->adr.adr_now += sizeof (uint32_t);
+
+        return (0);
+}
+
+/*
+ * Format of wsid token:
+ *      wsid            adr_string
+ */
+int
+wsid_token(parse_context_t *ctx)
+{
+        skip_bytes(ctx);
+
         return (0);
 }