Home
last modified time | relevance | path

Searched refs:smb_sd_t (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_sd.c36 static void smb_sd_set_sacl(smb_sd_t *, smb_acl_t *, boolean_t, int);
37 static void smb_sd_set_dacl(smb_sd_t *, smb_acl_t *, boolean_t, int);
38 static uint32_t smb_sd_fromfs(smb_fssd_t *, smb_sd_t *);
41 smb_sd_init(smb_sd_t *sd, uint8_t revision) in smb_sd_init()
43 bzero(sd, sizeof (smb_sd_t)); in smb_sd_init()
54 smb_sd_term(smb_sd_t *sd) in smb_sd_term()
64 bzero(sd, sizeof (smb_sd_t)); in smb_sd_term()
68 smb_sd_len(smb_sd_t *sd, uint32_t secinfo) in smb_sd_len()
97 smb_sd_get_secinfo(smb_sd_t *sd) in smb_sd_get_secinfo()
130 smb_sd_read(smb_request_t *sr, smb_sd_t *sd, uint32_t secinfo) in smb_sd_read()
[all …]
H A Dsmb_nt_transact_create.c64 smb_sd_t sd; in smb_pre_nt_transact_create()
112 op->sd = kmem_alloc(sizeof (smb_sd_t), KM_SLEEP); in smb_pre_nt_transact_create()
126 smb_sd_t *sd = sr->arg.open.sd; in smb_post_nt_transact_create()
133 kmem_free(sd, sizeof (smb_sd_t)); in smb_post_nt_transact_create()
H A Dsmb_nt_transact_security.c62 smb_sd_t sd; in smb_nt_transact_query_security_info()
155 smb_sd_t sd; in smb_nt_transact_set_security_info()
226 smb_encode_sd(mbuf_chain_t *mbc, smb_sd_t *sd, uint32_t secinfo) in smb_encode_sd()
367 smb_decode_sd(mbuf_chain_t *mbc, smb_sd_t *sd) in smb_decode_sd()
H A Dsmb2_setinfo_sec.c39 smb_sd_t sd; in smb2_setinfo_sec()
H A Dsmb2_qinfo_sec.c39 smb_sd_t sd; in smb2_qinfo_sec()
H A Dsmb2_create.c883 op->sd = kmem_alloc(sizeof (smb_sd_t), KM_SLEEP); in smb2_decode_create_ctx()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_sd.c55 static void smb_sd_set_sacl(smb_sd_t *, smb_acl_t *, boolean_t, int);
56 static void smb_sd_set_dacl(smb_sd_t *, smb_acl_t *, boolean_t, int);
59 smb_sd_init(smb_sd_t *sd, uint8_t revision) in smb_sd_init()
61 bzero(sd, sizeof (smb_sd_t)); in smb_sd_init()
72 smb_sd_term(smb_sd_t *sd) in smb_sd_term()
82 bzero(sd, sizeof (smb_sd_t)); in smb_sd_term()
86 smb_sd_len(smb_sd_t *sd, uint32_t secinfo) in smb_sd_len()
112 smb_sd_get_secinfo(smb_sd_t *sd) in smb_sd_get_secinfo()
195 smb_sd_read(char *path, smb_sd_t *sd, uint32_t secinfo) in smb_sd_read()
251 smb_sd_write(char *path, smb_sd_t *sd, uint32_t secinfo) in smb_sd_write()
[all …]
H A Dlibsmb.h900 uint32_t smb_sd_read(char *path, smb_sd_t *, uint32_t);
901 uint32_t smb_sd_write(char *path, smb_sd_t *, uint32_t);
902 uint32_t smb_sd_fromfs(smb_fssd_t *, smb_sd_t *);
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dntifs.h593 } smb_sd_t; typedef
614 void smb_sd_init(smb_sd_t *, uint8_t);
615 void smb_sd_term(smb_sd_t *);
616 uint32_t smb_sd_get_secinfo(smb_sd_t *);
617 uint32_t smb_sd_len(smb_sd_t *, uint32_t);
618 uint32_t smb_sd_tofs(smb_sd_t *, smb_fssd_t *);
H A Dsmb_kproto.h412 void smb_encode_sd(mbuf_chain_t *, smb_sd_t *, uint32_t);
415 uint32_t smb_decode_sd(mbuf_chain_t *, smb_sd_t *);
910 uint32_t smb_sd_read(smb_request_t *, smb_sd_t *, uint32_t);
911 uint32_t smb_sd_write(smb_request_t *, smb_sd_t *, uint32_t);
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsrvsvc_sd.c44 uint32_t srvsvc_sd_set_relative(smb_sd_t *, uint8_t *);
46 static uint32_t srvsvc_sd_get_autohome(const smb_share_t *, smb_sd_t *);
48 static uint32_t srvsvc_sd_set_absolute(uint8_t *, smb_sd_t *);
110 smb_sd_t sd; in srvsvc_sd_set()
152 smb_sd_t sd; in srvsvc_sd_get()
160 bzero(&sd, sizeof (smb_sd_t)); in srvsvc_sd_get()
191 srvsvc_sd_get_autohome(const smb_share_t *si, smb_sd_t *sd) in srvsvc_sd_get_autohome()
268 srvsvc_sd_set_relative(smb_sd_t *sd, uint8_t *sdbuf) in srvsvc_sd_set_relative()
425 srvsvc_sd_set_absolute(uint8_t *sdbuf, smb_sd_t *sd) in srvsvc_sd_set_absolute()
H A Dwinreg_svc.c107 static uint32_t winreg_sd_format(smb_sd_t *);
108 uint32_t srvsvc_sd_set_relative(smb_sd_t *, uint8_t *);
726 smb_sd_t sd; in winreg_s_GetKeySec()
730 bzero(&sd, sizeof (smb_sd_t)); in winreg_s_GetKeySec()
764 winreg_sd_format(smb_sd_t *sd) in winreg_sd_format()
H A Dspoolss_svc.c97 uint32_t srvsvc_sd_set_relative(smb_sd_t *, uint8_t *);
100 static uint32_t spoolss_format_sd(smb_sd_t *);
1079 smb_sd_t sd; in spoolss_make_sd()
1084 bzero(&sd, sizeof (smb_sd_t)); in spoolss_make_sd()
1103 spoolss_format_sd(smb_sd_t *sd) in spoolss_format_sd()
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv.c3494 smb_sd_t sd; in smbsd_dcmd()