Searched refs:dbfp (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/auditd/
H A Dqueue.c36 extern FILE *dbfp;
51 if (dbfp == NULL) {
52 dbfp = __auditd_debug_file_open();
66 DPRINT((dbfp, "enqueue0(%p): p=%p, head=%p, tail=%p, count=%d\n",
73 DPRINT((dbfp, "\tindirect tail=%p\n",
82 DPRINT((dbfp, "enqueue1(%p): p=%p, head=%p, tail=%p, "
100 DPRINT((dbfp, "dequeue1(%p): p=%p, head=%p, "
112 DPRINT((dbfp, "dequeue0(%p): p=%p, head=%p, tail=%p, "
129 DPRINT((dbfp, "incr_ref: p=%p, count=%d\n",
144 DPRINT((dbfp, "releas
[all...]
H A Dauditd.c135 DPRINT((dbfp, "%s\n", msg));
140 DPRINT((dbfp, "the memory allocation failed\n"));
153 DPRINT((dbfp, "mem_test intentional abort (status=%d)\n",
157 DPRINT((dbfp, "%ld exit status = %d auditing_set = %d\n",
165 (void) fclose(dbfp);
185 if (dbfp == NULL) {
186 dbfp = __auditd_debug_file_open();
220 DPRINT((dbfp, "auditon(A_SETCOND...) failed (exit)\n"));
240 DPRINT((dbfp, "init complete: parent can now exit\n"));
251 DPRINT((dbfp, "UMEM_DEBU
[all...]
H A Ddoorway.c77 static FILE *dbfp; variable
135 DPRINT((dbfp, "auditd warn_or_fatal %s: %s\n", severity, parting_shot));
221 DPRINT((dbfp, "report_error(%d - %s): %s\n\t%s\n",
251 DPRINT((dbfp, "getlen() is not looking at a header token\n"));
385 DPRINT((dbfp, "unload_plugin: removing %s\n", p->plg_path));
389 DPRINT((dbfp, "unload_plugin: %s structure removed\n", p->plg_path));
393 DPRINT((dbfp, "unload_plugin: %s dlclosed\n", p->plg_path));
446 dbfp = __auditd_debug_file_open();
467 DPRINT((dbfp, "start removing %s\n", p->plg_path));
471 DPRINT((dbfp, "star
[all...]
/illumos-gate/usr/src/lib/auditd_plugins/binfile/
H A Dbinfile.c108 static FILE *dbfp; /* debug file */ variable
198 DPRINT((dbfp, "binfile: dirlist=%s\n", dirlist));
209 DPRINT((dbfp, "binfile: p_dir = %s\n", dirname));
270 DPRINT((dbfp, "binfile: Loading audit list from audit service "
274 DPRINT((dbfp, "binfile: internal error"));
287 DPRINT((dbfp, "binfile: "
296 (void) fprintf(dbfp, "Directory list:\n\t%s\n",
301 (void) fprintf(dbfp, "\t%s\n", thisdir->dl_dirname);
316 DPRINT((dbfp,
328 DPRINT((dbfp, "binfil
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_scf.h57 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 Daudit_scf.c176 DPRINT((dbfp, "prop_vect is full; flushing\n"));
388 DPRINT((dbfp, "Found plugin - %s: %s\n",
391 DPRINT((dbfp, "Could not get attribute string "
523 DPRINT((dbfp, "Walking policy - %s: ", policy_str));
526 DPRINT((dbfp, "skipped\n"));
537 DPRINT((dbfp, "skipped\n"));
703 DPRINT((dbfp, "will be queried\n"));
762 DPRINT((dbfp, "%s%s\n", (*bool_arr_ptr == B_TRUE ? "+" : "-"),
1008 DPRINT((dbfp, "No such plugin found: %s (%s)\n", plugin_str,
1044 DPRINT((dbfp, "
[all...]
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c77 static FILE *dbfp; /* debug file */ variable
595 (void) fprintf(dbfp, message);
608 (void) fprintf(dbfp,
614 (void) fprintf(dbfp,
734 (void) fprintf(dbfp,
742 (void) fprintf(dbfp, "syslog writing buffer %llu\n",
803 (void) fprintf(dbfp,
813 DPRINT((dbfp, "syslog: out of memory; seq=%llu\n",
823 DPRINT((dbfp, "syslog: write_count=%llu, "
827 DPRINT((dbfp, "syslo
[all...]
H A Dsystoken.c55 static FILE *dbfp; /* debug file */ variable
93 dbfp = __auditd_debug_file_open();
341 DPRINT((dbfp, "text_token: start length=%d, add length=%d+%d\n",
356 DPRINT((dbfp, "text_token: l is %d\n%s\n", ctx->out.sf_textlen,
364 DPRINT((dbfp, "text_token: l=%d\n%s\n", ctx->out.sf_textlen,
/illumos-gate/usr/src/cmd/listen/
H A Dnlps_serv.c854 FILE *dbfp; local
858 if ((dbfp = fopen(dbfname, "r")) == NULL) {
865 while (rd_dbf_line(dbfp, Dbf_line_buf, &Dbf_entry.dbf_svc_code,
874 fclose(dbfp);
880 fclose(dbfp);

Completed in 87 milliseconds