Home
last modified time | relevance | path

Searched refs:lifetime (Results 1 – 25 of 50) sorted by relevance

12

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinq_cred.c90 krb5_deltat lifetime; local
141 if ((lifetime = cred->tgt_expire - now) < 0)
142 lifetime = 0;
145 lifetime = GSS_C_INDEFINITE;
196 *lifetime_ret = lifetime;
210 return((lifetime == 0)?GSS_S_CREDENTIALS_EXPIRED:GSS_S_COMPLETE);
235 OM_uint32 lifetime; local
252 &lifetime,
260 *initiator_lifetime = lifetime;
265 *acceptor_lifetime = lifetime;
H A Dcontext_time.c40 krb5_deltat lifetime; local
61 if ((lifetime = ctx->endtime - now) <= 0) {
66 *time_rec = lifetime;
H A Dinq_context.c105 krb5_deltat lifetime; local
137 if ((lifetime = ctx->endtime - now) < 0)
138 lifetime = 0;
182 *lifetime_rec = lifetime;
198 return((lifetime == 0)?GSS_S_CONTEXT_EXPIRED:GSS_S_COMPLETE);
H A Dadd_cred.c86 OM_uint32 major_status, lifetime; local
374 NULL, &lifetime,
386 *initiator_time_rec = lifetime;
388 *acceptor_time_rec = lifetime;
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcred.c174 OM_uint32 *lifetime, /* return the time remainning */ in __dh_gss_inquire_cred() argument
197 if (lifetime) in __dh_gss_inquire_cred()
198 *lifetime = GSS_C_INDEFINITE; in __dh_gss_inquire_cred()
207 if (lifetime) { in __dh_gss_inquire_cred()
209 *lifetime = GSS_C_INDEFINITE; in __dh_gss_inquire_cred()
213 *lifetime = t; in __dh_gss_inquire_cred()
254 OM_uint32 lifetime; in __dh_gss_inquire_cred_by_mech() local
266 &lifetime, &use, NULL); in __dh_gss_inquire_cred_by_mech()
273 use == GSS_C_INITIATE) ? lifetime : 0; in __dh_gss_inquire_cred_by_mech()
277 use == GSS_C_ACCEPT) ? lifetime : 0; in __dh_gss_inquire_cred_by_mech()
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkadm5_create.c56 char *name, char *realm, int attrs, int lifetime);
59 char *sname, int attrs, int lifetime);
62 krb5_principal principal, int attrs, int lifetime);
268 krb5_principal principal, int attrs, int lifetime) in add_admin_princ() argument
280 ent.max_life = lifetime; in add_admin_princ()
381 char *name, char *realm, int attrs, int lifetime) in add_admin_old_princ() argument
393 return (add_admin_princ(handle, context, principal, attrs, lifetime)); in add_admin_old_princ()
398 char *sname, int attrs, int lifetime) in add_admin_sname_princ() argument
410 return (add_admin_princ(handle, context, principal, attrs, lifetime)); in add_admin_sname_princ()
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPReg.c99 unsigned short lifetime; member
190 unsigned short lifetime, const char *type, in packSrvReg() argument
201 ts = tp->tv_sec + lifetime; in packSrvReg()
692 unsigned short lifetime) { in add_rereg() argument
696 if (lifetime != SLP_LIFETIME_MAXIMUM) { in add_rereg()
716 reg->lifetime = lifetime; in add_rereg()
759 shortest_wait = now + reregs->lifetime; in check_reregs()
776 p->wake_time = now + p->lifetime; in check_reregs()
794 unsigned short lifetime = 0; in dereg_rereg() local
808 lifetime = p->lifetime; in dereg_rereg()
[all …]
H A DSLPFindSrvs.c34 unsigned short lifetime; member
467 if (s1->lifetime != s2->lifetime) in compare_surls()
468 return (s1->lifetime - s2->lifetime); in compare_surls()
488 n->lifetime = life; in collate_surls()
531 n->lifetime, in process_surl_node()
/illumos-gate/usr/src/cmd/krb5/kinit/
H A Dkinit.c140 krb5_deltat lifetime; member
197 krb5_deltat lifetime; member
906 if (code != 0 || lifetime == 0 || lifetime > krb5_max_duration) {
912 opts->lifetime = lifetime;
965 if (opts->lifetime)
1066 if (!opts->lifetime) {
1128 if (!k4->lifetime)
1129 k4->lifetime = opts->lifetime;
1130 if (!k4->lifetime)
1133 k4->lifetime = krb_time_to_life(0, k4->lifetime);
[all …]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAuthBlock.java92 blocks.put(spi, new AuthBlock(message, spi, bsd, lifetime)); in makeAuthBlocks()
175 int lifetime = Integer.MAX_VALUE; in getShortestLifetime() local
180 lifetime = (lifetime < abLife) ? lifetime : abLife; in getShortestLifetime()
183 return lifetime; in getShortestLifetime()
462 this.lifetime = lifetime; in AuthBlock()
463 this.timeStamp = SLPConfig.currentSLPTime() + lifetime; in AuthBlock()
561 lifetime = (int) time; in AuthBlock()
562 lifetime = lifetime < 0 ? 0 : lifetime; in AuthBlock()
635 if (lifetime == 0) {
730 return lifetime;
[all …]
H A DCDAAdvert.java86 int lifetime = getDAURLLifetime(); in initialize() local
143 lifetime = AuthBlock.getShortestLifetime(authBlock); in initialize()
151 URL = new ServiceURL(surl, lifetime); in initialize()
252 int lifetime = disInt + granInt; in getDAURLLifetime() local
255 (lifetime > ServiceURL.LIFETIME_MAXIMUM ? in getDAURLLifetime()
256 ServiceURL.LIFETIME_MAXIMUM:lifetime); in getDAURLLifetime()
H A DSLPHeaderV2.java723 int lifetime = getInt(dis); in parseServiceURLIn() local
753 lifetime = AuthBlock.getShortestLifetime(auth); in parseServiceURLIn()
762 url = new ServiceURL(ssurl, lifetime); in parseServiceURLIn()
935 int lifetime, in parseAttributeVectorOut() argument
973 auth = getCheckedAuthBlockList(message, lifetime); in parseAttributeVectorOut()
1013 Hashtable getCheckedAuthBlockList(Object[] message, int lifetime) in getCheckedAuthBlockList() argument
1024 return AuthBlock.makeAuthBlocks(message, lifetime); in getCheckedAuthBlockList()
H A DServiceURL.java97 private int lifetime = LIFETIME_DEFAULT; field in ServiceURL
133 lifetime = iLifetime; in ServiceURL()
199 return lifetime; in getLifetime()
H A DServiceStoreFactory.java268 int lifetime = Integer.parseInt(slifetime); in deserialize() local
272 if (lifetime == ServiceURL.LIFETIME_MAXIMUM) { in deserialize()
273 lifetime = ServiceURL.LIFETIME_PERMANENT; in deserialize()
277 url = new ServiceURL(surl, lifetime); in deserialize()
H A DSunDATable.java371 int lifetime = url.getLifetime(); in processReply() local
373 if (lifetime < shortTimer) { in processReply()
374 shortTimer = lifetime; in processReply()
H A DSLPHeaderV1.java687 int lifetime = 0; in parseServiceURLIn() local
691 lifetime = getInt(dis); in parseServiceURLIn()
700 url = new ServiceURLV1(buf.toString(), lifetime); in parseServiceURLIn()
/illumos-gate/usr/src/lib/libgss/
H A Dg_inquire_cred.c40 lifetime, in gss_inquire_cred() argument
47 OM_uint32 *lifetime;
91 lifetime, cred_usage,
132 if (lifetime != NULL) {
134 *lifetime = union_cred->auxinfo.time_rec < elapsed_time ? 0 :
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_mip.c545 if (ntohs(rreq->lifetime) == 0xffff) { in interpret_mip_cntrlmsg()
547 (char *)&rreq->lifetime - dlc_header, 1), in interpret_mip_cntrlmsg()
549 } else if (ntohs(rreq->lifetime) == 0) { in interpret_mip_cntrlmsg()
551 (char *)&rreq->lifetime - dlc_header, 1), in interpret_mip_cntrlmsg()
556 (char *)&rreq->lifetime - dlc_header, 1), in interpret_mip_cntrlmsg()
558 ntohs(rreq->lifetime)); in interpret_mip_cntrlmsg()
590 if (ntohs(rrep->lifetime) == 0xffff) { in interpret_mip_cntrlmsg()
592 (char *)&rrep->lifetime - dlc_header, 1), in interpret_mip_cntrlmsg()
594 } else if (ntohs(rrep->lifetime) == 0) { in interpret_mip_cntrlmsg()
596 (char *)&rrep->lifetime - dlc_header, 1), in interpret_mip_cntrlmsg()
[all …]
H A Dsnoop_mip.h95 ushort_t lifetime; /* 0 = dereg; 0xffff = infinity */ member
117 ushort_t lifetime; /* 0 = dereg; 0xffff = infinity */ member
133 ushort_t lifetime; /* 0 = dereg; 0xffff = infinity */ member
H A Dsnoop_slp.c490 int lifetime, length, n; in slpv2_url() local
499 if ((lifetime = netval) < 0) in slpv2_url()
508 exp = time(0) + lifetime; in slpv2_url()
512 length, lifetime, ctime(&exp)); in slpv2_url()
517 cnt, length, lifetime, ctime(&exp)); in slpv2_url()
1728 int lifetime, length; in slpv1_url() local
1731 if ((lifetime = netval) < 0) in slpv1_url()
1737 exp = time(0) + lifetime; in slpv1_url()
1739 length, lifetime, ctime(&exp)); in slpv1_url()
/illumos-gate/usr/src/lib/pam_modules/krb5/
H A Dkrb5_authenticate.c513 krb5_deltat lifetime; in attempt_krb5_auth() local
604 lifetime = krb5_max_duration; in attempt_krb5_auth()
634 code = krb5_string_to_deltat(life_timeval, &lifetime); in attempt_krb5_auth()
635 if (code != 0 || lifetime == 0 || in attempt_krb5_auth()
636 lifetime > krb5_max_duration) { in attempt_krb5_auth()
646 my_creds->times.endtime = now + lifetime; in attempt_krb5_auth()
662 krb5_get_init_creds_opt_set_tkt_life(opts, lifetime); in attempt_krb5_auth()
/illumos-gate/usr/src/lib/libdemangle/common/
H A Drust-v0.c862 rustv0_append_lifetime(rust_state_t *restrict st, uint64_t lifetime) in rustv0_append_lifetime() argument
872 if (lifetime == 0) in rustv0_append_lifetime()
875 if (sub_overflow(st->rs_lt_depth, lifetime, &bound_lt)) { in rustv0_append_lifetime()
877 " > current depth %" PRIu64, __func__, lifetime, in rustv0_append_lifetime()
900 uint64_t lifetime; in rustv0_parse_lifetime() local
905 if (!rustv0_parse_base62(st, sv, &lifetime)) in rustv0_parse_lifetime()
908 return (rustv0_append_lifetime(st, lifetime)); in rustv0_parse_lifetime()
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dsigncsr.c539 char *lifetime = NULL; in pk_signcsr() local
646 if (lifetime != NULL) in pk_signcsr()
648 lifetime = optarg_av; in pk_signcsr()
692 if (lifetime != NULL) { in pk_signcsr()
693 if (Str2Lifetime(lifetime, &ltime) != 0) { in pk_signcsr()
H A Dgencert.c583 char *lifetime = NULL; in pk_gencert() local
685 if (lifetime) in pk_gencert()
687 lifetime = optarg_av; in pk_gencert()
789 if (Str2Lifetime(lifetime, &ltime) != 0) { in pk_gencert()
/illumos-gate/usr/src/uts/common/gssapi/
H A Dgssd_clnt_stubs.c2175 lifetime, in kgss_inquire_cred_wrapped() argument
2183 OM_uint32 *lifetime;
2208 if (lifetime != NULL)
2209 *lifetime = 0;
2282 if (lifetime != NULL)
2283 *lifetime = res.lifetime;
2326 lifetime, in kgss_inquire_cred() argument
2333 OM_uint32 *lifetime;
2347 name, lifetime, cred_usage, mechanisms, uid));

12