From 5603b7d4c24003a3fbdbf1d3e8886ec1e326faa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Fri, 8 Apr 2011 18:13:25 +0200 Subject: [PATCH 1/3] Described a few configure options in the README file --- README | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README b/README index 2c6f6462..97fcfb2c 100644 --- a/README +++ b/README @@ -41,6 +41,17 @@ the FUSE kernel module. Then unpack the source tarball and type: Please note that NTFS-3G doesn't require the FUSE user space package any more. +The list of options for building specific configurations is displayed by +typing : + + ./configure --help + +Below are a few specific options to ./configure : + --disable-ntfsprogs : do not build the ntfsprogs tools, + --enable-posix-acls : enable support for Posix ACLs + --enable-xattr-mappings : enable system extended attributes mappings + --with-fuse=external : use external fuse (overriding Linux default) + Non-Linux: Please see http://www.tuxera.com/community/ntfs-3g-download/ From b492b313f947492a183d0f24de33c064cdd42809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Fri, 8 Apr 2011 18:15:43 +0200 Subject: [PATCH 2/3] Fixed a false detection of bad memory release in secaudit --- src/secaudit.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/secaudit.c b/src/secaudit.c index a4b41f01..ff45f41d 100644 --- a/src/secaudit.c +++ b/src/secaudit.c @@ -181,6 +181,9 @@ * * Mar 2011, version 1.3.19 * - fixed interface to ntfs_initialize_file_security() + * + * Apr 2011, version 1.3.20 + * - fixed false memory leak detection */ /* @@ -204,7 +207,7 @@ * General parameters which may have to be adapted to needs */ -#define AUDT_VERSION "1.3.19" +#define AUDT_VERSION "1.3.20" #define GET_FILE_SECURITY "ntfs_get_file_security" #define SET_FILE_SECURITY "ntfs_set_file_security" @@ -5015,7 +5018,11 @@ void showfull(const char *fullname, BOOL isdir) | POSIX_ACL_GROUP | POSIX_ACL_MASK)))) showposix(pxdesc); +#if USESTUBS + stdfree(pxdesc); /* allocated within library */ +#else free(pxdesc); +#endif } #endif if ((opt_r || opt_b) && (securindex < MAXSECURID) From e4db980830bcbcb7b78e01d681e0a484fdf5d67b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Fri, 8 Apr 2011 18:19:17 +0200 Subject: [PATCH 3/3] Translated the junctions to lower case when ignore_case is set When ignore_case is set, the file names are returned lower-case in readdir() in order to make file name completions possible. This patch does the same for junction points to avoid directory locks when used with non-matching names. --- libntfs-3g/reparse.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libntfs-3g/reparse.c b/libntfs-3g/reparse.c index 0f6360e1..05490bf4 100644 --- a/libntfs-3g/reparse.c +++ b/libntfs-3g/reparse.c @@ -200,8 +200,13 @@ static u64 ntfs_fix_file_name(ntfs_inode *dir_ni, ntfschar *uname, */ lemref = entry->indexed_file; mref = le64_to_cpu(lemref); - for (i=0; ifile_name_length; i++) - uname[i] = found->file_name[i]; + if (NVolCaseSensitive(vol) || !vol->locase) { + for (i=0; ifile_name_length; i++) + uname[i] = found->file_name[i]; + } else { + for (i=0; ifile_name_length; i++) + uname[i] = vol->locase[found->file_name[i]]; + } } } ntfs_index_ctx_put(icx);