/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | inq_cred.c | 90 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 D | context_time.c | 40 krb5_deltat lifetime; local 61 if ((lifetime = ctx->endtime - now) <= 0) { 66 *time_rec = lifetime;
|
H A D | inq_context.c | 105 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 D | add_cred.c | 86 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 D | cred.c | 174 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 D | kadm5_create.c | 56 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/cmd/krb5/kinit/ |
H A D | kinit.c | 140 krb5_deltat lifetime; member 197 krb5_deltat lifetime; member 396 code = krb5_string_to_deltat(optarg, &opts->lifetime); 397 if (code != 0 || opts->lifetime == 0) { 866 krb5_deltat lifetime = 0, rlife = 0, krb5_max_duration; local 894 if (opts->lifetime == 0 || opts->rlife == 0) { 904 if (opts->lifetime == 0 && life_timeval != NULL) { 905 code = krb5_string_to_deltat(life_timeval, &lifetime); 906 if (code != 0 || lifetime == 0 || lifetime > krb5_max_duration) { 912 opts->lifetime = lifetime; [all …]
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPReg.c | 99 unsigned short lifetime; member 190 unsigned short lifetime, const char *type, in packSrvReg() argument 201 ts = tp->tv_sec + lifetime; in packSrvReg() 254 if ((err = slp_add_sht(m, msgLen, lifetime, &len)) != SLP_OK) 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() 717 reg->wake_time = (time(NULL) + lifetime) - 60; in add_rereg() 759 shortest_wait = now + reregs->lifetime; in check_reregs() 766 (void) slp_sign(&(p->msg->urlbytes), 1, now + p->lifetime, in check_reregs() [all …]
|
H A D | SLPFindSrvs.c | 34 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/lib/libslp/javalib/com/sun/slp/ |
H A D | AuthBlock.java | 77 static Hashtable makeAuthBlocks(Object[] message, int lifetime) in makeAuthBlocks() argument 92 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() 450 AuthBlock(Object[] message, String spi, int bsd, int lifetime) in AuthBlock() argument 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() [all …]
|
H A D | CDAAdvert.java | 86 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 D | SLPHeaderV2.java | 723 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 D | ServiceURL.java | 97 private int lifetime = LIFETIME_DEFAULT; field in ServiceURL 133 lifetime = iLifetime; in ServiceURL() 199 return lifetime; in getLifetime()
|
H A D | ServiceStoreFactory.java | 268 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 D | SunDATable.java | 371 int lifetime = url.getLifetime(); in processReply() local 373 if (lifetime < shortTimer) { in processReply() 374 shortTimer = lifetime; in processReply()
|
H A D | SLPHeaderV1.java | 687 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 D | g_inquire_cred.c | 40 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 D | snoop_mip.c | 545 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 D | snoop_mip.h | 95 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 D | snoop_slp.c | 490 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()
|
H A D | snoop_icmp.c | 781 uint32_t lifetime = ntohl(net_lifetime); in interpret_lifetime() local 783 if (lifetime == 0) { in interpret_lifetime() 787 if (lifetime == LIFETIME_INFINITY) { in interpret_lifetime() 791 sprintf(buf, "%lu", lifetime); in interpret_lifetime()
|
/illumos-gate/usr/src/lib/pam_modules/krb5/ |
H A D | krb5_authenticate.c | 506 krb5_deltat lifetime; in attempt_krb5_auth() local 597 lifetime = krb5_max_duration; in attempt_krb5_auth() 627 code = krb5_string_to_deltat(life_timeval, &lifetime); in attempt_krb5_auth() 628 if (code != 0 || lifetime == 0 || in attempt_krb5_auth() 629 lifetime > krb5_max_duration) { in attempt_krb5_auth() 639 my_creds->times.endtime = now + lifetime; in attempt_krb5_auth() 655 krb5_get_init_creds_opt_set_tkt_life(opts, lifetime); in attempt_krb5_auth()
|
/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | rust-v0.c | 862 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 D | signcsr.c | 539 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, <ime) != 0) { in pk_signcsr()
|
H A D | gencert.c | 583 char *lifetime = NULL; in pk_gencert() local 685 if (lifetime) in pk_gencert() 687 lifetime = optarg_av; in pk_gencert() 789 if (Str2Lifetime(lifetime, <ime) != 0) { in pk_gencert()
|