Home
last modified time | relevance | path

Searched refs:conf_file (Results 1 – 15 of 15) sorted by relevance

/titanic_50/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_util.c109 update_conf(char *conf_file, char *entry) in update_conf() argument
125 if ((pfile = fopen(conf_file, "r+")) == NULL) { in update_conf()
130 cryptodebug("failed to open %s for write.", conf_file); in update_conf()
175 if (strcmp(conf_file, _PATH_PKCS11_CONF) == 0) { in update_conf()
220 if (strcmp(conf_file, _PATH_PKCS11_CONF) == 0) { in update_conf()
298 if (rename(tmpfile_name, conf_file) == -1) { in update_conf()
304 conf_file, strerror(err)); in update_conf()
306 } else if (chmod(conf_file, in update_conf()
312 cryptodebug("failed to chmod to %s: %s", conf_file, in update_conf()
/titanic_50/usr/src/cmd/avs/sv/
H A Dsvadm.c428 char *conf_file = NULL; in main() local
471 conf_file = optarg; in main()
579 rc = enable_sv(conf_file); in main()
581 rc = disable_sv(conf_file); in main()
583 compare_sv(conf_file); in main()
599 enable_sv(char *conf_file) in enable_sv() argument
608 index = read_config_file(conf_file, svn); in enable_sv()
806 read_config_file(const caddr_t conf_file, sv_name_t svn[]) in read_config_file() argument
816 if (access(conf_file, R_OK) != 0 || in read_config_file()
817 stat(conf_file, &stb) != 0 || in read_config_file()
[all …]
/titanic_50/usr/src/lib/libresolv2/common/irs/
H A Dirs_data.c127 net_data_init(const char *conf_file) { in net_data_init() argument
152 net_data = net_data_create(conf_file); in net_data_init()
167 net_data_create(const char *conf_file) { in net_data_create() argument
175 if ((net_data->irs = irs_gen_acc("", conf_file)) == NULL) { in net_data_create()
H A Dgen.c122 static void init_map_rules(struct gen_p *, const char *conf_file);
131 irs_gen_acc(const char *options, const char *conf_file) { in irs_gen_acc() argument
151 init_map_rules(irs, conf_file); in irs_gen_acc()
402 init_map_rules(struct gen_p *irs, const char *conf_file) { in init_map_rules() argument
413 if (conf_file == NULL) in init_map_rules()
414 conf_file = _PATH_IRS_CONF ; in init_map_rules()
417 if (conf_file[0] == '\0' || (conf = fopen(conf_file, "r")) == NULL) { in init_map_rules()
H A Dirs_data.h58 extern struct net_data * net_data_init(const char *conf_file);
H A Dgen_p.h104 extern struct irs_acc * irs_gen_acc __P((const char *, const char *conf_file));
/titanic_50/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y126 static const char *conf_file = NULL; /* Location of target config */ variable
263 die(gettext(ERR_CONF_LOAD), conf_file,
276 die(gettext(ERR_CONF_LOAD), conf_file,
672 conf_file = pool_static_location();
685 conf_file = pool_dynamic_location();
706 if (strcmp(conf_file, pool_dynamic_location()) == 0)
708 conf_file = argv[optind];
734 if (pool_conf_open(conf, conf_file, PO_RDWR) != 0) {
737 if (pool_conf_open(conf, conf_file, PO_RDONLY) != 0) {
881 if (pool_conf_open(conf, conf_file, PO_CREAT) != 0) { in parser_conf_create()
[all …]
/titanic_50/usr/src/lib/libdevinfo/
H A Ddevfsmap.c126 struct conf_file { struct
175 file_err(struct conf_file *filep, char *fmt, ...) in file_err()
190 lex(struct conf_file *filep, char *val, size_t size) in lex()
442 parse_conf_entry(struct conf_file *filep, char *tokbuf, size_t linesize) in parse_conf_entry()
643 struct conf_file file; in parse_conf_file()
806 lookup_in_conf_file(char *rootdir, char *conf_file, char *path) in lookup_in_conf_file() argument
821 "path = \"%s\"\n", rootdir, conf_file, STRVAL(path))); in lookup_in_conf_file()
823 (void) snprintf(buf, MAXPATHLEN, "%s%s", rootdir, conf_file); in lookup_in_conf_file()
1875 struct conf_file file; in devfs_parse_binding_file()
/titanic_50/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.c492 parse_conf_file(char *conf_file) in parse_conf_file() argument
514 SYSEVENT_CONFIG_DIR, conf_file); in parse_conf_file()
519 syslog(LOG_ERR, CANNOT_OPEN_ERR, conf_file, strerror(errno)); in parse_conf_file()
562 conf_file, lineno, user); in parse_conf_file()
573 conf_file, lineno, reserved1); in parse_conf_file()
578 conf_file, lineno, reserved2); in parse_conf_file()
602 conf_file, lineno, path, strerror(errno)); in parse_conf_file()
626 sep->se_conf_file = conf_file; in parse_conf_file()
705 syslog(LOG_ERR, SYNTAX_ERR, conf_file, lineno); in parse_conf_file()
/titanic_50/usr/src/cmd/mandoc/
H A Dmain.c126 char *conf_file, *defpaths; in main() local
153 conf_file = defpaths = NULL; in main()
190 conf_file = optarg; in main()
337 manpath_parse(&paths, conf_file, defpaths, auxpaths); in main()
/titanic_50/usr/src/cmd/ipf/tools/
H A Dipmon.c183 static char *conf_file = NULL; variable
1327 if (conf_file != NULL)
1490 conf_file = optarg;
1570 if (conf_file)
1571 if (load_config(conf_file) == -1)
1684 if (conf_file != NULL)
1685 load_config(conf_file);
/titanic_50/usr/src/lib/libcryptoutil/common/
H A Dcryptoutil.h225 extern int update_conf(char *conf_file, char *entry);
/titanic_50/usr/src/lib/libsasl/lib/
H A Dserver.c661 const char *conf_file = NULL; local
705 conf_file = full_file ? conf_to_config : alloc_file_name;
707 if (full_file || stat(conf_file, &buf) == 0)
713 strcmp(conf_file, gctx->config_path) == 0 &&
732 conf_file, SASL_VRFY_CONF);
740 result=sasl_config_init(gctx, conf_file);
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dinetd.c228 static char *conf_file = NULL; variable
2419 if (conf_file == NULL) { in check_conf_file()
2434 file = conf_file; in check_conf_file()
3887 conf_file = argv[1]; in main()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclfrutree.c171 static char conf_file[MAXPATHLEN]; variable
1746 (void) snprintf(conf_file, sizeof (conf_file), in get_configuration_file()
1751 FRUTREE_DEBUG1(EVENTS, "Using %s conf file", conf_file); in get_configuration_file()
4557 conf_file)) != PICL_SUCCESS) { in frutree_init()
4616 FRUTREE_DEBUG1(FRUTREE_INIT, "conf_file = %s", conf_file); in init_thread()