smbd: add a directory argument to safe_symlink_target_path()
commitcd4df6ae43286138072b1fdd11b3eec4c47d13fc
authorRalph Boehme <slow@samba.org>
Tue, 2 Jan 2024 12:25:25 +0000 (2 13:25 +0100)
committerJule Anger <janger@samba.org>
Mon, 29 Jan 2024 10:46:17 +0000 (29 10:46 +0000)
treeed76108e05710397b8641a6f7628b5b7dfc08a31
parent90ae1e8f62512ea4da6457d2811310046d178ee9
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