smbd: add a directory argument to safe_symlink_target_path()
authorRalph Boehme <slow@samba.org>
Tue, 2 Jan 2024 12:25:25 +0000 (13:25 +0100)
committerJule Anger <janger@samba.org>
Mon, 29 Jan 2024 10:45:17 +0000 (10:45 +0000)
commit0086f3d4b7b4bd5726c19863c063af0a8de10cd5
treeda942af7b2ef132550ce019c0ee17a6f9e33a3df
parentf495f6d2778c47f137d896a2351fe7ddb1637d3f
smbd: add a directory argument to safe_symlink_target_path()

Existing caller passes NULL, no change in behaviour. Prepares for
replacing symlink_target_below_conn() in open.c.

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>
(cherry picked from commit fc80c72d658a41fe4d93b24b793b52c91b350175)
source3/include/proto.h
source3/smbd/filename.c