| /src/usr.sbin/veriexecgen/ |
| veriexecgen.c | 80 char *dbfile; /* name of signatures database file */ member in struct:veriexecgen_t 378 if (stat(vp->dbfile, &sb) != 0) { 382 err(EXIT_FAILURE, "could not stat %s", vp->dbfile); 387 "to \"%s.old\"\n\n", vp->dbfile); 390 vp->dbfile) < strlen(vp->dbfile) + 4) { 393 if (rename(vp->dbfile, old_dbfile) == -1) 399 fp = efopen(vp->dbfile, vp->append_output ? "a" : "w+"); 430 vp->dbfile); 489 v.dbfile = optarg [all...] |
| /src/external/mpl/bind/dist/bin/named/ |
| geoip.c | 37 open_geoip2(const char *dir, const char *dbfile, MMDB_s *mmdb) { 42 n = snprintf(pathbuf, sizeof(pathbuf), "%s/%s", dir, dbfile); 47 dbfile);
|
| /src/external/bsd/nsd/ |
| Makefile.inc | 32 -e s,@dbfile@,/var/db/nsd/nsd.db, \
|
| /src/crypto/external/bsd/openssl/dist/apps/lib/ |
| apps.c | 1636 CA_DB *load_index(const char *dbfile, DB_ATTR *db_attr) 1648 in = BIO_new_file(dbfile, "r"); 1656 "calling fstat(%s)", dbfile); 1665 BIO_snprintf(buf, sizeof(buf), "%s.attr", dbfile); 1667 BIO_snprintf(buf, sizeof(buf), "%s-attr", dbfile); 1690 retdb->dbfname = OPENSSL_strdup(dbfile); 1731 int save_index(const char *dbfile, const char *suffix, CA_DB *db) 1737 j = strlen(dbfile) + strlen(suffix); 1743 j = BIO_snprintf(buf[2], sizeof(buf[2]), "%s.attr", dbfile); 1744 j = BIO_snprintf(buf[1], sizeof(buf[1]), "%s.attr.%s", dbfile, suffix) [all...] |
| /src/crypto/external/bsd/openssl.old/dist/apps/ |
| apps.c | 1552 CA_DB *load_index(const char *dbfile, DB_ATTR *db_attr) 1564 in = BIO_new_file(dbfile, "r"); 1574 ERR_add_error_data(3, "fstat('", dbfile, "')"); 1584 BIO_snprintf(buf, sizeof(buf), "%s.attr", dbfile); 1586 BIO_snprintf(buf, sizeof(buf), "%s-attr", dbfile); 1606 retdb->dbfname = OPENSSL_strdup(dbfile); 1643 int save_index(const char *dbfile, const char *suffix, CA_DB *db) 1649 j = strlen(dbfile) + strlen(suffix); 1655 j = BIO_snprintf(buf[2], sizeof(buf[2]), "%s.attr", dbfile); 1656 j = BIO_snprintf(buf[1], sizeof(buf[1]), "%s.attr.%s", dbfile, suffix) [all...] |
| apps.h | 539 CA_DB *load_index(const char *dbfile, DB_ATTR *dbattr); 541 int save_index(const char *dbfile, const char *suffix, CA_DB *db); 542 int rotate_index(const char *dbfile, const char *new_suffix,
|
| ca.c | 248 char *dbfile = NULL, *f; local 493 dbfile = lookup_conf(conf, section, ENV_DATABASE); 494 if (dbfile == NULL) 497 db = load_index(dbfile, &db_attr); 622 dbfile = lookup_conf(conf, section, ENV_DATABASE); 623 if (dbfile == NULL) 626 db = load_index(dbfile, &db_attr); 682 BIO_printf(bio_err, "Updating %s ...\n", dbfile); 692 if (!save_index(dbfile, "new", db)) 695 if (!rotate_index(dbfile, "new", "old") [all...] |
| /src/external/bsd/blocklist/bin/ |
| blocklistd.c | 79 static const char *dbfile = _PATH_BLSTATE; variable 114 "[-P <sockpathsfile>] [-C <controlprog>] [-D <dbfile>] " 410 db = state_open(dbfile, O_RDONLY, 0); 413 dbfile); 451 dbfile = optarg; 544 state = state_open(dbfile, flags, 0600); 546 state = state_open(dbfile, flags | O_CREAT, 0600);
|
| /src/crypto/external/apache2/openssl/dist/apps/lib/ |
| apps.c | 1662 CA_DB *load_index(const char *dbfile, DB_ATTR *db_attr) 1674 in = BIO_new_file(dbfile, "r"); 1682 "calling fstat(%s)", dbfile); 1691 BIO_snprintf(buf, sizeof(buf), "%s.attr", dbfile); 1693 BIO_snprintf(buf, sizeof(buf), "%s-attr", dbfile); 1712 retdb->dbfname = OPENSSL_strdup(dbfile); 1756 int save_index(const char *dbfile, const char *suffix, CA_DB *db) 1762 j = strlen(dbfile) + strlen(suffix); 1768 BIO_snprintf(buf[2], sizeof(buf[2]), "%s.attr", dbfile); 1769 BIO_snprintf(buf[1], sizeof(buf[1]), "%s.attr.%s", dbfile, suffix) [all...] |
| /src/distrib/sets/ |
| regpkg | 403 # init_db_opts() sets the dbfile, dbtype and db_opts variables, 408 dbfile="${SYSPKG_DB_TOPDIR}/pkgdb.byfile.db" 687 init_db_opts # sets dbfile, dbtype, and db_opts 690 # ${dbfile}. The results look like absolute paths, 709 | ${DB} -w ${db_opts} -F "${tab}" -f - "${dbtype}" "${dbfile}" 923 init_db_opts # sets dbfile, dbtype, and db_opts 925 ${DB} ${db_opts} -O "${tab}" "${dbtype}" "${dbfile}" \ 928 ${DB} -d ${db_opts} -f "${dblist}" "${dbtype}" "${dbfile}"
|
| /src/crypto/external/apache2/openssl/dist/apps/include/ |
| apps.h | 241 CA_DB *load_index(const char *dbfile, DB_ATTR *dbattr); 243 int save_index(const char *dbfile, const char *suffix, CA_DB *db); 244 int rotate_index(const char *dbfile, const char *new_suffix,
|
| /src/crypto/external/bsd/openssl/dist/apps/include/ |
| apps.h | 233 CA_DB *load_index(const char *dbfile, DB_ATTR *dbattr); 235 int save_index(const char *dbfile, const char *suffix, CA_DB *db); 236 int rotate_index(const char *dbfile, const char *new_suffix,
|
| /src/crypto/external/apache2/openssl/dist/apps/ |
| ca.c | 337 char *dbfile = NULL, *f; local 607 dbfile = lookup_conf(conf, section, ENV_DATABASE); 608 if (dbfile == NULL) 611 db = load_index(dbfile, &db_attr); 613 BIO_printf(bio_err, "Problem with index file: %s (could not load/parse file)\n", dbfile); 726 dbfile = lookup_conf(conf, section, ENV_DATABASE); 727 if (dbfile == NULL) 730 db = load_index(dbfile, &db_attr); 732 BIO_printf(bio_err, "Problem with index file: %s (could not load/parse file)\n", dbfile); 787 BIO_printf(bio_err, "Updating %s ...\n", dbfile); [all...] |
| /src/crypto/external/bsd/openssl/dist/apps/ |
| ca.c | 286 char *dbfile = NULL, *f; local 560 dbfile = lookup_conf(conf, section, ENV_DATABASE); 561 if (dbfile == NULL) 564 db = load_index(dbfile, &db_attr); 566 BIO_printf(bio_err, "Problem with index file: %s (could not load/parse file)\n", dbfile); 692 dbfile = lookup_conf(conf, section, ENV_DATABASE); 693 if (dbfile == NULL) 696 db = load_index(dbfile, &db_attr); 698 BIO_printf(bio_err, "Problem with index file: %s (could not load/parse file)\n", dbfile); 754 BIO_printf(bio_err, "Updating %s ...\n", dbfile); [all...] |
| /src/external/mpl/bind/dist/tests/dns/ |
| geoip_test.c | 70 open_geoip2(const char *dir, const char *dbfile, MMDB_s *mmdb) { 74 snprintf(pathbuf, sizeof(pathbuf), "%s/%s", dir, dbfile);
|
| /src/lib/libc/gen/ |
| getpwent.c | 187 const char *dbfile = NULL; local 195 dbfile = _PATH_SMP_DB; 196 *db = dbopen(dbfile, O_RDONLY, 0, DB_HASH, NULL); 199 dbfile = _PATH_MP_DB; 200 *db = dbopen(dbfile, O_RDONLY, 0, DB_HASH, NULL); 205 syslog(LOG_ERR, "%s: %m", dbfile);
|
| /src/external/bsd/nsd/dist/ |
| configure | 1504 --with-dbfile=path Pathname to the NSD database (obsolete) 4420 # Check whether --with-dbfile was given.
|