mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
Expose smbd_check_access_rights() to other modules.
This commit is contained in:
parent
32edc1d047
commit
a30f84a21c
@ -60,7 +60,7 @@ static bool parent_override_delete(connection_struct *conn,
|
||||
Check if we have open rights.
|
||||
****************************************************************************/
|
||||
|
||||
static NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
|
||||
NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
|
||||
struct smb_filename *smb_fname,
|
||||
uint32_t access_mask)
|
||||
{
|
||||
|
@ -580,6 +580,9 @@ void reply_nttranss(struct smb_request *req);
|
||||
|
||||
/* The following definitions come from smbd/open.c */
|
||||
|
||||
NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
|
||||
struct smb_filename *smb_fname,
|
||||
uint32_t access_mask);
|
||||
NTSTATUS fd_close(files_struct *fsp);
|
||||
void change_file_owner_to_parent(connection_struct *conn,
|
||||
const char *inherit_from_dir,
|
||||
|
Loading…
x
Reference in New Issue
Block a user