mirror of
https://github.com/samba-team/samba.git
synced 2025-08-31 22:02:58 +03:00
smbd: rename open_internal_dirfsp_at() to open_internal_dirfsp()
Having removed the unused dirfsp parameter this is not an AT function. Security is provided by symlink safe fd_open(). Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
@ -1369,7 +1369,7 @@ struct smb_Dir *OpenDir(TALLOC_CTX *mem_ctx,
|
||||
struct smb_Dir *dir_hnd = NULL;
|
||||
NTSTATUS status;
|
||||
|
||||
status = open_internal_dirfsp_at(conn,
|
||||
status = open_internal_dirfsp(conn,
|
||||
smb_dname,
|
||||
O_RDONLY,
|
||||
&fsp);
|
||||
|
@ -219,7 +219,7 @@ NTSTATUS create_internal_dirfsp_at(connection_struct *conn,
|
||||
/*
|
||||
* Open an internal fsp for an *existing* directory.
|
||||
*/
|
||||
NTSTATUS open_internal_dirfsp_at(connection_struct *conn,
|
||||
NTSTATUS open_internal_dirfsp(connection_struct *conn,
|
||||
const struct smb_filename *smb_dname,
|
||||
int open_flags,
|
||||
struct files_struct **_fsp)
|
||||
|
@ -451,7 +451,7 @@ NTSTATUS create_internal_dirfsp_at(connection_struct *conn,
|
||||
const struct smb_filename *smb_dname,
|
||||
struct files_struct **_fsp);
|
||||
|
||||
NTSTATUS open_internal_dirfsp_at(connection_struct *conn,
|
||||
NTSTATUS open_internal_dirfsp(connection_struct *conn,
|
||||
const struct smb_filename *smb_dname,
|
||||
int open_flags,
|
||||
struct files_struct **_fsp);
|
||||
|
Reference in New Issue
Block a user