The plan for eliminating lp_posix_pathnames()

Ralph Boehme rb at sernet.de
Fri Feb 12 09:42:47 UTC 2016


On Thu, Feb 11, 2016 at 04:45:46PM -0800, Jeremy Allison wrote:
> Just in case you wondered what I was up to with
> this :-).
> 
> Currently my plan is to move to using
> const struct smb_filename * instead of const char *
> on more of the VFS interfaces (such as
> get_nt_acl_fn(), mkdir, rmdir, rename etc.)
> 
> Once this is plumbed through the VFS I
> think the best idea is to add a bool posix_pathnames
> to the struct smb_filename, which gets set
> from the toplevel parse of the incoming
> client SMB1/SMB2 request.

shouldn't we use uint64_t posix_flags instead like what we added to
files_struct for exactly the same purpose iirc?

-Ralph

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de



More information about the samba-technical mailing list