Searched refs:fs_sd (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_sd.c | 154 smb_sd_read_acl(char *path, smb_fssd_t *fs_sd) in smb_sd_read_acl() argument 159 fs_sd->sd_gid = fs_sd->sd_uid = 0; in smb_sd_read_acl() 180 fs_sd->sd_zdacl = z_acl; in smb_sd_read_acl() 181 fs_sd->sd_zsacl = NULL; in smb_sd_read_acl() 197 smb_fssd_t fs_sd; in smb_sd_read() local 203 smb_fssd_init(&fs_sd, secinfo, sd_flags); in smb_sd_read() 205 error = smb_sd_read_acl(path, &fs_sd); in smb_sd_read() 207 smb_fssd_term(&fs_sd); in smb_sd_read() 211 status = smb_sd_fromfs(&fs_sd, sd); in smb_sd_read() 212 smb_fssd_term(&fs_sd); in smb_sd_read() [all …]
|
/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_sd.c | 127 smb_fssd_t fs_sd; in smb_sd_read() local 136 smb_fssd_init(&fs_sd, secinfo, sd_flags); in smb_sd_read() 138 error = smb_fsop_sdread(sr, sr->user_cr, node, &fs_sd); in smb_sd_read() 144 status = smb_sd_fromfs(&fs_sd, sd); in smb_sd_read() 145 smb_fssd_term(&fs_sd); in smb_sd_read() 161 smb_fssd_t fs_sd; in smb_sd_write() local 169 smb_fssd_init(&fs_sd, secinfo, sd_flags); in smb_sd_write() 171 status = smb_sd_tofs(sd, &fs_sd); in smb_sd_write() 173 smb_fssd_term(&fs_sd); in smb_sd_write() 177 error = smb_fsop_sdwrite(sr, sr->user_cr, node, &fs_sd, 0); in smb_sd_write() [all …]
|
H A D | smb_fsops.c | 124 smb_attr_t *attr, smb_node_t **ret_snode, smb_fssd_t *fs_sd) in smb_fsop_create_with_sd() argument 137 ASSERT(fs_sd); in smb_fsop_create_with_sd() 146 is_dir = ((fs_sd->sd_flags & SMB_FSSD_FLAGS_DIR) != 0); in smb_fsop_create_with_sd() 149 if (fs_sd->sd_secinfo & SMB_ACL_SECINFO) { in smb_fsop_create_with_sd() 150 dacl = fs_sd->sd_zdacl; in smb_fsop_create_with_sd() 151 sacl = fs_sd->sd_zsacl; in smb_fsop_create_with_sd() 200 if (fs_sd->sd_secinfo & SMB_OWNER_SECINFO) { in smb_fsop_create_with_sd() 201 set_attr.sa_vattr.va_uid = fs_sd->sd_uid; in smb_fsop_create_with_sd() 205 if (fs_sd->sd_secinfo & SMB_GROUP_SECINFO) { in smb_fsop_create_with_sd() 206 set_attr.sa_vattr.va_gid = fs_sd->sd_gid; in smb_fsop_create_with_sd() [all …]
|
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | srvsvc_sd.c | 189 smb_fssd_t fs_sd; in srvsvc_sd_get_autohome() local 196 smb_fssd_init(&fs_sd, SMB_ALL_SECINFO, SMB_FSSD_FLAGS_DIR); in srvsvc_sd_get_autohome() 197 fs_sd.sd_uid = si->shr_uid; in srvsvc_sd_get_autohome() 198 fs_sd.sd_gid = si->shr_gid; in srvsvc_sd_get_autohome() 199 fs_sd.sd_zdacl = acl; in srvsvc_sd_get_autohome() 200 fs_sd.sd_zsacl = NULL; in srvsvc_sd_get_autohome() 202 status = smb_sd_fromfs(&fs_sd, sd); in srvsvc_sd_get_autohome() 204 smb_fssd_term(&fs_sd); in srvsvc_sd_get_autohome()
|
H A D | winreg_svc.c | 765 smb_fssd_t fs_sd; in winreg_sd_format() local 772 smb_fssd_init(&fs_sd, SMB_ALL_SECINFO, SMB_FSSD_FLAGS_DIR); in winreg_sd_format() 773 fs_sd.sd_uid = 0; in winreg_sd_format() 774 fs_sd.sd_gid = 0; in winreg_sd_format() 775 fs_sd.sd_zdacl = acl; in winreg_sd_format() 776 fs_sd.sd_zsacl = NULL; in winreg_sd_format() 778 if (smb_sd_fromfs(&fs_sd, sd) != NT_STATUS_SUCCESS) in winreg_sd_format() 780 smb_fssd_term(&fs_sd); in winreg_sd_format()
|
H A D | spoolss_svc.c | 1105 smb_fssd_t fs_sd; in spoolss_format_sd() local 1113 smb_fssd_init(&fs_sd, SMB_ALL_SECINFO, SMB_FSSD_FLAGS_DIR); in spoolss_format_sd() 1114 fs_sd.sd_uid = 0; in spoolss_format_sd() 1115 fs_sd.sd_gid = 0; in spoolss_format_sd() 1116 fs_sd.sd_zdacl = acl; in spoolss_format_sd() 1117 fs_sd.sd_zsacl = NULL; in spoolss_format_sd() 1119 status = smb_sd_fromfs(&fs_sd, sd); in spoolss_format_sd() 1124 smb_fssd_term(&fs_sd); in spoolss_format_sd()
|