Home
last modified time | relevance | path

Searched refs:desired_access (Results 1 – 15 of 15) sorted by relevance

/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_common_open.c70 smb_access_generic_to_file(uint32_t desired_access) in smb_access_generic_to_file() argument
74 if (desired_access & GENERIC_ALL) in smb_access_generic_to_file()
77 if (desired_access & GENERIC_EXECUTE) { in smb_access_generic_to_file()
78 desired_access &= ~GENERIC_EXECUTE; in smb_access_generic_to_file()
83 if (desired_access & GENERIC_WRITE) { in smb_access_generic_to_file()
84 desired_access &= ~GENERIC_WRITE; in smb_access_generic_to_file()
88 if (desired_access & GENERIC_READ) { in smb_access_generic_to_file()
89 desired_access &= ~GENERIC_READ; in smb_access_generic_to_file()
93 return (access | desired_access); in smb_access_generic_to_file()
103 smb_omode_to_amask(uint32_t desired_access) in smb_omode_to_amask() argument
[all …]
H A Dsmb_nt_create_andx.c183 &op->desired_access, in smb_pre_nt_create_andx()
240 !(op->desired_access & DELETE)) { in smb_com_nt_create_andx()
H A Dsmb_open_andx.c250 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open()
376 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open_andx()
493 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_trans2_open2()
H A Dsmb_nt_transact_create.c71 &op->desired_access, in smb_pre_nt_transact_create()
149 !(op->desired_access & DELETE)) { in smb_nt_transact_create()
H A Dsmb_ofile.c208 of->f_granted_access = op->desired_access; in smb_ofile_open()
1001 smb_ofile_open_check(smb_ofile_t *of, uint32_t desired_access, in smb_ofile_open_check() argument
1041 if (SMB_DENY_DELETE(of->f_share_access) && (desired_access & DELETE)) { in smb_ofile_open_check()
1047 (desired_access & (FILE_READ_DATA | FILE_EXECUTE))) { in smb_ofile_open_check()
1053 (desired_access & (FILE_WRITE_DATA | FILE_APPEND_DATA))) { in smb_ofile_open_check()
H A Dsmb_vops.c1343 smb_vop_shrlock(vnode_t *vp, uint32_t uniq_fid, uint32_t desired_access, in smb_vop_shrlock() argument
1366 if ((desired_access & FILE_DATA_ALL) == 0) { in smb_vop_shrlock()
1370 if (desired_access & (ACE_READ_DATA | ACE_EXECUTE)) { in smb_vop_shrlock()
1375 if (desired_access & (ACE_WRITE_DATA | ACE_APPEND_DATA | in smb_vop_shrlock()
1390 if (desired_access & ACE_DELETE) in smb_vop_shrlock()
H A Dsmb_create.c189 op->desired_access = smb_omode_to_amask(op->omode); in smb_common_create()
H A Dsmb_fsops.c2522 uint32_t desired_access, uint32_t share_access) in smb_fsop_shrlock() argument
2527 if ((desired_access & FILE_DATA_ALL) == 0) in smb_fsop_shrlock()
2530 rc = smb_node_open_check(node, desired_access, share_access); in smb_fsop_shrlock()
2534 rc = smb_vop_shrlock(node->vp, uniq_fid, desired_access, share_access, in smb_fsop_shrlock()
H A Dsmb_node.c717 smb_node_open_check(smb_node_t *node, uint32_t desired_access, in smb_node_open_check() argument
728 status = smb_ofile_open_check(of, desired_access, share_access); in smb_node_open_check()
/titanic_41/usr/src/uts/common/smbsrv/ndl/
H A Dsvcctl.ndl327 IN DWORD desired_access;
342 IN DWORD desired_access;
470 IN DWORD desired_access;
484 IN DWORD desired_access;
H A Dsamrpc.ndl1224 IN DWORD desired_access;
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
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()
H A Dsamr_clnt.c531 arg.desired_access = 0xE00500B0; in samr_create_user()
/titanic_41/usr/src/uts/common/smbsrv/
H A Dsmb_kproto.h307 uint32_t smb_omode_to_amask(uint32_t desired_access);
793 uint32_t smb_denymode_to_sharemode(uint32_t desired_access, char *fname);
H A Dsmb_ktypes.h1429 uint32_t desired_access; member