mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Make smbd_check_open_rights() static.
This commit is contained in:
parent
151bb290d1
commit
1619de3080
@ -221,10 +221,6 @@ NTSTATUS smbd_calculate_access_mask(connection_struct *conn,
|
|||||||
bool file_existed,
|
bool file_existed,
|
||||||
uint32_t access_mask,
|
uint32_t access_mask,
|
||||||
uint32_t *access_mask_out);
|
uint32_t *access_mask_out);
|
||||||
NTSTATUS smbd_check_open_rights(struct connection_struct *conn,
|
|
||||||
const struct smb_filename *smb_fname,
|
|
||||||
uint32_t access_mask,
|
|
||||||
uint32_t *access_granted);
|
|
||||||
|
|
||||||
void smbd_notify_cancel_by_smbreq(const struct smb_request *smbreq);
|
void smbd_notify_cancel_by_smbreq(const struct smb_request *smbreq);
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ NTSTATUS smb1_file_se_access_check(struct connection_struct *conn,
|
|||||||
Check if we have open rights.
|
Check if we have open rights.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
NTSTATUS smbd_check_open_rights(struct connection_struct *conn,
|
static NTSTATUS smbd_check_open_rights(struct connection_struct *conn,
|
||||||
const struct smb_filename *smb_fname,
|
const struct smb_filename *smb_fname,
|
||||||
uint32_t access_mask,
|
uint32_t access_mask,
|
||||||
uint32_t *access_granted)
|
uint32_t *access_granted)
|
||||||
|
Loading…
Reference in New Issue
Block a user