Home
last modified time | relevance | path

Searched refs:desired_access (Results 1 – 19 of 19) sorted by path

/illumos-gate/usr/src/lib/libdtrace/common/
H A Dsmb.d122 soa_desired_access = P->arg.open.desired_access;
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamr_clnt.c531 arg.desired_access = 0xE00500B0; in samr_create_user()
H A Dsvcctl_svc.c528 if ((rc == 0) || (param->desired_access & SC_MANAGER_LOCK) != 0) { in svcctl_s_OpenManager()
571 SVCCTL_OPENSVC_OP_UNIMPLEMENTED(param->desired_access); in svcctl_s_OpenService()
1034 if ((rc == 0) || (param->desired_access & SC_MANAGER_LOCK) != 0) { in svcctl_s_OpenSCManagerA()
1077 SVCCTL_OPENSVC_OP_UNIMPLEMENTED(param->desired_access); in svcctl_s_OpenServiceA()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_create.c154 &op->desired_access, /* l */ in smb2_create()
431 !(op->desired_access & DELETE)) { in smb2_create()
H A Dsmb2_durable.c598 "granted_access", &op->desired_access); in smb2_dh_import_handle()
H A Dsmb2_fsctl_copychunk.c82 uint32_t desired_access; /* for dest */ in smb2_fsctl_copychunk() local
103 desired_access = FILE_WRITE_DATA; in smb2_fsctl_copychunk()
105 desired_access |= FILE_READ_DATA; in smb2_fsctl_copychunk()
106 status = smb_ofile_access(dst_of, dst_of->f_cr, desired_access); in smb2_fsctl_copychunk()
H A Dsmb_common_open.c60 smb_access_generic_to_file(uint32_t desired_access) in smb_access_generic_to_file() argument
64 if (desired_access & GENERIC_ALL) in smb_access_generic_to_file()
67 if (desired_access & GENERIC_EXECUTE) { in smb_access_generic_to_file()
68 desired_access &= ~GENERIC_EXECUTE; in smb_access_generic_to_file()
73 if (desired_access & GENERIC_WRITE) { in smb_access_generic_to_file()
74 desired_access &= ~GENERIC_WRITE; in smb_access_generic_to_file()
78 if (desired_access & GENERIC_READ) { in smb_access_generic_to_file()
79 desired_access &= ~GENERIC_READ; in smb_access_generic_to_file()
83 return (access | desired_access); in smb_access_generic_to_file()
93 smb_omode_to_amask(uint32_t desired_access) in smb_omode_to_amask() argument
[all …]
H A Dsmb_create.c187 op->desired_access = smb_omode_to_amask(op->omode); in smb_common_create()
H A Dsmb_fsops.c386 sr->sr_open.desired_access) != 0) { in smb_fsop_create_file_with_stream()
2813 uint32_t desired_access, uint32_t share_access) in smb_fsop_shrlock() argument
2818 if ((desired_access & FILE_DATA_ALL) == 0) in smb_fsop_shrlock()
2821 rc = smb_node_open_check(node, desired_access, share_access); in smb_fsop_shrlock()
2825 rc = smb_vop_shrlock(node->vp, uniq_fid, desired_access, share_access, in smb_fsop_shrlock()
H A Dsmb_node.c770 smb_node_open_check(smb_node_t *node, uint32_t desired_access, in smb_node_open_check() argument
781 status = smb_ofile_open_check(of, desired_access, share_access); in smb_node_open_check()
792 uint32_t, desired_access, in smb_node_open_check()
H A Dsmb_nt_create_andx.c185 &op->desired_access, in smb_pre_nt_create_andx()
257 !(op->desired_access & DELETE)) { in smb_com_nt_create_andx()
H A Dsmb_nt_transact_create.c73 &op->desired_access, in smb_pre_nt_transact_create()
168 !(op->desired_access & DELETE)) { in smb_nt_transact_create()
H A Dsmb_ofile.c359 of->f_granted_access = op->desired_access; in smb_ofile_alloc()
1643 smb_ofile_open_check(smb_ofile_t *of, uint32_t desired_access, in smb_ofile_open_check() argument
1685 if (SMB_DENY_DELETE(of->f_share_access) && (desired_access & DELETE)) { in smb_ofile_open_check()
1691 (desired_access & (FILE_READ_DATA | FILE_EXECUTE))) { in smb_ofile_open_check()
1697 (desired_access & (FILE_WRITE_DATA | FILE_APPEND_DATA))) { in smb_ofile_open_check()
H A Dsmb_open_andx.c251 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open()
392 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open_andx()
550 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_trans2_open2()
H A Dsmb_vops.c1541 smb_vop_shrlock(vnode_t *vp, uint32_t uniq_fid, uint32_t desired_access, in smb_vop_shrlock() argument
1564 if ((desired_access & FILE_DATA_ALL) == 0) { in smb_vop_shrlock()
1568 if (desired_access & (ACE_READ_DATA | ACE_EXECUTE)) { in smb_vop_shrlock()
1573 if (desired_access & (ACE_WRITE_DATA | ACE_APPEND_DATA | in smb_vop_shrlock()
1588 if (desired_access & ACE_DELETE) in smb_vop_shrlock()
/illumos-gate/usr/src/uts/common/smbsrv/ndl/
H A Dsamrpc.ndl1257 IN DWORD desired_access;
H A Dsvcctl.ndl329 IN DWORD desired_access;
344 IN DWORD desired_access;
472 IN DWORD desired_access;
486 IN DWORD desired_access;
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_kproto.h361 uint32_t smb_omode_to_amask(uint32_t desired_access);
904 uint32_t smb_denymode_to_sharemode(uint32_t desired_access, char *fname);
H A Dsmb_ktypes.h1635 uint32_t desired_access; member