1
0
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:
Michael Adam 2012-06-11 13:05:37 +02:00 committed by Stefan Metzmacher
parent f5a6b7b301
commit ba011c1de0
2 changed files with 6 additions and 4 deletions

View File

@ -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;

View File

@ -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,