Searched refs:cnf (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-10.0-release/usr.sbin/pw/
H A Dpw_log.c39 pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...) argument
41 if (cnf->logfile && *cnf->logfile) {
43 int fd = open(cnf->logfile, O_WRONLY | O_CREAT | O_APPEND, 0600);
H A Dpw_user.c56 static uid_t pw_uidpolicy(struct userconf * cnf, struct cargs * args);
57 static uid_t pw_gidpolicy(struct userconf * cnf, struct cargs * args, char *nam, gid_t prefer);
58 static time_t pw_pwdpolicy(struct userconf * cnf, struct cargs * args);
59 static time_t pw_exppolicy(struct userconf * cnf, struct cargs * args);
60 static char *pw_homepolicy(struct userconf * cnf, struct cargs * args, char const * user);
61 static char *pw_shellpolicy(struct userconf * cnf, struct cargs * args, char *newshell);
62 static char *pw_password(struct userconf * cnf, struct cargs * args, char const * user);
100 pw_user(struct userconf * cnf, int mode, struct cargs * args) argument
140 uid_t next = pw_uidpolicy(cnf, args);
144 pw_group(cnf, mod
832 pw_uidpolicy(struct userconf * cnf, struct cargs * args) argument
888 pw_gidpolicy(struct userconf * cnf, struct cargs * args, char *nam, gid_t prefer) argument
958 pw_pwdpolicy(struct userconf * cnf, struct cargs * args) argument
974 pw_exppolicy(struct userconf * cnf, struct cargs * args) argument
990 pw_homepolicy(struct userconf * cnf, struct cargs * args, char const * user) argument
1043 pw_shellpolicy(struct userconf * cnf, struct cargs * args, char *newshell) argument
1081 pw_password(struct userconf * cnf, struct cargs * args, char const * user) argument
[all...]
H A Dpw_group.c48 static gid_t gr_gidpolicy(struct userconf * cnf, struct cargs * args);
51 pw_group(struct userconf * cnf, int mode, struct cargs * args) argument
77 gid_t next = gr_gidpolicy(cnf, args);
135 pw_log(cnf, mode, W_GROUP, "%s(%ld) removed", a_name->val, (long) gid);
156 grp->gr_gid = gr_gidpolicy(cnf, args);
275 pw_log(cnf, mode, W_GROUP, "%s(%ld)", grp->gr_name, (long) grp->gr_gid);
341 gr_gidpolicy(struct userconf * cnf, struct cargs * args) argument
363 if (cnf->min_gid >= cnf->max_gid) { /* Sanity claus^H^H^H^Hheck */
364 cnf
[all...]
H A Dpw.h108 int pw_user(struct userconf * cnf, int mode, struct cargs * _args);
109 int pw_group(struct userconf * cnf, int mode, struct cargs * _args);
120 void pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...) __printflike(4, 5);
H A Dpw.c100 struct userconf *cnf; local
228 cnf = read_userconfig(config);
230 ch = funcs[which] (cnf, mode, &arglist);
254 pw_log(cnf, mode, which, "NIS maps updated");
/freebsd-10.0-release/crypto/openssl/crypto/x509v3/
H A Dv3_cpols.c139 CONF_VALUE *cnf;
153 cnf = sk_CONF_VALUE_value(vals, i);
154 if(cnf->value || !cnf->name ) {
156 X509V3_conf_err(cnf);
159 pstr = cnf->name;
169 X509V3_conf_err(cnf);
176 if(!(pobj = OBJ_txt2obj(cnf->name, 0))) {
178 X509V3_conf_err(cnf);
202 CONF_VALUE *cnf;
[all...]
H A Dv3_crld.c116 CONF_VALUE *cnf)
120 if (!strncmp(cnf->name, "fullname", 9))
122 fnm = gnames_from_sectname(ctx, cnf->value);
126 else if (!strcmp(cnf->name, "relativename"))
134 dnsect = X509V3_get_section(ctx, cnf->value);
274 CONF_VALUE *cnf; local
282 cnf = sk_CONF_VALUE_value(nval, i);
283 ret = set_dist_point_name(&point->distpoint, ctx, cnf);
288 if (!strcmp(cnf->name, "reasons"))
290 if (!set_reasons(&point->reasons, cnf
115 set_dist_point_name(DIST_POINT_NAME **pdp, X509V3_CTX *ctx, CONF_VALUE *cnf) argument
317 CONF_VALUE *cnf; local
450 CONF_VALUE *cnf; local
[all...]
H A Dv3_akey.c116 CONF_VALUE *cnf; local
128 cnf = sk_CONF_VALUE_value(values, i);
129 if(!strcmp(cnf->name, "keyid"))
132 if(cnf->value && !strcmp(cnf->value, "always"))
135 else if(!strcmp(cnf->name, "issuer"))
138 if(cnf->value && !strcmp(cnf->value, "always"))
144 ERR_add_error_data(2, "name=", cnf->name);
H A Dv3_pci.c256 CONF_VALUE *cnf = sk_CONF_VALUE_value(vals, i); local
257 if (!cnf->name || (*cnf->name != '@' && !cnf->value))
260 X509V3_conf_err(cnf);
263 if (*cnf->name == '@')
268 sect = X509V3_get_section(ctx, cnf->name + 1);
272 X509V3_conf_err(cnf);
287 if (!process_pci_value(cnf,
290 X509V3_conf_err(cnf);
[all...]
H A Dv3_info.c139 CONF_VALUE *cnf, ctmp;
148 cnf = sk_CONF_VALUE_value(nval, i);
154 ptmp = strchr(cnf->name, ';');
159 objlen = ptmp - cnf->name;
161 ctmp.value = cnf->value;
168 strncpy(objtmp, cnf->name, objlen);
H A Dv3_alt.c247 CONF_VALUE *cnf; local
254 cnf = sk_CONF_VALUE_value(nval, i);
255 if(!name_cmp(cnf->name, "issuer") && cnf->value &&
256 !strcmp(cnf->value, "copy")) {
260 if(!(gen = v2i_GENERAL_NAME(method, ctx, cnf)))
312 CONF_VALUE *cnf; local
319 cnf = sk_CONF_VALUE_value(nval, i);
320 if(!name_cmp(cnf->name, "email") && cnf
401 CONF_VALUE *cnf; local
418 v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, CONF_VALUE *cnf) argument
524 v2i_GENERAL_NAME_ex(GENERAL_NAME *out, const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, CONF_VALUE *cnf, int is_nc) argument
[all...]
H A Dv3_sxnet.c134 CONF_VALUE *cnf;
138 cnf = sk_CONF_VALUE_value(nval, i);
139 if(!SXNET_add_id_asc(&sx, cnf->name, cnf->value, -1))
/freebsd-10.0-release/crypto/openssl/crypto/engine/
H A Deng_cnf.c92 static int int_engine_configure(char *name, char *value, const CONF *cnf) argument
108 ecmds = NCONF_get_section(cnf, value);
169 if (!NCONF_get_number_e(cnf, value, "init", &do_init))
216 static int int_engine_module_init(CONF_IMODULE *md, const CONF *cnf) argument
226 elist = NCONF_get_section(cnf, CONF_imodule_get_value(md));
237 if (!int_engine_configure(cval->name, cval->value, cnf))
/freebsd-10.0-release/crypto/openssl/crypto/conf/
H A Dconf_mod.c112 static int module_run(const CONF *cnf, char *name, char *value,
118 const CONF *cnf);
119 static CONF_MODULE *module_load_dso(const CONF *cnf, char *name, char *value,
124 int CONF_modules_load(const CONF *cnf, const char *appname, argument
133 if (!cnf)
137 vsection = NCONF_get_string(cnf, NULL, appname);
140 vsection = NCONF_get_string(cnf, NULL, "openssl_conf");
148 values = NCONF_get_section(cnf, vsection);
156 ret = module_run(cnf, vl->name, vl->value, flags);
206 static int module_run(const CONF *cnf, cha argument
245 module_load_dso(const CONF *cnf, char *name, char *value, unsigned long flags) argument
347 module_init(CONF_MODULE *pmod, char *name, char *value, const CONF *cnf) argument
[all...]
H A Dconf.h111 typedef int conf_init_func(CONF_IMODULE *md, const CONF *cnf);
183 int CONF_modules_load(const CONF *cnf, const char *appname,
/freebsd-10.0-release/crypto/openssl/crypto/evp/
H A Devp_cnf.c74 static int alg_module_init(CONF_IMODULE *md, const CONF *cnf) argument
81 if(!(sktmp = NCONF_get_section(cnf, oid_section)))
/freebsd-10.0-release/crypto/openssl/apps/
H A Dasn1pars.c389 CONF *cnf = NULL; local
397 cnf = NCONF_new(NULL);
398 if (!NCONF_load(cnf, genconf, &errline))
401 genstr = NCONF_get_string(cnf, "default", "asn1");
409 atyp = ASN1_generate_nconf(genstr, cnf);
410 NCONF_free(cnf);
411 cnf = NULL;
440 NCONF_free(cnf);
H A Dapps.c721 CONF_VALUE *cnf; local
733 cnf = sk_CONF_VALUE_value(sktmp, i);
734 if(OBJ_create(cnf->value, cnf->name, cnf->name) == NID_undef) {
736 cnf->name, cnf->value);
1517 int load_config(BIO *err, CONF *cnf) argument
1523 if (!cnf)
1524 cnf
[all...]
H A Dapps.h270 int load_config(BIO *err, CONF *cnf);
/freebsd-10.0-release/crypto/openssl/crypto/asn1/
H A Dasn_moid.c71 static int oid_module_init(CONF_IMODULE *md, const CONF *cnf) argument
78 if(!(sktmp = NCONF_get_section(cnf, oid_section)))
H A Dasn1_gen.c120 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf);
126 X509V3_CTX cnf; local
131 X509V3_set_nconf(&cnf, nconf);
132 return ASN1_generate_v3(str, &cnf);
135 ASN1_TYPE *ASN1_generate_v3(char *str, X509V3_CTX *cnf) argument
161 if (!cnf)
166 ret = asn1_multi(asn1_tags.utype, asn1_tags.str, cnf);
448 static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf) argument
461 if (!cnf)
463 sect = X509V3_get_section(cnf, (cha
[all...]
/freebsd-10.0-release/etc/rc.d/
H A Dsendmail66 cat <<-OPENSSL_CNF > openssl.cnf &&
131 -config openssl.cnf -newkey rsa:2048 >/dev/null 2>&1 &&
135 -out newreq.pem -days 365 -config openssl.cnf \
141 openssl ca -notext -config openssl.cnf \
/freebsd-10.0-release/crypto/openssl/
H A DMakefile.org456 $(CLEARENV) && $(MAKE) -e $(BUILDENV) TOP=.. TESTS='$(TESTS)' OPENSSL_DEBUG_MEMORY=on OPENSSL_CONF=../apps/openssl.cnf tests );
457 OPENSSL_CONF=apps/openssl.cnf util/opensslwrap.sh version -a
493 apps/openssl-vms.cnf: apps/openssl.cnf
494 $(PERL) VMS/VMSify-conf.pl < apps/openssl.cnf > apps/openssl-vms.cnf
504 update: errors stacks util/libeay.num util/ssleay.num crypto/objects/obj_dat.h crypto/objects/obj_xref.h apps/openssl-vms.cnf crypto/bn/bn_prime.h TABLE depend
H A DMakefile458 $(CLEARENV) && $(MAKE) -e $(BUILDENV) TOP=.. TESTS='$(TESTS)' OPENSSL_DEBUG_MEMORY=on OPENSSL_CONF=../apps/openssl.cnf tests );
459 OPENSSL_CONF=apps/openssl.cnf util/opensslwrap.sh version -a
495 apps/openssl-vms.cnf: apps/openssl.cnf
496 $(PERL) VMS/VMSify-conf.pl < apps/openssl.cnf > apps/openssl-vms.cnf
506 update: errors stacks util/libeay.num util/ssleay.num crypto/objects/obj_dat.h crypto/objects/obj_xref.h apps/openssl-vms.cnf crypto/bn/bn_prime.h TABLE depend
/freebsd-10.0-release/crypto/openssl/util/
H A Dcygwin.sh139 usr/ssl/certs usr/ssl/man/man[157] usr/ssl/misc usr/ssl/openssl.cnf \

Completed in 286 milliseconds

12