Home
last modified time | relevance | path

Searched refs:secp (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/lp/lib/secure/
H A Dsecure.c47 SECURE *secp; in getsecure() local
70 secp = calloc(sizeof (*secp), 1); in getsecure()
72 secp->user = 0; in getsecure()
114 freesecure (secp); in getsecure()
126 secp->uid > MAXUID in getsecure()
127 || !secp->user in getsecure()
128 || secp->gid > MAXUID in getsecure()
129 || secp->size == 0 in getsecure()
130 || secp->date <= 0 in getsecure()
132 freesecure (secp); in getsecure()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_sec.c236 secp->sc_nfsnum = atoi(tok1); in matchname()
239 secp->sc_gss_mech_type = NULL; in matchname()
240 if (secp->sc_gss_mech[0] != '-') { in matchname()
289 if (secp->sc_gss_mech[0] != '-') { in matchnum()
307 get_rpcnum(seconfig_t *secp) in get_rpcnum() argument
310 secp->sc_rpcnum = RPCSEC_GSS; in get_rpcnum()
312 secp->sc_rpcnum = secp->sc_nfsnum; in get_rpcnum()
787 if (secp == NULL) in nfs_getseconfig_default()
872 secdata->uid = secp->sc_uid; in nfs_clnt_secdata()
890 switch (secp->sc_rpcnum) { in nfs_clnt_secdata()
[all …]
/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_auth.c29 ndr_sec_t *secp = &mxa->send_auth; in ndr_add_auth_token() local
31 secp->auth_type = ctx->auth_type; in ndr_add_auth_token()
32 secp->auth_level = ctx->auth_level; in ndr_add_auth_token()
33 secp->auth_rsvd = 0; in ndr_add_auth_token()
39 secp->auth_pad_len = P2ROUNDUP(nds->pdu_scan_offset, 16) - in ndr_add_auth_token()
42 secp->auth_pad_len, NULL) == 0) in ndr_add_auth_token()
46 nds->pdu_scan_offset += secp->auth_pad_len; in ndr_add_auth_token()
50 secp->auth_context_id = ctx->auth_context_id; in ndr_add_auth_token()
156 ndr_sec_t *secp = &mxa->recv_auth; in ndr_check_auth() local
167 if (ctx->auth_type != secp->auth_type || in ndr_check_auth()
[all …]
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dnfs_nfssec.c73 seconfig_t secp, defsecp; in nfssec_get_default_secmode() local
78 err = nfs_getseconfig_default(&secp); in nfssec_get_default_secmode()
84 err = nfs_getseconfig_bynumber(secp.sc_nfsnum, &defsecp); in nfssec_get_default_secmode()
/illumos-gate/usr/src/cmd/chmod/
H A Dchmod.c148 sec_args_t *secp, attr_name_t *attrname);
299 if (secp != NULL) { in dochmod()
300 if (secp->sec_type == SEC_ACL) { in dochmod()
301 return (doacl(name, &st, secp->sec_acls)); in dochmod()
302 } else if (secp->sec_type == SEC_ATTR) { in dochmod()
349 if (secp != NULL) { in chmodr()
354 if (secp->sec_type == SEC_ACL) { in chmodr()
355 (void) doacl(dir, &st, secp->sec_acls); in chmodr()
356 } else if (secp->sec_type == SEC_ATTR) { in chmodr()
357 (void) set_attrs(dir, attrnames, secp->sec_attrs); in chmodr()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_server.c2145 secp = NULL; in checkauth()
2150 secp = sptr; in checkauth()
2180 secp = NULL; in checkauth()
2189 if (!secp) { in checkauth()
2211 secp->s_rootcnt, secp->s_rootnames)) { in checkauth()
2216 (void) crsetugid(cr, secp->s_rootid, secp->s_rootid); in checkauth()
2383 secp = NULL; in checkauth4()
2417 secp = NULL; in checkauth4()
2426 if (!secp) { in checkauth4()
2448 secp->s_rootcnt, secp->s_rootnames)) { in checkauth4()
[all …]
H A Dnfs_export.c165 srv_secinfo_entry_free(struct secinfo *secp) in srv_secinfo_entry_free() argument
167 if (secp->s_rootcnt > 0 && secp->s_rootnames != NULL) { in srv_secinfo_entry_free()
169 secp->s_rootcnt, secp->s_rootnames); in srv_secinfo_entry_free()
170 secp->s_rootcnt = 0; in srv_secinfo_entry_free()
174 (secp->s_secinfo.sc_gss_mech_type)) { in srv_secinfo_entry_free()
176 secp->s_secinfo.sc_gss_mech_type->length); in srv_secinfo_entry_free()
177 kmem_free(secp->s_secinfo.sc_gss_mech_type, in srv_secinfo_entry_free()
179 secp->s_secinfo.sc_gss_mech_type = NULL; in srv_secinfo_entry_free()
1167 struct secinfo *secp; in rfs_gsscallback() local
1171 secp = exi->exi_export.ex_secinfo; in rfs_gsscallback()
[all …]
H A Dnfs4_srv.c1101 struct secinfo *secp; in do_rfs4_op_secinfo() local
1251 secp = exi->exi_export.ex_secinfo; in do_rfs4_op_secinfo()
1254 si = &secp[i].s_secinfo; in do_rfs4_op_secinfo()
1281 secp = exi->exi_export.ex_secinfo; in do_rfs4_op_secinfo()
1288 flavor = secp[i].s_secinfo.sc_nfsnum; in do_rfs4_op_secinfo()
1289 perm = secp[i].s_flags; in do_rfs4_op_secinfo()
1309 si = &secp[i].s_secinfo; in do_rfs4_op_secinfo()
/illumos-gate/usr/src/cmd/man/
H A Dman.c129 char *secp; member
1454 if ((cursnp->secp = strdup(mnp->secv[i])) == NULL) in dupcheck()
1472 if (strcmp(mnp->secv[i], cursnp->secp) == 0) { in dupcheck()
1491 if ((cursnp->secp = strdup(mnp->secv[i])) == NULL) in dupcheck()
1605 free(snp->secp); in free_dupnode()
1619 char **secp; in print_manpath() local
1635 for (secp = manp->secv; *secp != NULL; secp++) { in print_manpath()
1641 if ((*secp)[0] != '\0') in print_manpath()
1642 (void) printf(",%s", *secp); in print_manpath()
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_susp_subr.c363 uchar_t *secp; in hs_check_root_dirent() local
392 secp = (uchar_t *)secbp->b_un.b_addr; in hs_check_root_dirent()
393 root_ptr = &secp[secoff]; in hs_check_root_dirent()
H A Dhsfs_node.c1402 uchar_t *secp; in hs_filldirent() local
1422 secp = (uchar_t *)secbp->b_un.b_addr; in hs_filldirent()
1425 if (hdp->ext_lbn != HDE_EXT_LBN(&secp[secoff])) { in hs_filldirent()
1429 (void) hs_parsedir(fsp, &secp[secoff], hdp, (char *)NULL, in hs_filldirent()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dnetr_ssp.c594 ndr_sec_t *secp = &mxa->recv_auth; in netr_ssp_verify() local
595 nl_auth_sig_t *nas = (nl_auth_sig_t *)secp->auth_value; in netr_ssp_verify()
636 ndr_sec_t *secp = &mxa->recv_auth; in netr_ssp_decrypt() local
637 nl_auth_sig_t *nas = (nl_auth_sig_t *)secp->auth_value; in netr_ssp_decrypt()
/illumos-gate/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c1226 int *signp, *degp, *minp, *secp; in get_coord() local
1255 secp = (int *)&(tcp->lat_second); in get_coord()
1262 secp = (int *)&tcp->long_second; in get_coord()
1298 *secp = (int)strtol(buff, &endp, 10); in get_coord()
1304 *secp = 0; in get_coord()
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_mdb.c1186 fcf_sec_one(uintptr_t addr, void *ignored, uint_t *secp) in fcf_sec_one() argument
1189 mdb_printf("%3d ", (*secp)++); in fcf_sec_one()
/illumos-gate/usr/src/lib/lib9p/common/backend/
H A Dfs.c3215 getcrtime(struct fs_softc *sc, int dirfd, const char *fname, uint64_t *secp, in getcrtime() argument
3223 *secp = 0; in getcrtime()
3238 *secp = vals[0]; in getcrtime()
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c3710 char *secp; in doxtract() local
3723 if ((secp = malloc((int)bytes)) == NULL) { in doxtract()
3729 tp = secp; in doxtract()
3757 tp = secp; in doxtract()
3823 free(secp); in doxtract()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c4887 char *secp; in gethdr() local
4895 secp = e_zalloc(E_EXIT, (uint_t)bytes); in gethdr()
4896 tp = secp; in gethdr()
4917 tp = secp; in gethdr()
4959 free(secp); in gethdr()