smbd: pass symlink target path to safe_symlink_target_path()
commit0515dded4ddb49e5570ae7df51126af1a2d643de
authorRalph Boehme <slow@samba.org>
Tue, 2 Jan 2024 11:49:14 +0000 (2 12:49 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 22 Jan 2024 10:53:29 +0000 (22 10:53 +0000)
treeaecdef3c0c4b95e5292a9e9b55af6d4ee2ad1496
parent62cbe145c7e500c4759ed2005c78bd5056c87f43
smbd: pass symlink target path to safe_symlink_target_path()

Moves creating the symlink target path via symlink_target_path() to the
caller. This prepares for using this in non_widelink_open(), where it will
replace symlink_target_below_conn() with the same functionality.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15549

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/include/proto.h
source3/smbd/filename.c