diff options
author | Jeremy Allison <jra@samba.org> | 2011-10-21 17:46:12 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-10-22 04:57:10 +0200 |
commit | d1a4ee604ffaac4c6ddf6b8939e3d42688d2c73d (patch) | |
tree | e65f33dbc6634d75b33be2af640970b9eb717a03 /source3/smbd/proto.h | |
parent | 60d9afa806e21bb932336f53842af9a5405ff588 (diff) | |
download | samba-d1a4ee604ffaac4c6ddf6b8939e3d42688d2c73d.tar.gz samba-d1a4ee604ffaac4c6ddf6b8939e3d42688d2c73d.tar.bz2 samba-d1a4ee604ffaac4c6ddf6b8939e3d42688d2c73d.zip |
Second part of fix for bug #8541 - readlink() on Linux clients fails if the symlink target is outside of the share.
The statcache has to do lstat instead of stat when returning cached
posix pathnames.
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 9891c1e403..343b0b916e 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -1041,6 +1041,7 @@ void stat_cache_add( const char *full_orig_name, char *translated_path, bool case_sensitive); bool stat_cache_lookup(connection_struct *conn, + bool posix_paths, char **pp_name, char **pp_dirpath, char **pp_start, |