/illumos-gate/usr/src/cmd/auditd/ |
H A D | auditd.c | 135 DPRINT((dbfp, "%s\n", msg)); in err_exit() 140 DPRINT((dbfp, "the memory allocation failed\n")); in err_exit() 153 DPRINT((dbfp, "mem_test intentional abort (status=%d)\n", in auditd_exit() 157 DPRINT((dbfp, "%ld exit status = %d auditing_set = %d\n", in auditd_exit() 165 (void) fclose(dbfp); in auditd_exit() 185 if (dbfp == NULL) { in main() 186 dbfp = __auditd_debug_file_open(); in main() 220 DPRINT((dbfp, "auditon(A_SETCOND...) failed (exit)\n")); in main() 240 DPRINT((dbfp, "init complete: parent can now exit\n")); in main() 251 DPRINT((dbfp, "UMEM_DEBUG=%s\n", envp)); in main() [all …]
|
H A D | doorway.c | 81 static FILE *dbfp; variable 139 DPRINT((dbfp, "auditd warn_or_fatal %s: %s\n", severity, parting_shot)); in warn_or_fatal() 230 DPRINT((dbfp, "report_error(%d - %s): %s\n\t%s\n", in report_error() 260 DPRINT((dbfp, "getlen() is not looking at a header token\n")); in getlen() 394 DPRINT((dbfp, "unload_plugin: removing %s\n", p->plg_path)); in unload_plugin() 398 DPRINT((dbfp, "unload_plugin: %s structure removed\n", p->plg_path)); in unload_plugin() 402 DPRINT((dbfp, "unload_plugin: %s dlclosed\n", p->plg_path)); in unload_plugin() 455 dbfp = __auditd_debug_file_open(); in auditd_thread_init() 476 DPRINT((dbfp, "start removing %s\n", p->plg_path)); in auditd_thread_init() 480 DPRINT((dbfp, "start initial load of %s\n", in auditd_thread_init() [all …]
|
H A D | queue.c | 36 extern FILE *dbfp; 51 if (dbfp == NULL) { in audit_queue_init() 52 dbfp = __auditd_debug_file_open(); in audit_queue_init() 66 DPRINT((dbfp, "enqueue0(%p): p=%p, head=%p, tail=%p, count=%d\n", in audit_enqueue() 73 DPRINT((dbfp, "\tindirect tail=%p\n", in audit_enqueue() 82 DPRINT((dbfp, "enqueue1(%p): p=%p, head=%p, tail=%p, " in audit_enqueue() 100 DPRINT((dbfp, "dequeue1(%p): p=%p, head=%p, " in audit_dequeue() 112 DPRINT((dbfp, "dequeue0(%p): p=%p, head=%p, tail=%p, " in audit_dequeue() 129 DPRINT((dbfp, "incr_ref: p=%p, count=%d\n", in audit_incr_ref() 144 DPRINT((dbfp, "release: p=%p , count=%d\n", in audit_release()
|
/illumos-gate/usr/src/lib/auditd_plugins/binfile/ |
H A D | binfile.c | 108 static FILE *dbfp; /* debug file */ variable 198 DPRINT((dbfp, "binfile: dirlist=%s\n", dirlist)); in growauditlist() 209 DPRINT((dbfp, "binfile: p_dir = %s\n", dirname)); in growauditlist() 270 DPRINT((dbfp, "binfile: Loading audit list from audit service " in loadauditlist() 274 DPRINT((dbfp, "binfile: internal error")); in loadauditlist() 287 DPRINT((dbfp, "binfile: " in loadauditlist() 296 (void) fprintf(dbfp, "Directory list:\n\t%s\n", in loadauditlist() 301 (void) fprintf(dbfp, "\t%s\n", thisdir->dl_dirname); in loadauditlist() 316 DPRINT((dbfp, in loadauditlist() 328 DPRINT((dbfp, "binfile: dir counts differs\n" in loadauditlist() [all …]
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_scf.h | 57 FILE *dbfp; /* debug file pointer */ variable 58 #define DPRINT(x) { if (dbfp == NULL) dbfp = __auditd_debug_file_open(); \ 59 (void) fprintf x; (void) fflush(dbfp); }
|
H A D | audit_scf.c | 176 DPRINT((dbfp, "prop_vect is full; flushing\n")); in chk_prop_vect() 388 DPRINT((dbfp, "Found plugin - %s: %s\n", in get_plugin_kva() 391 DPRINT((dbfp, "Could not get attribute string " in get_plugin_kva() 523 DPRINT((dbfp, "Walking policy - %s: ", policy_str)); in chk_policy_context() 526 DPRINT((dbfp, "skipped\n")); in chk_policy_context() 537 DPRINT((dbfp, "skipped\n")); in chk_policy_context() 703 DPRINT((dbfp, "will be queried\n")); in do_getpolicy_scf() 762 DPRINT((dbfp, "%s%s\n", (*bool_arr_ptr == B_TRUE ? "+" : "-"), in do_setpolicy_scf() 1008 DPRINT((dbfp, "No such plugin found: %s (%s)\n", plugin_str, in plugin_avail_scf() 1044 DPRINT((dbfp, "%s will be decoded\n", asi_fmri)); in do_getpluginconfig_scf() [all …]
|
/illumos-gate/usr/src/lib/auditd_plugins/syslog/ |
H A D | sysplugin.c | 79 static FILE *dbfp; /* debug file */ variable 597 (void) fprintf(dbfp, message); in filter() 610 (void) fprintf(dbfp, in filter() 616 (void) fprintf(dbfp, in filter() 736 (void) fprintf(dbfp, in filter() 744 (void) fprintf(dbfp, "syslog writing buffer %llu\n", in filter() 805 (void) fprintf(dbfp, in auditd_plugin() 815 DPRINT((dbfp, "syslog: out of memory; seq=%llu\n", in auditd_plugin() 825 DPRINT((dbfp, "syslog: write_count=%llu, " in auditd_plugin() 829 DPRINT((dbfp, "syslog: parse failed for buffer %llu\n", in auditd_plugin() [all …]
|
H A D | systoken.c | 55 static FILE *dbfp; /* debug file */ variable 93 dbfp = __auditd_debug_file_open(); in parse_token() 341 DPRINT((dbfp, "text_token: start length=%d, add length=%d+%d\n", in text_token() 356 DPRINT((dbfp, "text_token: l is %d\n%s\n", ctx->out.sf_textlen, in text_token() 364 DPRINT((dbfp, "text_token: l=%d\n%s\n", ctx->out.sf_textlen, in text_token()
|
/illumos-gate/usr/src/cmd/listen/ |
H A D | nlps_serv.c | 852 FILE *dbfp; local 856 if ((dbfp = fopen(dbfname, "r")) == NULL) { 863 while (rd_dbf_line(dbfp, Dbf_line_buf, &Dbf_entry.dbf_svc_code, 872 fclose(dbfp); 878 fclose(dbfp);
|