s3:smbd: convert file_struct.posix_open to a bitmap with flags
authorRalph Boehme <slow@samba.org>
Fri, 27 Nov 2015 17:29:55 +0000 (18:29 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 1 Dec 2015 19:45:20 +0000 (20:45 +0100)
commitd698cec1c7e700e57cab46d33df0dde13303b318
treea223f4ae9a014c7be76e7cd3ebed7e8b42e48289
parentd2a0806cbd24f6211b55a5454e2e62fc61a4c4b6
s3:smbd: convert file_struct.posix_open to a bitmap with flags

This is in preperation of a more fine grained control of POSIX behaviour
in the SMB and VFS layers.

Inititally we use an uint8_t for the flags bitmap and add a define
posix_flags as posix_open in order to avoid breaking the VFS ABI.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11065

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/vfs.h
source3/locking/locking.c
source3/modules/vfs_acl_common.c
source3/param/loadparm.c
source3/smbd/close.c
source3/smbd/fileio.c
source3/smbd/open.c
source3/smbd/reply.c
source3/smbd/smb2_close.c
source3/smbd/vfs.c