Searched defs:secinfo (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_qinfo_sec.c40 uint32_t secinfo = qi->qi_AddlInfo; local
45 * secinfo & ...
60 secinfo &= ~SMB_SACL_SECINFO;
63 status = smb_sd_read(sr, &sd, secinfo);
67 sdlen = smb_sd_len(&sd, secinfo);
88 smb_encode_sd(&sr->raw_data, &sd, secinfo);
H A Dsmb2_setinfo_sec.c37 smb2_setinfo_sec(smb_request_t *sr, smb_setinfo_t *si, uint32_t secinfo) argument
43 * secinfo & ...
61 secinfo &= ~SMB_SACL_SECINFO;
64 if ((secinfo & SMB_ALL_SECINFO) == 0)
71 if (((secinfo & SMB_OWNER_SECINFO) && (sd.sd_owner == NULL)) ||
72 ((secinfo & SMB_GROUP_SECINFO) && (sd.sd_group == NULL)))
76 status = smb_sd_write(sr, &sd, secinfo);
H A Dsmb_nt_transact_security.c51 * ULONG secinfo; Fields of descriptor to set
63 uint32_t secinfo; local
69 &sr->smb_fid, &secinfo) != 0) {
95 secinfo &= ~SMB_SACL_SECINFO;
98 status = smb_sd_read(sr, &sd, secinfo);
104 sdlen = smb_sd_len(&sd, secinfo);
127 smb_encode_sd(&xa->rep_data_mb, &sd, secinfo);
156 uint32_t secinfo; local
160 &sr->smb_fid, &secinfo) != 0) {
189 secinfo
226 smb_encode_sd(mbuf_chain_t *mbc, smb_sd_t *sd, uint32_t secinfo) argument
[all...]
H A Dsmb_sd.c68 smb_sd_len(smb_sd_t *sd, uint32_t secinfo) argument
72 if (secinfo & SMB_OWNER_SECINFO)
75 if (secinfo & SMB_GROUP_SECINFO)
78 if (secinfo & SMB_DACL_SECINFO)
81 if (secinfo & SMB_SACL_SECINFO)
127 smb_sd_read(smb_request_t *sr, smb_sd_t *sd, uint32_t secinfo) argument
137 smb_fssd_init(&fs_sd, secinfo, sd_flags);
157 smb_sd_write(smb_request_t *sr, smb_sd_t *sd, uint32_t secinfo) argument
167 smb_fssd_init(&fs_sd, secinfo, sd_flags);
405 smb_fssd_init(smb_fssd_t *fs_sd, uint32_t secinfo, uint32_ argument
[all...]
H A Dsmb_fsops.c452 uint32_t secinfo; local
460 secinfo = smb_sd_get_secinfo(op->sd);
461 smb_fssd_init(&fs_sd, secinfo, 0);
543 uint32_t secinfo; local
601 secinfo = smb_sd_get_secinfo(op->sd);
602 smb_fssd_init(&fs_sd, secinfo, SMB_FSSD_FLAGS_DIR);
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_sd.c86 smb_sd_len(smb_sd_t *sd, uint32_t secinfo) argument
90 if (secinfo & SMB_OWNER_SECINFO)
93 if (secinfo & SMB_GROUP_SECINFO)
96 if (secinfo & SMB_DACL_SECINFO)
99 if (secinfo & SMB_SACL_SECINFO)
195 smb_sd_read(char *path, smb_sd_t *sd, uint32_t secinfo) argument
203 smb_fssd_init(&fs_sd, secinfo, sd_flags);
251 smb_sd_write(char *path, smb_sd_t *sd, uint32_t secinfo) argument
259 smb_fssd_init(&fs_sd, secinfo, sd_flags);
490 smb_fssd_init(smb_fssd_t *fs_sd, uint32_t secinfo, uint32_ argument
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_secinfo.c273 secinfo_free(sv_secinfo_t *secinfo) argument
277 if (secinfo == NULL)
280 for (i = 0; i < secinfo->count; i++) {
281 if (secinfo->sdata[i].rpcflavor == RPCSEC_GSS) {
283 secinfo->sdata[i].data;
289 * sec_clnt_freeinfo since the allocation of secinfo
292 (void) rpc_gss_secpurge((void *)&secinfo->sdata[i]);
299 if (secinfo->sdata[i].rpcflavor == AUTH_DH) {
302 secinfo->sdata[i].data = NULL;
311 kmem_free(secinfo
[all...]
H A Dnfs_export.c114 DTRACE_PROBE4(nfss__i__nmspc__secref, struct secinfo *, (seclist), \
153 * Free the memory allocated within a secinfo entry.
156 srv_secinfo_entry_free(struct secinfo *secp)
175 * Free a list of secinfo allocated in the exportdata structure.
178 srv_secinfo_list_free(struct secinfo *secinfo, int cnt) argument
186 srv_secinfo_entry_free(&secinfo[i]);
188 kmem_free(secinfo, cnt * sizeof (struct secinfo));
192 * Allocate and copy a secinfo dat
[all...]
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c298 seconfig_t secinfo; local
301 (void) memset(&secinfo, '\0', sizeof (secinfo));
302 err = nfs_getseconfig_byname(mode, &secinfo);
1059 struct secinfo *s = &export->ex_secinfo[i];
1120 * Fill the secinfo structure from the secopts optionset.
1124 fill_security_from_secopts(struct secinfo *sp, sa_security_t secopts)
1134 /* named security type needs secinfo to be filled in */
1238 struct secinfo *sp;
1772 struct secinfo *s
[all...]
/illumos-gate/usr/src/uts/common/nfs/
H A Dexport.h62 * the secinfo fields.
64 struct secinfo { struct
106 * Per-mode flags (secinfo.s_flags)
117 /* invalid secinfo reference count */
120 /* last secinfo reference */
141 struct secinfo *ex_secinfo; /* security mode info */
534 typedef struct secinfo secinfo_t;
569 struct secinfo *vis_secinfo;
656 extern void srv_secinfo_list_free(struct secinfo *, int);
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c2981 char *secinfo = NULL; local
2985 if (append_secattr(&secinfo, &len, aclp) == -1) {
2994 write_ancillary(secinfo, len, B_TRUE);
3145 char *secinfo = NULL; local
3149 if ((append_secattr(&secinfo, &len, aclp)) == -1)
3157 write_ancillary(secinfo, len, B_TRUE);
3732 char *secinfo = NULL; local
3736 if ((append_secattr(&secinfo, &len, aclp)) == -1)
3744 write_ancillary(secinfo, len, B_TRUE);
8027 * existing secinfo
8030 append_secattr( char **secinfo, int *secinfo_len, acl_t *aclp) argument
[all...]
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c500 static void append_ext_attr(char *shortname, char **secinfo, int *len);
6699 * existing secinfo.
6703 char **secinfo, /* existing security info */
6775 (void) memcpy(new_secinfo, *secinfo, oldsize);
6778 free(*secinfo);
6780 *secinfo = new_secinfo;
6793 write_ancillary(union hblock *dblockp, char *secinfo, int len, char hdrtype) argument
6800 if (len == 0 || secinfo == NULL)
6825 (void) writetbuf((char *)secinfo, (int)blocks);
8125 char *secinfo local
6702 append_secattr( char **secinfo, int *secinfo_len, int size, char *attrtext, char attr_type) argument
8625 append_ext_attr(char *shortname, char **secinfo, int *len) argument
[all...]

Completed in 186 milliseconds