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,28 **** --- 19,30 ---- * CDDL HEADER END */ /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * + * Copyright 2018 Nexenta Systems, Inc. All rights reserved. */ #ifndef _AUDITRD_H #define _AUDITRD_H
*** 60,69 **** --- 62,72 ---- uid_t obj_owner; /* object owner */ int subj_id; /* subject identifier */ char ipc_type; /* 'o' object type - tell what type of IPC */ scf_pattern_t fmri; /* 'o' fmri value */ uid_t obj_user; /* 'o' user value */ + char *wsid; /* 'o' wsid value */ /* * File selection options */ char *f_machine; /* 'M' machine (suffix) type */
*** 82,92 **** /* * Global error reporting */ char *error_str; /* current error message */ - char errbuf[256]; /* for creating error messages with sprintf */ char *ar = "auditreduce:"; static int root_pid; /* remember original process's pid */ /* * Global control blocks --- 85,94 ----