"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/ntfs-3g/security.h" between
ntfs-3g_ntfsprogs-2016.2.22.tgz and ntfs-3g_ntfsprogs-2017.3.23.tgz

About: NTFS-3G is a read-write NTFS driver for Linux and other operating systems. It provides safe handling of the Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008, Windows 7 and Windows 8 NTFS file systems.

security.h  (ntfs-3g_ntfsprogs-2016.2.22.tgz):security.h  (ntfs-3g_ntfsprogs-2017.3.23.tgz)
skipping to change at line 176 skipping to change at line 176
u16 filler; u16 filler;
struct POSIX_ACE ace[0]; struct POSIX_ACE ace[0];
} __attribute__((__packed__)); } __attribute__((__packed__));
struct POSIX_SECURITY { struct POSIX_SECURITY {
mode_t mode; mode_t mode;
int acccnt; int acccnt;
int defcnt; int defcnt;
int firstdef; int firstdef;
u16 tagsset; u16 tagsset;
s32 alignment[0]; u16 filler;
struct POSIX_ACL acl; struct POSIX_ACL acl;
} ; } ;
/* /*
* Posix tags, cpu-endian 16 bits * Posix tags, cpu-endian 16 bits
*/ */
enum { enum {
POSIX_ACL_USER_OBJ = 1, POSIX_ACL_USER_OBJ = 1,
POSIX_ACL_USER = 2, POSIX_ACL_USER = 2,
skipping to change at line 259 skipping to change at line 259
int ntfs_set_owner_mode(struct SECURITY_CONTEXT *scx, int ntfs_set_owner_mode(struct SECURITY_CONTEXT *scx,
ntfs_inode *ni, uid_t uid, gid_t gid, ntfs_inode *ni, uid_t uid, gid_t gid,
mode_t mode, struct POSIX_SECURITY *pxdesc); mode_t mode, struct POSIX_SECURITY *pxdesc);
#else #else
int ntfs_set_owner_mode(struct SECURITY_CONTEXT *scx, int ntfs_set_owner_mode(struct SECURITY_CONTEXT *scx,
ntfs_inode *ni, uid_t uid, gid_t gid, mode_t mode); ntfs_inode *ni, uid_t uid, gid_t gid, mode_t mode);
#endif #endif
le32 ntfs_inherited_id(struct SECURITY_CONTEXT *scx, le32 ntfs_inherited_id(struct SECURITY_CONTEXT *scx,
ntfs_inode *dir_ni, BOOL fordir); ntfs_inode *dir_ni, BOOL fordir);
int ntfs_open_secure(ntfs_volume *vol); int ntfs_open_secure(ntfs_volume *vol);
void ntfs_close_secure(struct SECURITY_CONTEXT *scx); int ntfs_close_secure(ntfs_volume *vol);
void ntfs_destroy_security_context(struct SECURITY_CONTEXT *scx);
#if POSIXACLS #if POSIXACLS
int ntfs_set_inherited_posix(struct SECURITY_CONTEXT *scx, int ntfs_set_inherited_posix(struct SECURITY_CONTEXT *scx,
ntfs_inode *ni, uid_t uid, gid_t gid, ntfs_inode *ni, uid_t uid, gid_t gid,
ntfs_inode *dir_ni, mode_t mode); ntfs_inode *dir_ni, mode_t mode);
int ntfs_get_posix_acl(struct SECURITY_CONTEXT *scx, ntfs_inode *ni, int ntfs_get_posix_acl(struct SECURITY_CONTEXT *scx, ntfs_inode *ni,
const char *name, char *value, size_t size); const char *name, char *value, size_t size);
int ntfs_set_posix_acl(struct SECURITY_CONTEXT *scx, ntfs_inode *ni, int ntfs_set_posix_acl(struct SECURITY_CONTEXT *scx, ntfs_inode *ni,
const char *name, const char *value, size_t size, const char *name, const char *value, size_t size,
 End of changes. 2 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS