[PATCH] Final removal of lp_posix_pathnames() from the smbd server main code paths.

Ralph Boehme rb at sernet.de
Tue Mar 22 11:17:22 UTC 2016


On Sun, Mar 20, 2016 at 09:31:40PM -0700, Jeremy Allison wrote:
> 4). Add uint32_t flags field to struct smb_filename. Only
> defined field currently is SMB_FILENAME_POSIX_PATH.

we already have

#define FSP_POSIX_FLAGS_OPEN            0x01
#define FSP_POSIX_FLAGS_RENAME          0x02
#define FSP_POSIX_FLAGS_PATHNAMES       0x04

in vfs.h. Can we somehow align/reuse the flags?

I'm afraid that having essentially the same flags for struct
smb_filename and files_struct is confusing in the long term.


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

More information about the samba-technical mailing list