Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-ntfs-3g: List of commits

external/ntfs-3g


RSS
Rev. Time Author
37ff84e lollipop-x86 2015-10-16 02:18:52 Chih-Wei Huang

Add the header for prototypes of some system calls

Define the prototypes of fork/setsid/chdir/dup2/close/_exit to
fix the building errors on Android 6.0.

1d81f68 2015-10-16 02:10:03 Chih-Wei Huang

Merge branch 'edge' of git://git.code.sf.net/p/ntfs-3g/ntfs-3g into lollipop-x86

80e500c 2015-09-30 16:35:17 Jean-Pierre André

Protected against opendir reinitialization in lownfs-3g

Under some condition (probably interference with another process), the
directory list gets reinitialized by releasedir() and opendir() at the
beginning of a partial buffer. So in readdir() skip to the requested
offset. This is a step towards implementing seekdir().

2f373de 2015-09-30 16:08:35 Jean-Pierre André

ntfsprogs Builds on Windows use macroes to translate printing formats,
and these macroes redefined "buf" in a way which causes trouble when
"buf" has another meaning. Use "_b" instead.

800660f 2015-09-30 16:05:47 Jean-Pierre André

Displayed reparse point information in ntfsinfo

Added displaying of reparse point data and decode known formats.

9f22e17 2015-09-30 16:02:15 Jean-Pierre André

Improved the check for a valid $MFTMirr

The test for a valid $MFTMirr could segfault on a badly damaged partition.
Add safety checks.

94f8d21 2015-09-30 15:54:27 Jean-Pierre André

Fixed a wrong test report in ntfsfix

When used with the "no-action" option, the test for self-located MFT
still reported the partition to have been repaired. Adapt the report to
only tell repairing is possible.

4a4ec8c 2015-09-30 15:51:20 Jean-Pierre André

Fixed a bad sanity check in ntfsfix

Fix misordered checks to avoid potential segfaults on badly damaged partitions.

2673578 2015-09-30 15:44:56 Jean-Pierre André

Made secaudit to load the library based on its generic name

When compiled autonomously without the automatically generated dynamic
link stubs, use a generic library name instead of a version dependent one.
(obsolete compile mode rarely used).

9c2657b 2015-09-30 15:36:37 Jean-Pierre André

Made use of fuse module cache on OpenIndiana

The fuse cache does not handle properly hard-linked files, so ntfs-3g
traditionally disables it by using a null time-out. With an upgrade of
the fuse kernel module on OpenIndiana, cacheing of non hard-linked files
is now possible, so use it.

5ebe36f 2015-09-30 15:25:25 Jean-Pierre André

Mentioned the starting sector when it overflows in mkntfs

In an NTFS boot sector, the first sector of the partition is limited to
32 bits and it may overflow on large disks. This field is only used for
booting on the partition and it is ignored by ntfs-3g, but the warning
in mkntfs mislead users, so improve it.

8a3c3c4 2015-09-30 15:18:13 Jean-Pierre André

Used incremental offsets when reading a directory in lowntfs-3g

Using incremental offsets avoids misinterpreting readdir() as rewinddir().
It also makes possible to implement seekdir() [not done yet]

b27ef15 2015-08-21 22:10:16 Chih-Wei Huang

Merge branch 'edge' of git://git.code.sf.net/p/ntfs-3g/ntfs-3g into lollipop-x86

2c11aaa 2015-07-14 15:37:01 Jean-Pierre André

Fixed the range of valid subauthority counts in a SID

ntfs_valid_sid() required that the subauthority count be between 1 and 8
inclusively. However, Windows permits more than 8 subauthorities as well
as 0 subauthorities:

- The install.wim file for the latest Windows 10 build contains a file
whose DACL contains a SID with 10 subauthorities.
ntfs_set_ntfs_acl() was failing on this file.

- The IsValidSid() function on Windows returns true for subauthority
less than or equal to 15, including 0.

There was actually already a another SID validation function that had the
Windows-compatible behavior, so I merged the two together.

Contributed by Eric Biggers

c9771d0 2015-06-23 13:43:17 Erik Larsson

unistr.c: Cleanup of OS X Unicode normalization code.

Normalize coding conventions to fit in with the rest of NTFS-3G,
including line breaks at column 80.

9a7bd25 2015-06-23 13:27:33 Erik Larsson

Skip installing manpages for mount helpers when they aren't available.

78ad037 2015-06-23 13:26:52 Erik Larsson

Make installing mkntfs /sbin symlinks dependent on ENABLE_MOUNT_HELPER.

We shouldn't install anything into /sbin unless ENABLE_MOUNT_HELPER is
on, which is only true for Linux (these are Linux-specific symlinks).

99cb156 2015-06-01 19:48:43 Jean-Pierre André

Ported clearing the environment when starting mount or umount

When starting mount or umount, the environment was not cleared and
could be used for privilege escalation (CVE-2015-3202).
This is a port of the fix to full fuse by using execle(3) instead
of execl(3)

0d01fca 2015-04-17 18:38:33 Jean-Pierre André

Implemented rewindind a directory in lowntfs-3g

Rewinding a directory is done by freeing the current list of files and
rebuilding it. Only seeking to the beginning of the list is implemented.

5741f54 2015-04-17 18:31:47 Jean-Pierre André

Zeroed uninitialized bytes before writing compressed data

Compressed records may be written as full clusters even though cluster
tails are meaningless. This is to avoid the lower levels doing a read-
modify-write cycle. Be sure to zero the meaningless bytes to avoid
leaking information.

Contributed by Eric Biggers

bd2c91d 2015-04-17 18:22:49 Jean-Pierre André

Packed/unpacked st_rdev transported as 32-bits on OpenIndiana 64-bits

On OpenIndiana 64-bits, st_rdev has major and minor as 32-bits wide each,
but the fuse protocol (common to 32-bit and 64-bit) has an st_rdev field
limited to 32-bit. For now, pack major and minor the same way as in the
32-bit variant (14 and 18 bits).

46716df 2015-04-17 18:17:51 Jean-Pierre André

Simplified NTFS ACLs when group same as owner and same permission as all

When the owner and the group of a file have the same SID, and permissions
for the group is the same as permissions for other, no ACE is needed for
the group.

3d1c87d 2015-04-17 18:14:36 Jean-Pierre André

Fixed setting SIG_DFL on fuse session exit

This is a backport of a fix applied to the (external) fuse library

e40b86a 2015-04-17 18:03:58 Jean-Pierre André

Upgraded the upper-case table as defined by Windows 7

Newer versions of Windows use more recent definitions of upper-case
table defined by the Unicode consortium. Now using the same table as
Windows 7, windows 8 and Windows 10. This only has an effect on file
systems newly created by mkntfs.

6a1c32e 2015-04-17 18:00:00 Jean-Pierre André

Fixed the DESX encryption/decryption in ntfsdecrypt

The DESX encryption/decryption algorithm was different from the Windows one.

e24ea68 2015-04-17 17:56:34 Jean-Pierre André

Removed a temporary debug comment (cosmetic)

The comment was a left over from some debugging action.

baab4c2 2015-04-17 17:49:23 Jean-Pierre André

Added a sanity check to ntfswipe

Unused entries in the MFT may have a bad length leading to fetch fixups
from unallocated memory. Check the condition, but do not wipe, leave it
to chkdsk to decide what should be fixed.

b249246 2015-04-17 17:41:04 Jean-Pierre André

Defended against reusing data from an invalid MFT record

An unused MFT record may show a bad length, leading to fetch fixups from
unallocated memory when allocating the record to a new file. So check
the length before applying the fixups. Such records have been found after
the MFT has been reallocated by a defragmenter, and they are not cleaned
by chkdsk.

8fb58de 2015-04-17 17:35:26 Jean-Pierre André

Updated the read-only flag even when the security attribute was cached

When chmod'ing a file, no new ACL has to be created if the one needed
is already present in the cache. However the read-only flag may have
to be updated, so that it is kept as the opposite of S_IWUSR.

d96ae8d 2015-04-17 17:27:24 Jean-Pierre André

Removed the double try to unmount partition in ntfsfix

When the unmounting of the partition fails after running ntfsfix, a
second try was attempted. This cannot be done and leads to more errors
because some essential records have been freed, so better quit without
making a second try.

Show on old repository browser