Home
last modified time | relevance | path

Searched refs:pent (Results 1 – 18 of 18) sorted by relevance

/titanic_41/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef.c128 entry_t *pent = NULL; in list_policy_for_soft() local
145 pent = getent_kef(provname, phardlist, psoftlist); in list_policy_for_soft()
161 print_kef_policy(provname, pent, has_random, has_mechs); in list_policy_for_soft()
162 free_entry(pent); in list_policy_for_soft()
184 entry_t *pent = NULL; in list_policy_for_hard() local
229 if ((pent = getent_kef(provname, phardlist, psoftlist)) != NULL) { in list_policy_for_hard()
230 print_kef_policy(provname, pent, has_random, has_mechs); in list_policy_for_hard()
231 free_entry(pent); in list_policy_for_hard()
271 entry_t *pent = NULL; in disable_kef_hardware() local
301 if ((pent = getent_kef(provname, NULL, NULL)) == NULL) { in disable_kef_hardware()
[all …]
H A Dadm_kef_util.c40 static int build_entrylist(entry_t *pent, entrylist_t **pplist);
45 static int parse_sup_dis_list(const char *buf, entry_t *pent);
106 entry_t *pent = NULL; in create_entry() local
112 pent = calloc(1, sizeof (entry_t)); in create_entry()
113 if (pent == NULL) { in create_entry()
118 (void) strlcpy(pent->name, provname, MAXNAMELEN); in create_entry()
119 pent->suplist = NULL; in create_entry()
120 pent->sup_count = 0; in create_entry()
121 pent->dislist = NULL; in create_entry()
122 pent->dis_count = 0; in create_entry()
[all …]
H A Dadm_kef_ioctl.c51 setup_soft_conf(entry_t *pent) in setup_soft_conf() argument
59 if (pent == NULL) { in setup_soft_conf()
63 sup_count = pent->sup_count; in setup_soft_conf()
76 (void) strlcpy(pload_soft_conf->sc_name, pent->name, MAXNAMELEN); in setup_soft_conf()
80 plist = pent->suplist; in setup_soft_conf()
96 setup_soft_dis(entry_t *pent) in setup_soft_dis() argument
104 if (pent == NULL) { in setup_soft_dis()
108 dis_count = pent->dis_count; in setup_soft_dis()
121 (void) strlcpy(pload_soft_dis->sd_name, pent->name, MAXNAMELEN); in setup_soft_dis()
125 plist = pent->dislist; in setup_soft_dis()
[all …]
H A Dcryptoadm.c1102 entry_t *pent = NULL; in do_unload() local
1155 if ((pent = getent_kef(provname, NULL, NULL)) == NULL) { in do_unload()
1156 if ((pent = create_entry(provname)) == NULL) { in do_unload()
1164 if (!pent->load) { /* unloaded already */ in do_unload()
1171 pent->load = B_FALSE; in do_unload()
1172 rc = update_kcfconf(pent, MODIFY_MODE); in do_unload()
1180 free_entry(pent); in do_unload()
1252 entry_t *pent = NULL; in list_simple_for_all() local
1313 pent = getent_kef(psoftname, in list_simple_for_all()
1316 (pent == NULL) || (pent->load) ? in list_simple_for_all()
[all …]
H A Dcryptoadm.h86 entry_t *pent; member
123 extern void print_kef_policy(char *provname, entry_t *pent,
/titanic_41/usr/src/lib/libcryptoutil/common/
H A Dconfig_parsing.c50 uentry_t *pent; in get_pkcs11conf_info() local
73 if ((rc = uef_interpret(buffer, &pent)) != SUCCESS) { in get_pkcs11conf_info()
82 free_uentry(pent); in get_pkcs11conf_info()
86 pentlist->puent = pent; in get_pkcs11conf_info()
161 uentry_t *pent; in uef_interpret() local
173 pent = calloc(sizeof (uentry_t), 1); in uef_interpret()
174 if (pent == NULL) { in uef_interpret()
179 (void) strlcpy(pent->name, token1, sizeof (pent->name)); in uef_interpret()
183 &pent->flag_fips_enabled)) != SUCCESS) { in uef_interpret()
184 free_uentry(pent); in uef_interpret()
[all …]
/titanic_41/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_policy.c101 osa_policy_ent_rec pent; in kadm5_create_policy_internal() local
114 pent.name = entry->policy; in kadm5_create_policy_internal()
123 pent.pw_max_life = 0; in kadm5_create_policy_internal()
125 pent.pw_max_life = entry->pw_max_life; in kadm5_create_policy_internal()
127 pent.pw_min_life = 0; in kadm5_create_policy_internal()
133 pent.pw_min_life = entry->pw_min_life; in kadm5_create_policy_internal()
136 pent.pw_min_length = MIN_PW_LENGTH; in kadm5_create_policy_internal()
140 pent.pw_min_length = entry->pw_min_length; in kadm5_create_policy_internal()
143 pent.pw_min_classes = MIN_PW_CLASSES; in kadm5_create_policy_internal()
147 pent.pw_min_classes = entry->pw_min_classes; in kadm5_create_policy_internal()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/
H A Dnwamadm.c662 profile_entry_t *pent = ofarg->ofmt_cbarg; in print_list_cb() local
667 if (pent->p_type == NWAM_OBJECT_TYPE_NCU) { in print_list_cb()
670 pent->p_ncu_class, &class) != NWAM_SUCCESS) in print_list_cb()
673 nwam_object_type_to_string(pent->p_type), class); in print_list_cb()
676 nwam_object_type_to_string(pent->p_type), bufsize); in print_list_cb()
680 (void) strlcpy(buf, pent->p_name, bufsize); in print_list_cb()
683 (void) strlcpy(buf, nwam_state_to_string(pent->p_state), in print_list_cb()
688 nwam_aux_state_to_string(pent->p_aux_state), bufsize); in print_list_cb()
739 profile_entry_t *pent) in add_to_profile_entry() argument
744 pent->p_type = type; in add_to_profile_entry()
[all …]
/titanic_41/usr/src/cmd/svr4pkg/pkgremove/
H A Dspecial.c434 pathcmp(const char *pc, const struct cfent *pent) in pathcmp() argument
437 if ((pent->ftype == 's' || pent->ftype == 'l') && in pathcmp()
438 pent->ainfo.local) { in pathcmp()
442 i = strcmp(pc, pent->path); in pathcmp()
453 i = strcmp(pc, pent->path); in pathcmp()
458 i = strcmp(q, pent->ainfo.local); in pathcmp()
465 i = strcmp(pc, pent->path); in pathcmp()
/titanic_41/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_ad.c65 directory_entry_rpc *pent, const char * const * attrs, int nattrs,
281 directory_entry_rpc *pent, in directory_provider_ad_lookup() argument
302 cbinfo.entry = pent; in directory_provider_ad_lookup()
379 directory_entry_rpc *pent = cbinfo->entry; in directory_provider_ad_cb1() local
401 if (pent->status != DIRECTORY_NOT_FOUND) { in directory_provider_ad_cb1()
411 pent->directory_entry_rpc_u.attrs.attrs_val = llvals; in directory_provider_ad_cb1()
412 pent->directory_entry_rpc_u.attrs.attrs_len = nattrs; in directory_provider_ad_cb1()
413 pent->status = DIRECTORY_FOUND; in directory_provider_ad_cb1()
460 directory_entry_set_error(pent, de); in directory_provider_ad_cb1()
H A Ddirectory_provider_builtin.c49 directory_entry_rpc *pent, const wksids_table_t *wksid,
148 directory_entry_rpc *pent, in directory_provider_builtin_populate() argument
162 pent->status = DIRECTORY_FOUND; in directory_provider_builtin_populate()
163 pent->directory_entry_rpc_u.attrs.attrs_val = llvals; in directory_provider_builtin_populate()
164 pent->directory_entry_rpc_u.attrs.attrs_len = nattrs; in directory_provider_builtin_populate()
H A Ddirectory_provider_nsswitch.c50 directory_entry_rpc *pent, struct passwd *pwd, struct group *grp,
249 directory_entry_rpc *pent, in directory_provider_nsswitch_populate() argument
274 pent->directory_entry_rpc_u.attrs.attrs_val = llvals; in directory_provider_nsswitch_populate()
275 pent->directory_entry_rpc_u.attrs.attrs_len = nattrs; in directory_provider_nsswitch_populate()
276 pent->status = DIRECTORY_FOUND; in directory_provider_nsswitch_populate()
/titanic_41/usr/src/cmd/power/
H A Dparse.c126 struct passwd *pent; in lookup_perms() local
134 } else if ((pent = getpwuid(ruid)) != NULL) { in lookup_perms()
135 user = pent->pw_name; in lookup_perms()
/titanic_41/usr/src/lib/libcryptoutil/
H A DREADME142 uentry_t *pent;
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c3003 struct protoent *pent; in printproto() local
3005 pent = getprotobynumber(proto); in printproto()
3006 if (pent != NULL) { in printproto()
3007 (void) fprintf(fp, "%s\n", pent->p_name); in printproto()
4638 struct protoent *pent; in readproto() local
4646 pent = getprotobyname(proto_str); in readproto()
4647 if (pent) { in readproto()
4648 *proto = pent->p_proto; in readproto()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c4213 struct protoent *pent; in form_ipsec_conf() local
4650 pent = getprotobyname(act_props->pattern[i]); in form_ipsec_conf()
4651 if (pent == NULL) { in form_ipsec_conf()
4661 cptr->ips_ulp_prot = pent->p_proto; in form_ipsec_conf()
/titanic_41/usr/src/cmd/look/
H A Dwords16911 pent
/titanic_41/usr/src/cmd/spell/
H A Dlist16909 pent