Searched defs:token (Results 1 - 25 of 258) sorted by relevance

1234567891011

/illumos-gate/usr/src/uts/sun4v/sys/
H A Dds_pri.h54 uint64_t token; member in struct:dspri_info
H A Dds_snmp.h53 uint64_t token; member in struct:dssnmp_info
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_cred.c42 smb_cred_create(smb_token_t *token) argument
45 cr = (cred_t *)token; /* hack */
/illumos-gate/usr/src/lib/libpkg/common/
H A Dmappath.c66 char *token; local
72 * For each "/" separated token. If the token contains an environment
77 * If this is a token and it's an environment variable
91 * At this point EVERY token should evaluate
95 if ((token = getenv(varname)) != NULL &&
96 *token != NULL) {
98 while (*token)
99 *copy++ = *token++;
130 * move to the start of the next token
200 char *token; local
[all...]
H A Dckparam.c92 char *token; local
95 token = strtok(value, ", ");
97 while (token) {
98 ret_val += too_long(param, token, TOKLEN);
99 ret_val += not_ascii(param, token);
100 token = strtok(NULL, ", ");
125 char *token; local
128 token = strtok(value, ", ");
130 while (token) {
131 ret_val += too_long(param, token, TOKLE
[all...]
/illumos-gate/usr/src/lib/libpri/common/
H A Dpri.c97 * - token: opaque PRI token, accepted from and/or returned to caller,
104 * - PRI_GET call ignores the token passed in, and returns
105 * immediately with current PRI and its token (if any)
107 * whose token differs from the token passed in by the caller;
108 * the passed in token should come from a previous pri_get()
109 * call with return value >= 0; the new PRI buffer and its token
134 pri_get(uint8_t wait, uint64_t *token, uint64_t **buf, argument
148 /* wait until have new PRI with different token */
[all...]
/illumos-gate/usr/src/lib/libgss/
H A Dg_exp_sec_context.c83 gss_buffer_desc token; local
104 &ctx->internal_ctx_id, &token);
110 length = token.length + 4 + ctx->mech_type->length;
114 (void) gss_release_buffer(minor_status, &token);
128 (void) memcpy(buf+4+ctx->mech_type->length, token.value, token.length);
130 (void) gss_release_buffer(minor_status, &token);
H A Dg_imp_sec_context.c83 gss_buffer_desc token; local
126 token.length = interprocess_token->length - sizeof (OM_uint32) - length;
127 token.value = p;
145 &token, &ctx->internal_ctx_id);
/illumos-gate/usr/src/cmd/oawk/
H A Dmakeprctab.c35 { int token; member in struct:xx
105 for (p = proc; p->token != 0; p++)
108 for (p = proc; p->token != 0; p++)
109 table[p->token-FIRSTTOKEN] = p->name;
118 for (p = proc; p->token != 0; p++)
119 names[p->token-FIRSTTOKEN] = p->pname;
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Denv.c31 static const char *token = ":"; variable
43 tok = strtok_r(envstr, token, &lasts);
53 tok = strtok_r(NULL, token, &lasts);
/illumos-gate/usr/src/cmd/sgs/tsort/common/
H A Derrtext.c164 char *token; local
170 for (token = errstrtok(buf, space); token;
171 token = errstrtok((char *)0, space)) {
172 if (strcmp(token, "nochange") == 0) {
180 } else if (strcmp(token, "silent") == 0) {
189 } else if (strcmp(token, "verbose") == 0) {
198 } else if (strcmp(token, "expert") == 0) {
207 } else if (strcmp(token, "bell") == 0) {
209 } else if (strcmp(token, "nobel
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_2path.c32 static int token2path(char *svc, uint_t token, char *buf, uint_t len);
47 token2path(char *service, uint_t token, char *buf, uint_t len) argument
68 ci[3] = p1275_uint2cell(token); /* Arg1: ihandle/phandle */
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_cred.c44 * Allocate a Solaris cred and initialize it based on the access token.
51 * to the token's primary group.
54 smb_cred_create(smb_token_t *token) argument
62 ASSERT(token);
63 ASSERT(token->tkn_posix_grps);
64 posix_grps = token->tkn_posix_grps;
69 if (!IDMAP_ID_IS_EPHEMERAL(token->tkn_user.i_id) &&
73 gid = token->tkn_primary_grp.i_id;
76 if (crsetugid(cr, token->tkn_user.i_id, gid) != 0) {
86 smb_cred_set_sid(&token
[all...]
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_token.c50 * access token.
53 smb_token_query_privilege(smb_token_t *token, int priv_id) argument
58 if ((token == NULL) || (token->tkn_privileges == NULL))
61 privset = token->tkn_privileges;
75 * Basic sanity check on a token.
78 smb_token_valid(smb_token_t *token) argument
80 if (token == NULL)
83 if ((token->tkn_user.i_sid == NULL) ||
84 (token
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A DMICwrap.c45 * a Diffie-Hellman DH_MIC token pointed to by token.
54 gss_buffer_t token /* output token */)
60 /* grap a pointer to the mic part of the token */
65 * Make sure we can return the mechanism status an the token
68 if (minor == 0 || token == GSS_C_NO_BUFFER)
87 /* Set the token version number and type */
91 /* Set the token qop, seq_number and client flag */
99 * Build the the output token fro
119 __dh_gss_verify(void *ctx, OM_uint32 *minor, gss_ctx_id_t context, gss_buffer_t message, gss_buffer_t token, int *qop ) argument
[all...]
H A Dcontext.c99 gss_buffer_t token /* GSS token */)
116 * If token then set the length to zero value to zero to indicate
117 * We indicat a null token since we don't need to send a token to
121 if (token) {
122 token->length = 0;
123 token->value = NULL;
162 gss_ctx_id_t *context, gss_buffer_t token)
170 gss_buffer_t token, gss_ctx_id_
161 __dh_gss_export_sec_context(void *ctx, OM_uint32 *minor, gss_ctx_id_t *context, gss_buffer_t token) argument
169 __dh_gss_import_sec_context(void * ctx, OM_uint32 *minor, gss_buffer_t token, gss_ctx_id_t *context) argument
261 __dh_gss_process_context_token(void *ctx, OM_uint32 *minor, gss_ctx_id_t context, gss_buffer_t token) argument
288 dh_token_desc token; local
[all...]
H A Dtoken.c23 * token.c
80 * token which has an ASN.1 application 0 header prepended. The unserialized
81 * token supplied should be of type DH_INIT_CNTX.
105 * ~ ~ Serialized DH token
111 * We will define the token_size to be the sizeof the serialize token plus
116 __make_ap_token(gss_buffer_t result, /* The serialized token */ argument
118 dh_token_t token, /* The unserialized input token */
119 dh_key_set_t keys /* The session keys to sign the token */)
126 /* Allocate the signature for the input token */
212 __make_token(gss_buffer_t result, gss_buffer_t msg, dh_token_t token, dh_key_set_t keys ) argument
295 __get_ap_token(gss_buffer_t input, gss_OID mech, dh_token_t token, dh_signature_t sig ) argument
403 __get_token(gss_buffer_t input, gss_buffer_t msg, dh_token_t token, dh_key_set_t keys ) argument
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppbuiltin.c46 char* token; local
57 token = pp.token;
58 p = pp.token = pp.tmpbuf;
69 p = pp.token = pp.valbuf;
86 if (op) pp.token = pp.toknxt;
89 *pp.token = 0;
90 pp.token = token;
113 pp.token
[all...]
/illumos-gate/usr/src/lib/libcommputil/common/
H A Dcommp_util.c57 * Finds the token in the char buffer. *current will be pointing to the
58 * token when function returns. If the char buffer has leading token,
63 char token, boolean_t last)
67 if (!last && (**current == token))
62 commp_find_token(const char **begin, const char **current, const char *end, char token, boolean_t last) argument
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddsparse.c50 char *p, *line, *token, **toks; local
66 while (( token = next_token( &p )) != NULL ) {
73 toks[ tokcnt ] = token;
182 *t++ = '\0'; /* end of token */
/illumos-gate/usr/src/cmd/awk/
H A Dmaketab.c37 int token; member in struct:xx
135 fprintf(stderr, gettext("maketab funny token %d %s\n"),
146 for (p = proc; p->token != 0; p++)
147 table[p->token-FIRSTTOKEN] = p->name;
160 printf(" (void) sprintf(buf, \"token %%d\", n);\n");
/illumos-gate/usr/src/lib/libfru/libgenutil/
H A DStr.cc153 Str::tokenize(Str& token, const Str& separators, Str& remainder) argument
161 token = rc;
170 token = "";
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_metaslot.c105 (void) printf(gettext("Persistent object store token: %s\n"),
439 * token: if specified, indicate label of token to be used as keystore.
442 * not be specified if either token or slot is specified.
448 enable_metaslot(char *token, char *slot, boolean_t use_default, argument
506 if (!use_default && !token && !slot) {
521 if (token) {
522 (void) strlcpy((char *)puent->metaslot_ks_token, token,
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_list.c105 char *token = NULL; local
119 token = strtok_r(str, delimiter, &ptrptr);
120 for (count = 1; ((token != NULL) && (count < MAX_LIST_ENTRIES));
122 *plist = strdup(token);
127 token = strtok_r(NULL, delimiter, &ptrptr);
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_freeze.c59 nsc_path_t *token; member in struct:_nsc_frz_s
150 frz->token = nsc_register_path(path, NSC_DEVICE, _nsc_frz_io);
152 if (!frz->token) {
196 if (frz->token)
197 rc = nsc_unregister_path(frz->token, NSC_PCATCH);

Completed in 111 milliseconds

1234567891011