mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:smbd: make fd_open() public
This commit is contained in:
parent
f5a6b7b301
commit
ba011c1de0
@ -274,10 +274,10 @@ static NTSTATUS check_parent_access(struct connection_struct *conn,
|
||||
fd support routines - attempt to do a dos_open.
|
||||
****************************************************************************/
|
||||
|
||||
static NTSTATUS fd_open(struct connection_struct *conn,
|
||||
files_struct *fsp,
|
||||
int flags,
|
||||
mode_t mode)
|
||||
NTSTATUS fd_open(struct connection_struct *conn,
|
||||
files_struct *fsp,
|
||||
int flags,
|
||||
mode_t mode)
|
||||
{
|
||||
struct smb_filename *smb_fname = fsp->fsp_name;
|
||||
NTSTATUS status = NT_STATUS_OK;
|
||||
|
@ -599,6 +599,8 @@ void reply_nttranss(struct smb_request *req);
|
||||
NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
|
||||
const struct smb_filename *smb_fname,
|
||||
uint32_t access_mask);
|
||||
NTSTATUS fd_open(struct connection_struct *conn, files_struct *fsp,
|
||||
int flags, mode_t mode);
|
||||
NTSTATUS fd_close(files_struct *fsp);
|
||||
void change_file_owner_to_parent(connection_struct *conn,
|
||||
const char *inherit_from_dir,
|
||||
|
Loading…
Reference in New Issue
Block a user