"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/ntfs-3g/param.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.

param.h  (ntfs-3g_ntfsprogs-2016.2.22.tgz):param.h  (ntfs-3g_ntfsprogs-2017.3.23.tgz)
skipping to change at line 110 skipping to change at line 110
* Permission checking modes for high level and low level * Permission checking modes for high level and low level
* *
* The choices for high and low lowel are independent, they have * The choices for high and low lowel are independent, they have
* no effect on the library * no effect on the library
* *
* Stick to the recommended values unless you understand the consequences * Stick to the recommended values unless you understand the consequences
* on protection and performances. Use of cacheing is good for * on protection and performances. Use of cacheing is good for
* performances, but bad on security with internal fuse or external * performances, but bad on security with internal fuse or external
* fuse older than 2.8 * fuse older than 2.8
* *
* On Linux, cacheing is discouraged for the high level interface
* in order to get proper support of hard links. As a consequence,
* having access control in the file system leads to fewer requests
* to the file system and fewer context switches.
*
* Possible values for high level : * Possible values for high level :
* 1 : no cache, kernel control (recommended) * 1 : no cache, kernel control (recommended)
* 4 : no cache, file system control * 4 : no cache, file system control
* 6 : kernel/fuse cache, file system control (OpenIndiana only) * 6 : kernel/fuse cache, file system control (OpenIndiana only)
* 7 : no cache, kernel control for ACLs * 7 : no cache, kernel control for ACLs
* *
* Possible values for low level : * Possible values for low level :
* 2 : no cache, kernel control * 2 : no cache, kernel control
* 3 : use kernel/fuse cache, kernel control (external fuse >= 2.8) * 3 : use kernel/fuse cache, kernel control (recommended)
* 5 : no cache, file system control (recommended on Linux) * 5 : no cache, file system control
* 6 : kernel/fuse cache, file system control (OpenIndiana only) * 6 : kernel/fuse cache, file system control (OpenIndiana only)
* 8 : no cache, kernel control for ACLs * 8 : no cache, kernel control for ACLs
* 9 : kernel/fuse cache, kernel control for ACLs (target)
* *
* Use of options 7 and 8 requires a patch to fuse * Use of options 7, 8 and 9 requires a fuse module upgrade
* When Posix ACLs are selected in the configure options, a value * When Posix ACLs are selected in the configure options, a value
* of 6 is added in the mount report. * of 6 is added in the mount report.
*/ */
#if defined(__sun) && defined(__SVR4) #if defined(__sun) && defined(__SVR4)
/* /*
* Access control by kernel is not implemented on OpenIndiana, * Access control by kernel is not implemented on OpenIndiana,
* however care is taken of cacheing hard-linked files. * however care is taken of cacheing hard-linked files.
*/ */
#define HPERMSCONFIG 6 #define HPERMSCONFIG 6
#define LPERMSCONFIG 6 #define LPERMSCONFIG 6
#else #else /* defined(__sun) && defined(__SVR4) */
/*
* Cacheing by kernel is buggy on Linux when access control is done
* by the file system, and also when using hard-linked files on
* the fuse high level interface.
*/
#define HPERMSCONFIG 1 #define HPERMSCONFIG 1
#if defined(FUSE_INTERNAL) || !defined(FUSE_VERSION) || (FUSE_VERSION < 28) #define LPERMSCONFIG 3 /* Use 9 when ACLs are supported by fuse kernel */
#define LPERMSCONFIG 5
#else
#define LPERMSCONFIG 3
#endif
#endif /* defined(__sun) && defined(__SVR4) */ #endif /* defined(__sun) && defined(__SVR4) */
#endif /* defined _NTFS_PARAM_H */ #endif /* defined _NTFS_PARAM_H */
 End of changes. 6 change blocks. 
9 lines changed or deleted 16 lines changed or added

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