/freebsd-10.0-release/usr.sbin/pw/ |
H A D | pw_log.c | 39 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 D | pw_user.c | 56 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 D | pw_group.c | 48 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 D | pw.h | 108 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 D | pw.c | 100 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 D | v3_cpols.c | 139 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 D | v3_crld.c | 116 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 D | v3_akey.c | 116 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 D | v3_pci.c | 256 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 D | v3_info.c | 139 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 D | v3_alt.c | 247 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 D | v3_sxnet.c | 134 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 D | eng_cnf.c | 92 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 D | conf_mod.c | 112 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 D | conf.h | 111 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 D | evp_cnf.c | 74 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 D | asn1pars.c | 389 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 D | apps.c | 721 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 D | apps.h | 270 int load_config(BIO *err, CONF *cnf);
|
/freebsd-10.0-release/crypto/openssl/crypto/asn1/ |
H A D | asn_moid.c | 71 static int oid_module_init(CONF_IMODULE *md, const CONF *cnf) argument 78 if(!(sktmp = NCONF_get_section(cnf, oid_section)))
|
H A D | asn1_gen.c | 120 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 D | sendmail | 66 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 D | Makefile.org | 456 $(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 D | Makefile | 458 $(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 D | cygwin.sh | 139 usr/ssl/certs usr/ssl/man/man[157] usr/ssl/misc usr/ssl/openssl.cnf \
|