Reorganized file creation to avoid temporary settings (continued)

N2009_11_14_FIXES
jpandre 2007-10-31 07:29:56 +00:00
parent cd25021844
commit 7f9fd9f4ea
2 changed files with 4 additions and 1 deletions

View File

@ -70,7 +70,7 @@ struct CACHED_SECURID {
struct CACHED_SECURID *next;
uid_t uid;
gid_t gid;
unsigned int mode;
unsigned int dmode;
le32 securid;
} ;
@ -166,6 +166,8 @@ int ntfs_allowed_access(struct SECURITY_CONTEXT *scx, const char *path,
BOOL ntfs_allowed_dir_access(struct SECURITY_CONTEXT *scx,
const char *path, int accesstype);
le32 ntfs_alloc_securid(struct SECURITY_CONTEXT *scx,
uid_t uid, gid_t gid, mode_t mode, BOOL isdir);
int ntfs_set_owner(struct SECURITY_CONTEXT *scx,
const char *path, ntfs_inode *ni, uid_t uid, gid_t gid);
int ntfs_set_owner_mode(struct SECURITY_CONTEXT *scx,

View File

@ -198,6 +198,7 @@ struct _ntfs_volume {
ntfs_inode *secure_ni; /* ntfs_inode structure for FILE $Secure */
ntfs_index_context *secure_xsii; /* index for using $Secure:$SII */
ntfs_index_context *secure_xsdh; /* index for using $Secure:$SDH */
int secure_reentry; /* check for non-rentries */
unsigned int secure_flags; /* flags, see security.h for values */
int mftmirr_size; /* Size of the FILE_MFTMirr in mft records. */