Home
last modified time | relevance | path

Searched refs:trail (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/openbsm/bin/auditdistd/
H A Dtrail.c65 struct trail { struct
93 struct trail * argument
96 struct trail *trail; in trail_new() local
98 trail = calloc(1, sizeof(*trail)); in trail_new()
100 if (strlcpy(trail->tr_dirname, dirname, sizeof(trail->tr_dirname)) >= in trail_new()
101 sizeof(trail->tr_dirname)) { in trail_new()
102 free(trail); in trail_new()
107 trail->tr_dirfp = opendir(dirname); in trail_new()
108 if (trail->tr_dirfp == NULL) { in trail_new()
114 free(trail); in trail_new()
[all …]
H A Dtrail.h41 struct trail;
43 struct trail *trail_new(const char *dirname, bool create);
44 void trail_free(struct trail *trail);
47 void trail_start(struct trail *trail, const char *filename, off_t offset);
48 void trail_next(struct trail *trail);
49 void trail_close(struct trail *trail);
50 void trail_reset(struct trail *trail);
51 void trail_unlink(struct trail *trail, const char *filename);
52 bool trail_switch(struct trail *trail);
53 const char *trail_filename(const struct trail *trail);
[all …]
H A DMakefile.in116 auditdistd-trail.$(OBJEXT)
382 trail.c
494 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auditdistd-trail.Po@am__quote@
713 auditdistd-trail.o: trail.c
714 … -MT auditdistd-trail.o -MD -MP -MF $(DEPDIR)/auditdistd-trail.Tpo -c -o auditdistd-trail.o `test …
715 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/auditdistd-trail.Tpo $(DEPDIR)/auditdistd-trail.…
718 …) $(auditdistd_CFLAGS) $(CFLAGS) -c -o auditdistd-trail.o `test -f 'trail.c' || echo '$(srcdir)/'`…
720 auditdistd-trail.obj: trail.c
721 …distd_CFLAGS) $(CFLAGS) -MT auditdistd-trail.obj -MD -MP -MF $(DEPDIR)/auditdistd-trail.Tpo -c -o …
722 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/auditdistd-trail.Tpo $(DEPDIR)/auditdistd-trail.…
[all …]
H A DMakefile.am29 trail.c
H A Dsender.c87 static struct trail *adist_trail;
/freebsd/usr.sbin/sysconf/
H A Dsysconf_print.c183 trail_free(struct trail_step *trail, size_t ntrail) in trail_free() argument
188 free(trail[i].piece); in trail_free()
189 free(trail[i].effective); in trail_free()
191 free(trail); in trail_free()
200 print_trail(const char *name, const struct trail_step *trail, size_t ntrail) in print_trail() argument
206 path = conf_files[trail[i].fileidx]; in print_trail()
207 if (strcmp(trail[i].piece, trail[i].effective) != 0) in print_trail()
208 printf("%s:%u: %s%s%s -> %s\n", path, trail[i].line, in print_trail()
209 name, op_str(trail[i].op), trail[i].piece, in print_trail()
210 trail[i].effective); in print_trail()
[all …]
H A Dsysconf_scan.c96 if (trail_push(&dumps[n].trail, &dumps[n].ntrail, in dump_record()
123 dumps[ndumps].trail = NULL; in dump_record()
125 if (trail_push(&dumps[ndumps].trail, &dumps[ndumps].ntrail, in dump_record()
192 if (trail_push(&reqs[n].trail, &reqs[n].ntrail, in scan_cb()
202 if (trail_push(&reqs[n].trail, &reqs[n].ntrail, in scan_cb()
H A Dsysconf_query_value.c44 print_trail(dumps[d].name, dumps[d].trail, in do_reads()
71 print_trail(reqs[n].name, reqs[n].trail, in do_reads()
H A Dsysconf_priv.h80 struct trail_step *trail; /* `-V' assignment steps */ member
92 struct trail_step *trail; /* `-V' assignment steps */ member
H A Dsysconf.c217 case 'V': /* verbose trail (every assignment step) */ in parse_options()
596 trail_free(reqs[n].trail, reqs[n].ntrail); in main()
597 reqs[n].trail = NULL; in main()
H A Dsysconf_edit_assign.c44 req->trail = NULL; in split_request()
/freebsd/usr.sbin/praudit/tests/
H A Dpraudit_test.sh38 praudit -d "," $(atf_get_srcdir)/trail
52 praudit -d "_" $(atf_get_srcdir)/trail
67 praudit $(atf_get_srcdir)/trail
82 praudit -n $(atf_get_srcdir)/trail
96 praudit -r $(atf_get_srcdir)/trail
111 praudit -l $(atf_get_srcdir)/trail
126 praudit -s $(atf_get_srcdir)/trail
140 praudit -x $(atf_get_srcdir)/trail
176 praudit -rs $(atf_get_srcdir)/trail
H A DMakefile8 input/trail \
/freebsd/contrib/tzcode/
H A Dstrftime.c688 register int trail; in _yconv() local
691 trail = a % DIVISOR + b % DIVISOR; in _yconv()
692 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; in _yconv()
693 trail %= DIVISOR; in _yconv()
694 if (trail < 0 && lead > 0) { in _yconv()
695 trail += DIVISOR; in _yconv()
697 } else if (lead < 0 && trail > 0) { in _yconv()
698 trail -= DIVISOR; in _yconv()
702 if (lead == 0 && trail < 0) in _yconv()
707 pt = _conv(((trail < 0) ? -trail : trail), "%02d", pt, ptlim); in _yconv()
H A Dzdump.c1179 register int trail; in dumptime() local
1196 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptime()
1198 trail / DIVISOR; in dumptime()
1199 trail %= DIVISOR; in dumptime()
1200 if (trail < 0 && lead > 0) { in dumptime()
1201 trail += DIVISOR; in dumptime()
1203 } else if (lead < 0 && trail > 0) { in dumptime()
1204 trail -= DIVISOR; in dumptime()
1208 printf("%d", trail); in dumptime()
1209 else printf("%d%d", lead, ((trail < 0) ? -trail : trail)); in dumptime()
/freebsd/contrib/jemalloc/src/
H A Dlarge.c110 extent_t *trail = extent_split_wrapper(tsdn, arena, large_ralloc_no_move_shrink() local
153 extent_t *trail; large_ralloc_no_move_expand() local
H A Dextent.c451 * it, this splits off lead and trail extents, leaving edata pointing to an in extents_first_fit_locked()
453 * This function doesn't put lead or trail into any ecache; it's the caller's in extents_first_fit_locked()
458 * Split successfully. lead, edata, and trail, are modified to extents in extents_first_fit_locked()
470 * None of lead, edata, or trail are valid. in extents_first_fit_locked()
478 edata_t **edata, edata_t **lead, edata_t **trail, in extents_first_fit_locked()
491 *trail = NULL;
508 /* Split the trail. */ in extents_fit_locked()
511 *trail = extent_split_impl(tsdn, pac, ehooks, *edata, size, in extents_fit_locked()
513 if (*trail == NULL) { in extents_fit_locked()
539 edata_t *trail; in extents_alloc()
983 extent_split_interior(tsdn_t * tsdn,arena_t * arena,extent_hooks_t ** r_extent_hooks,rtree_ctx_t * rtree_ctx,extent_t ** extent,extent_t ** lead,extent_t ** trail,extent_t ** to_leak,extent_t ** to_salvage,void * new_addr,size_t size,size_t pad,size_t alignment,bool slab,szind_t szind,bool growing_retained) extent_split_interior() argument
1062 extent_t *trail; extent_recycle_split() local
1369 extent_t *trail; extent_grow_retained() local
2106 extent_t *trail = extent_alloc(tsdn, arena); extent_split_impl() local
[all...]
/freebsd/lib/libc/stdtime/
H A Dstrftime.c603 register int trail; in _yconv() local
606 trail = a % DIVISOR + b % DIVISOR; in _yconv()
607 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; in _yconv()
608 trail %= DIVISOR; in _yconv()
609 if (trail < 0 && lead > 0) { in _yconv()
610 trail += DIVISOR; in _yconv()
612 } else if (lead < 0 && trail > 0) { in _yconv()
613 trail -= DIVISOR; in _yconv()
617 if (lead == 0 && trail < 0) in _yconv()
622 pt = _conv(((trail < 0) ? -trail : trail), "%02d", pt, in _yconv()
/freebsd/contrib/openbsm/
H A DREADME14 daemon, and the auditdistd(8) audit-trail distribution daemon.
42 auditdistd Audit trail distribution daemon
44 auditreduce Audit trail reduction tool
H A DNEWS37 - auditdistd, a distributed audit trail management daemon, has now been
38 merged. This allows trail files to be securely and reliably synced from
50 - Fix expiration of trail files when the host parameter is used.
54 - Fix a directory descriptor leak that happened when audit trail partitions
81 - Add default for 'expire-after' in audit_control to expire trail files when
98 - Audit trail log expiration support added. It is configured in
101 trail files are not expired and removed. See audit_control(5) for
148 - Add 'current' symlink to active audit trail.
149 - Add crash recovery of previous audit trail file when detected on audit
151 - Add the event AUE_audit_recovery to indicated when an audit trail file has
[all …]
/freebsd/usr.sbin/auditdistd/
H A DMakefile23 SRCS+= token.l trail.c
/freebsd/
H A DCONTRIBUTING.md183 Other projects mandate Signed-off-by to create a paper trail for contributions they
190 suggest that people add this line. It creates a paper trail for infrequent
/freebsd/sys/security/audit/
H A Daudit_bsm.c120 token_t *cur, *hdr, *trail; in kau_close() local
152 trail = au_to_trailer(tot_rec_size); in kau_close()
153 TAILQ_INSERT_TAIL(&rec->token_q, trail, tokens); in kau_close()
/freebsd/contrib/openbsm/bsm/
H A Dlibbsm.h782 au_trailer_t trail; member
/freebsd/contrib/ntp/util/
H A Dntp-keygen-opts.def558 A certificate trail is created when Autokey asks the immediately
645 a certificate trail ending at a trusted host.
646 The trail is defined by static configuration file entries

12