xref: /aosp_15_r20/external/e2fsprogs/doc/RelNotes/v1.43.1.txt (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard WorkerE2fsprogs 1.43.1 (June 8, 2016)
2*6a54128fSAndroid Build Coastguard Worker===============================
3*6a54128fSAndroid Build Coastguard Worker
4*6a54128fSAndroid Build Coastguard WorkerFixed e2fsck so that it would correctly update the project quota usage
5*6a54128fSAndroid Build Coastguard Workerwhen deleting a corrupted and inode, and fixed mke2fs so it wouldn't
6*6a54128fSAndroid Build Coastguard Workerdereference memory beyond the small inode structure (which was wrong,
7*6a54128fSAndroid Build Coastguard Workerbut worked mostly by accident unless hardening or some security malloc
8*6a54128fSAndroid Build Coastguard Workerwas in use).
9*6a54128fSAndroid Build Coastguard Worker
10*6a54128fSAndroid Build Coastguard WorkerFixed a large number of FreeBSD portability problems.  (To build on
11*6a54128fSAndroid Build Coastguard WorkerFreeBSD, however, we still need to use GNU Make and redirect dd to use
12*6a54128fSAndroid Build Coastguard WorkerGNU dd.)
13*6a54128fSAndroid Build Coastguard Worker
14*6a54128fSAndroid Build Coastguard WorkerThe configure script now supports --enable-hardening, which enables
15*6a54128fSAndroid Build Coastguard Workerstack protection, fortify, read-only relocation tables, immediate
16*6a54128fSAndroid Build Coastguard Workerdynamic symbol binding, and text segment ASLR (if the kernel has
17*6a54128fSAndroid Build Coastguard Workeruserspace ASLR support enabled) by enabling position independent
18*6a54128fSAndroid Build Coastguard Workerexecutable code.  (Distributions who want to do their own special
19*6a54128fSAndroid Build Coastguard Workerthing can set CFLAGS, CFLAGS_SHLIB, CLFAGS_STLIB, LDFLAGS,
20*6a54128fSAndroid Build Coastguard WorkerLDFLAGS_SHLIB and LDFLAGS_STATIC as appropriate.)
21*6a54128fSAndroid Build Coastguard Worker
22*6a54128fSAndroid Build Coastguard WorkerThe configure script now supports --disable-tdb since on 64-bit
23*6a54128fSAndroid Build Coastguard Workersystems, it's much faster to just enable additional swap space.  The
24*6a54128fSAndroid Build Coastguard Workerscratch_files feature in e2fsck.conf is mostly only useful on 32-bit
25*6a54128fSAndroid Build Coastguard Workersystems.
26*6a54128fSAndroid Build Coastguard Worker
27*6a54128fSAndroid Build Coastguard WorkerFixed the Direct I/O fallback codepath in the Unix I/O manager so that
28*6a54128fSAndroid Build Coastguard Workerread/modify/write worked correctly.  Fortunately in practice (with the
29*6a54128fSAndroid Build Coastguard Workerexception of the Undo handler when running on FreeBSD) used this buggy
30*6a54128fSAndroid Build Coastguard Workercodepath. so file systems weren't getting corrupted.
31*6a54128fSAndroid Build Coastguard Worker
32*6a54128fSAndroid Build Coastguard WorkerMke2fs will now warn if the user provides a label which is too long.
33*6a54128fSAndroid Build Coastguard Worker(Addresses Debian Bug: #791630)
34*6a54128fSAndroid Build Coastguard Worker
35*6a54128fSAndroid Build Coastguard WorkerDebugfs's rdump command now works correctly when dumping the root
36*6a54128fSAndroid Build Coastguard Workerdirectory of a file system.  (Addresses Debian Bug: #766125)
37*6a54128fSAndroid Build Coastguard Worker
38*6a54128fSAndroid Build Coastguard WorkerFixed a bug in debugfs so it would correctly calculate a block group's
39*6a54128fSAndroid Build Coastguard Workerchecksum field field on 64-bit systems.
40*6a54128fSAndroid Build Coastguard Worker
41*6a54128fSAndroid Build Coastguard WorkerE2fsck now has a much more understandable error message when the
42*6a54128fSAndroid Build Coastguard Workerjournal superblock is corrupt and the user declines to fix it.
43*6a54128fSAndroid Build Coastguard Worker(Addresses Debian Bug: #768162)
44*6a54128fSAndroid Build Coastguard Worker
45*6a54128fSAndroid Build Coastguard WorkerFixed support of extended timestamps on 64-bit systems.
46*6a54128fSAndroid Build Coastguard Worker
47*6a54128fSAndroid Build Coastguard WorkerUpdated/fixed various man pages.  (Addresses Debian Bugs: #766379,
48*6a54128fSAndroid Build Coastguard Worker#761144, #770750, #428361, #766127)
49*6a54128fSAndroid Build Coastguard Worker
50*6a54128fSAndroid Build Coastguard WorkerFixed various Debian Packaging Issues.  (Addresses Debian Bug: #825868)
51*6a54128fSAndroid Build Coastguard Worker
52*6a54128fSAndroid Build Coastguard Worker
53*6a54128fSAndroid Build Coastguard WorkerProgramming notes
54*6a54128fSAndroid Build Coastguard Worker-----------------
55*6a54128fSAndroid Build Coastguard Worker
56*6a54128fSAndroid Build Coastguard WorkerFixed coverity, sparse, gcc -Wall, and clang warnings/nits.
57*6a54128fSAndroid Build Coastguard Worker
58*6a54128fSAndroid Build Coastguard WorkerFixed Android build makefiles (which was missing a newly added file in
59*6a54128fSAndroid Build Coastguard Workerlib/support).
60*6a54128fSAndroid Build Coastguard Worker
61*6a54128fSAndroid Build Coastguard WorkerIn general, checks on s_creator_os have been removed in favor of
62*6a54128fSAndroid Build Coastguard Workerfeature flag specific checks; if there is something that can't be
63*6a54128fSAndroid Build Coastguard Workerchecked via the presence of a feature flag, we will simply check
64*6a54128fSAndroid Build Coastguard Workerwhether the creator OS is *not* EXT2_OS_HURD which is the one
65*6a54128fSAndroid Build Coastguard Workeroperating system where there has been extensive abuse of the
66*6a54128fSAndroid Build Coastguard Workers_creator_os flag.
67*6a54128fSAndroid Build Coastguard Worker
68*6a54128fSAndroid Build Coastguard WorkerThe libmagic library has been suppressed when running the regression
69*6a54128fSAndroid Build Coastguard Workertest suite to avoid false test failures caused by differences between
70*6a54128fSAndroid Build Coastguard Workerversions of libmagic (and/or the magic number database).
71*6a54128fSAndroid Build Coastguard Worker
72*6a54128fSAndroid Build Coastguard WorkerThe tests/test_script program now accepts the --failed option, which
73*6a54128fSAndroid Build Coastguard Workerwill run those tests that had previously failed.
74*6a54128fSAndroid Build Coastguard Worker
75*6a54128fSAndroid Build Coastguard WorkerFixed tests build on those systems which require LDFLAGS to be set.
76*6a54128fSAndroid Build Coastguard Worker
77*6a54128fSAndroid Build Coastguard WorkerFixed the regression test suite so it will properly filter out version
78*6a54128fSAndroid Build Coastguard Workernumbers with two components (such as 1.43) from log files before
79*6a54128fSAndroid Build Coastguard Workercomparing them with the expected golden output.
80*6a54128fSAndroid Build Coastguard Worker
81