Whamcloud - gitweb
tools/e2fsprogs.git
18 years agoAdded SUBMITTING-PATCHES file
Theodore Ts'o [Wed, 6 Jul 2005 03:30:13 +0000 (22:30 -0500)]
Added SUBMITTING-PATCHES file

This file descripts the signed-off-by procedure first used by Linus
for the Linux kernel patch submissions, and which will now be used for
e2fsprogs as well.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
18 years agoSet the executible bit on the configure script.
Theodore Ts'o [Wed, 6 Jul 2005 03:14:20 +0000 (22:14 -0500)]
Set the executible bit on the configure script.

18 years agoMake e2fsck Pass 1C header consistent with the other headers
Theodore Ts'o [Mon, 4 Jul 2005 18:08:37 +0000 (13:08 -0500)]
Make e2fsck Pass 1C header consistent with the other headers

Removed the period from the Pass 1C header to make it consistent with
the other e2fsck pass headers.

18 years agoAdd missing changelog file for previous commit (hg changeset: 0502b63a5be9)
Theodore Ts'o [Mon, 4 Jul 2005 18:04:05 +0000 (13:04 -0500)]
Add missing changelog file for previous commit (hg changeset: 0502b63a5be9)

18 years ago[BUGFIX]: E2fsck will segfault on disconnected inode with extended attribute(s)
Theodore Ts'o [Mon, 4 Jul 2005 17:53:36 +0000 (12:53 -0500)]
[BUGFIX]: E2fsck will segfault on disconnected inode with extended attribute(s)

This was actually caused by two bugs.  The first bug is that if the
inode has been fully fixed up, the code will attempt to remove the
inode from the inode_bad_map without checking to see if this bitmap is
present.  Since it is cleared at the end of pass 2, if
e2fsck_process_bad_inode is called in pass 4 (as it is for
disconnected inodes), this would result in a core dump.

The first bug was mostly hidden by a second bug, which caused
e2fsck_process_bad_inode() to consider all inodes without an extended
attribute to be not fixed.

Note: This bug was introduced in e2fsprogs 1.36.

(Addresses Debian Bug: #316736)

18 years agoFix debugfs's set_inode_fields command from silently failing.
Theodore Ts'o [Mon, 4 Jul 2005 17:24:40 +0000 (12:24 -0500)]
Fix debugfs's set_inode_fields command from silently failing.

The set_inodes_field command was silently failing when setting one of
the following fields: frag, fsize, uid_high, gid_high, and author.
The type size for these fields were set to an incorrect value in the
inode_fields table.

18 years agoFix typo in RELEASE-NOTES (wrong date, extra comment)
Theodore Ts'o [Fri, 1 Jul 2005 22:31:55 +0000 (17:31 -0500)]
Fix typo in RELEASE-NOTES (wrong date, extra comment)

18 years agoCreate .hgignore file
Theodore Ts'o [Fri, 1 Jul 2005 22:30:58 +0000 (17:30 -0500)]
Create .hgignore file

18 years agoADD TAG: E2FSPROGS-1_38 E2FSPROGS-1_38
Theodore Ts'o [Fri, 1 Jul 2005 00:06:45 +0000 (20:06 -0400)]
ADD TAG: E2FSPROGS-1_38

18 years agoUpdate for e2fsprogs 1.38 release.
Theodore Ts'o [Fri, 1 Jul 2005 00:06:45 +0000 (20:06 -0400)]
Update for e2fsprogs 1.38 release.

18 years agoChange mke2fs to refuse to create filesystems greater than 2*31-1 blocks,
Theodore Ts'o [Fri, 1 Jul 2005 00:00:41 +0000 (20:00 -0400)]
Change mke2fs to refuse to create filesystems greater than 2*31-1 blocks,
at least unless forced.

18 years agoChange the function prototypes of ext2fs_set_bit, ext2fs_clear_bit, and
Theodore Ts'o [Thu, 30 Jun 2005 23:40:18 +0000 (19:40 -0400)]
Change the function prototypes of ext2fs_set_bit, ext2fs_clear_bit, and
ext2fs_test_bit to take an unsigned int for the bit number.  Negative
bit numbers were never allowed (and didn't make any sense), so this should
be a safe change.  This is needed to allow safe use of block numbers
greater than or equal to 2**31.

18 years agoFix blkid's debugging/TEST_PROGRAM code so that it is sufficiently
Theodore Ts'o [Mon, 27 Jun 2005 17:54:08 +0000 (13:54 -0400)]
Fix blkid's debugging/TEST_PROGRAM code so that it is sufficiently
standalone that "make check" will compile without errors even
when configure "--enable-blkid-debug" is not specified.

18 years agoext2fs_resize_mem() is suffering from C99 strict type aliasing problems.
Stephen Tweedie [Mon, 27 Jun 2005 15:47:21 +0000 (11:47 -0400)]
ext2fs_resize_mem() is suffering from C99 strict type aliasing problems.
The trouble is that it is modifying pointers in place, but doing so via
"void *" types which alias the pointers passed in (which are typically
pointers to a struct.)  The inline ext2fs_resize_mem() code may update
the pointer, but the caller is not required to reload the old value it
may have cached in a register, according to the type aliasing rules.

This is causing the caller to dereference the old pointer when compiled
with -O2, resulting in reproducible SEGV, on at least one ia64
configuration.

The compiler *is* required to reload if it sees an update to a dereferenced
char value, though, as chars are defined to alias anything; and memcpy()
is defined to operate on chars.  So using memcpy() to copy the pointer
values is guaranteed to force the caller to reload.  This has been
verified to fix the problem in practice.

Fixes Red Hat bug #161183.

18 years agoFix minor typos in tune2fs's man page pointed out by Benno Schulenberg.
Theodore Ts'o [Mon, 27 Jun 2005 02:16:21 +0000 (22:16 -0400)]
Fix minor typos in tune2fs's man page pointed out by Benno Schulenberg.

18 years agoUpdate typos in changelog
Theodore Ts'o [Mon, 27 Jun 2005 02:12:40 +0000 (22:12 -0400)]
Update typos in changelog

18 years agoUpdate French, Dutch, Polish, Swedish, and Turkish translations.
Theodore Ts'o [Mon, 27 Jun 2005 02:11:46 +0000 (22:11 -0400)]
Update French, Dutch, Polish, Swedish, and Turkish translations.

18 years agoADD TAG: E2FSPROGS-1_38-WIP-0620 E2FSPROGS-1_38-WIP-0620
Theodore Ts'o [Mon, 20 Jun 2005 22:00:55 +0000 (18:00 -0400)]
ADD TAG: E2FSPROGS-1_38-WIP-0620

18 years agoUpdate for e2fsprogs 1.38-WIP-0620 release.
Theodore Ts'o [Mon, 20 Jun 2005 22:00:55 +0000 (18:00 -0400)]
Update for e2fsprogs 1.38-WIP-0620 release.

18 years agoUpdate po files before WIP release.
Theodore Ts'o [Mon, 20 Jun 2005 22:00:23 +0000 (18:00 -0400)]
Update po files before WIP release.

18 years agoerror_message.c, init_et.c: Segregate error tables registered
Theodore Ts'o [Mon, 20 Jun 2005 21:59:06 +0000 (17:59 -0400)]
error_message.c, init_et.c: Segregate error tables registered
via add_error_table() and the other dynamic methods from
the ones allocated via initialize_xxx_error_table() so
that we won't fail even for error tables created using old
versions of compile_et.  Thanks to Nalin Dahyabhai for
this suggested patch.

18 years agoet_c.awk: Use a dynamically allocated structure in
Theodore Ts'o [Mon, 20 Jun 2005 20:24:04 +0000 (16:24 -0400)]
et_c.awk: Use a dynamically allocated structure in
initialize_xxx_error_table(), to prevent segfaults if an
old library calls initialize_xxx_error_table, and another
library/application calls add_error_table() on the same
error table, and then calls remove_error_table().
(Addresses Sourcefroge Bug #1150146)

18 years agoFix e2fsprogs messages for grammar and consistency, based on suggestions
Theodore Ts'o [Mon, 20 Jun 2005 12:35:27 +0000 (08:35 -0400)]
Fix e2fsprogs messages for grammar and consistency, based on suggestions
from Benno Schulenberg.

Add missing _() so all strings can be internationalized.

18 years agoClean up e2image man page, mostly based on suggestions from
Theodore Ts'o [Mon, 20 Jun 2005 12:26:50 +0000 (08:26 -0400)]
Clean up e2image man page, mostly based on suggestions from
Benno Schulenberg.

18 years agoMake it easier to compile the misc/partinfo program
Theodore Ts'o [Mon, 20 Jun 2005 12:25:31 +0000 (08:25 -0400)]
Make it easier to compile the misc/partinfo program
for testing purposes only)

18 years agoFix minor typo introduced in e2fsck man page.
Theodore Ts'o [Mon, 20 Jun 2005 12:24:28 +0000 (08:24 -0400)]
Fix minor typo introduced in e2fsck man page.

18 years agoRemove the findsuper and partinfo programs from the list of C files to be
Theodore Ts'o [Mon, 20 Jun 2005 12:23:55 +0000 (08:23 -0400)]
Remove the findsuper and partinfo programs from the list of C files to be
internationalized, as they are not installed by default (nor should they be).

18 years agogetsectsize.c (BLKSSZGET): Clean up test for when to manually
Theodore Ts'o [Mon, 20 Jun 2005 03:11:09 +0000 (23:11 -0400)]
getsectsize.c (BLKSSZGET): Clean up test for when to manually
define the BLKSSZGET ioctl.

18 years agoMake the e2fsck man page clear that the -c, -l, and -L options are
Theodore Ts'o [Mon, 20 Jun 2005 01:04:12 +0000 (21:04 -0400)]
Make the e2fsck man page clear that the -c, -l, and -L options are
never safe to use on a mounted filesystem, and in general, running
e2fsck on mounted filesystems is a bad idea.

18 years agoClean up e2fsck problem description messages for typo's and to make them
Theodore Ts'o [Sun, 19 Jun 2005 13:45:36 +0000 (09:45 -0400)]
Clean up e2fsck problem description messages for typo's and to make them
easier to understand (sorry, translators).

Add new @m (multiply-claimed) and @n (invalid) expansions for e2fsck
problem descriptions.

Add Dutch translation, and update French translation.

Add an explanation of how the @-expansion and %-exapansion works in
e2fsck/problem.c to make life easier for the translators.

Synchronize and update po files.

19 years agoMakefile.in: Add an include path specifier when building
Theodore Ts'o [Thu, 16 Jun 2005 22:41:06 +0000 (18:41 -0400)]
Makefile.in: Add an include path specifier when building
tst_ostype so that "make check" will build correctly on
systems without the include files from e2fsprogs installed
in the system include directory.

19 years agodefaults/e_script, run_e2fsck, d_loaddump, f_resize_inode,
Theodore Ts'o [Thu, 16 Jun 2005 19:08:00 +0000 (15:08 -0400)]
defaults/e_script, run_e2fsck, d_loaddump, f_resize_inode,
f_swapfs, f_move_itable, f_resize_inode, test_config:
Allow the diff options to be set in test_config so that
diff -u can be used on platforms that have it.  (To be
done: checking whether diff can support -u in the
configure script.)

19 years agomke2fs.c (PRS): Fix missing close parenthesis from bad inode
Theodore Ts'o [Thu, 16 Jun 2005 18:10:55 +0000 (14:10 -0400)]
mke2fs.c (PRS): Fix missing close parenthesis from bad inode
ratio error message.

19 years agoFix a minor spelling typo in blkid's man page, and update e2fsck's REPORTING
Theodore Ts'o [Sun, 5 Jun 2005 20:46:19 +0000 (16:46 -0400)]
Fix a minor spelling typo in blkid's man page, and update e2fsck's REPORTING
BUGS section to request that e2fsck's messages printed in English, and to
send a raw e2image filesystem dump if possible.

19 years agoUpdate release notes and changelogs for the correct spelling of "Swedish".
Theodore Ts'o [Sun, 5 Jun 2005 20:42:20 +0000 (16:42 -0400)]
Update release notes and changelogs for the correct spelling of "Swedish".

19 years agoOn Linux 2.6 systems, mke2fs and badblocks will check to see whether
Theodore Ts'o [Sun, 5 Jun 2005 20:05:22 +0000 (16:05 -0400)]
On Linux 2.6 systems, mke2fs and badblocks will check to see whether
the filesystem appears to be busy; if so, the programs will print an
error message and abort.   (Addresses Debian Bug #308594).

19 years agofilefrag.c (frag_report, get_bmap): The FIBMAP and FIGETBSZ ioctls return
Theodore Ts'o [Sat, 21 May 2005 03:10:35 +0000 (23:10 -0400)]
filefrag.c (frag_report, get_bmap): The FIBMAP and FIGETBSZ ioctls return
an integer, not an unsigned long.  Fix this to avoid problems on 64-bit
platforms where the size of an integer != the size of a long.
(Addresses Debian Bug #309655)

19 years agoUpdate Polish, Sweedish, and Turkish translations.
Theodore Ts'o [Sat, 21 May 2005 02:51:55 +0000 (22:51 -0400)]
Update Polish, Sweedish, and Turkish translations.

19 years agoChange the default journal size to be bigger for larger filesystems,
Theodore Ts'o [Tue, 10 May 2005 02:25:39 +0000 (22:25 -0400)]
Change the default journal size to be bigger for larger filesystems,
given modern memory sizes.  Now, for filesystems greater than 4GB, we
use a journal of 128 MB instead 32 MB.

19 years agoADD TAG: E2FSPROGS-1_38-WIP-0509 E2FSPROGS-1_38-WIP-0509
Theodore Ts'o [Tue, 10 May 2005 00:42:38 +0000 (20:42 -0400)]
ADD TAG: E2FSPROGS-1_38-WIP-0509

19 years agoUpdate for release of e2fsprogs 1.38-WIP-0509-1.
Theodore Ts'o [Tue, 10 May 2005 00:42:38 +0000 (20:42 -0400)]
Update for release of e2fsprogs 1.38-WIP-0509-1.

19 years agoUpdate e2fsprogs.pot for translation project.
Theodore Ts'o [Tue, 10 May 2005 00:40:55 +0000 (20:40 -0400)]
Update e2fsprogs.pot for translation project.

19 years agoModify the script which generates the e2fsprogs.pot translations template
Theodore Ts'o [Tue, 10 May 2005 00:39:02 +0000 (20:39 -0400)]
Modify the script which generates the e2fsprogs.pot translations template
file to include comments that expand the '@' abbrevations in e2fsck/problem.c

19 years agoFix some minor typo's and grammar's strings, and remove debugging strings
Theodore Ts'o [Mon, 9 May 2005 20:22:17 +0000 (16:22 -0400)]
Fix some minor typo's and grammar's strings, and remove debugging strings
from needing to be translated.  Patch is from Benno Schulenberg.

19 years agoUpdate Swedish translation, and add Rawanda translation.
Theodore Ts'o [Mon, 9 May 2005 06:01:31 +0000 (02:01 -0400)]
Update Swedish translation, and add Rawanda translation.

19 years agoFix bug in the secure getenv function so that the ss library will corrently
Theodore Ts'o [Sun, 8 May 2005 06:15:02 +0000 (02:15 -0400)]
Fix bug in the secure getenv function so that the ss library will corrently
honor the PAGER and SS_READLINE_PATH environtment variables, and the
test_io io_manager in the ext2fs library honors the TEST_IO_LOGFILE,
TEST_IO_FLAGS, TEST_IO_BLOCK, and TEST_IO_READ_ABORT environment variables.

19 years agoFix the f_dup_resize script to be more portable and not rely on e2fsprogs
Theodore Ts'o [Sun, 8 May 2005 05:01:02 +0000 (01:01 -0400)]
Fix the f_dup_resize script to be more portable and not rely on e2fsprogs
already being installed.

19 years agoAdd a new option to the blkid program, -l, which will more efficiently search
Theodore Ts'o [Sat, 7 May 2005 21:06:27 +0000 (17:06 -0400)]
Add a new option to the blkid program, -l, which will more efficiently search
for a single device.

Add a new function to the blkid library, blkid_probe_all_new().

Optimize blkid_find_dev_with_tag() so that extraneous device validation are
skipped.  (Makes a difference for system with a large number of disks).

19 years agoFix gcc -Wall nits in the blkid library.
Theodore Ts'o [Sat, 7 May 2005 18:38:10 +0000 (14:38 -0400)]
Fix gcc -Wall nits in the blkid library.

19 years agoClean up the debugging code in the blkid library so that we don't use
Theodore Ts'o [Sat, 7 May 2005 18:22:38 +0000 (14:22 -0400)]
Clean up the debugging code in the blkid library so that we don't use
the inline functions DEB_DUMP_* and instead use the private functions
blkid_debug_dump_*().

19 years agoAdd new two new functions to the blkid library: blkid_dev_set_search(), and
Theodore Ts'o [Sat, 7 May 2005 17:32:47 +0000 (13:32 -0400)]
Add new two new functions to the blkid library: blkid_dev_set_search(), and
blkid_dev_has_tag(), and change the blkid program to take advantage of these
functions.

19 years agoRemove the Conflicts: tag from the Debian e2fsprogs-udebs package, since
Theodore Ts'o [Sat, 7 May 2005 05:54:19 +0000 (01:54 -0400)]
Remove the Conflicts: tag from the Debian e2fsprogs-udebs package, since
udebs dont support Conflicts.

19 years agoWhen determining the libraries needed for Debian's initrd, unset
Theodore Ts'o [Fri, 6 May 2005 20:26:13 +0000 (16:26 -0400)]
When determining the libraries needed for Debian's initrd, unset
LD_PRELOAD and LD_LIBRARY_PATH and filter out libraries found in
/etc/ld.so.preload.  (Addresses Debian Bug: #304003)

19 years agoEscape hyphens in the e2image and tune2fs man pages so that they show up
Theodore Ts'o [Fri, 6 May 2005 16:04:10 +0000 (12:04 -0400)]
Escape hyphens in the e2image and tune2fs man pages so that they show up
correctly after groff processes them.

19 years agoIf the .c and .h file already exist, and they have not changed, use the
Theodore Ts'o [Fri, 6 May 2005 13:42:34 +0000 (09:42 -0400)]
If the .c and .h file already exist, and they have not changed, use the
original versions of the files, so as to avoid rebuilding files when not
necessary.  Also fixes a potential SMP/Parallel build problem when one
make process runs compile_et to generate the .h file, and a partially
generated .c file is compiled by another make process.  (Addresses
Sourceforge Bug: #1157933)

19 years agoUpdate "make depend" information. Fixes SMP parallel build problem.
Theodore Ts'o [Fri, 6 May 2005 13:37:58 +0000 (09:37 -0400)]
Update "make depend" information.  Fixes SMP parallel build problem.
(Addresses Sourceforge Bug: #1157933)

19 years agoFix compile warning in do_stat() from previous fix.
Theodore Ts'o [Fri, 6 May 2005 13:04:37 +0000 (09:04 -0400)]
Fix compile warning in do_stat() from previous fix.

19 years agoFix build of tst_ostype when doing a "make check" in lib/e2p; it was missing
Theodore Ts'o [Fri, 6 May 2005 04:38:26 +0000 (00:38 -0400)]
Fix build of tst_ostype when doing a "make check" in lib/e2p; it was missing
CFLAGS in the compile rule.  (Addresses Sourceforge Bug: #1180572)

19 years agoFix potential portability issue in the blkid program. (On architectures
Theodore Ts'o [Fri, 6 May 2005 04:10:52 +0000 (00:10 -0400)]
Fix potential portability issue in the blkid program.  (On architectures
where char is unsigned).  (Addresses Sourceforge Bug: #1180585)

19 years agoCorrects a few mistakes in the fsck man page, wraps two overlong lines,
Theodore Ts'o [Fri, 6 May 2005 03:15:55 +0000 (23:15 -0400)]
Corrects a few mistakes in the fsck man page, wraps two overlong lines,
and changes "bad" to "invalid" in some messages to avoid confusion with
"bad blocks" in the e2fsck, mke2fs, and badblocks programs.  Thanks to
Benno Schulenberg.  (Addresses Sourceforge Bug: #1189803)

19 years agoFix typo in the debugfs command used to fixed trashed filesystems by
Theodore Ts'o [Fri, 6 May 2005 02:57:44 +0000 (22:57 -0400)]
Fix typo in the debugfs command used to fixed trashed filesystems by
FC3's resize2fs program.  (Addresses Sourceforge Bug #1190897).

19 years agoFix a bug in filefrag so that it doesn't when the first block found is an
Theodore Ts'o [Fri, 6 May 2005 02:55:20 +0000 (22:55 -0400)]
Fix a bug in filefrag so that it doesn't when the first block found is an
indirect block, it doesn't falsely count an extra discontunity.  (Addresses
Debian Bug #307607).

19 years agoFix libblkid's magic number recognition for the cramfs filesystem,
Theodore Ts'o [Thu, 5 May 2005 22:06:04 +0000 (18:06 -0400)]
Fix libblkid's magic number recognition for the cramfs filesystem,
and add support to pull out the label for cramfs filesystems.
Thanks to Karel Zak (kzak at redhat.com) for the patch.

19 years agodebugfs.c (do_stat): Check to make sure a filesystem is open
Theodore Ts'o [Thu, 5 May 2005 21:21:46 +0000 (17:21 -0400)]
debugfs.c (do_stat): Check to make sure a filesystem is open
and abort if with an error if not, to prevent a seg fault
in that case.

19 years agoFix spelling mistakes in man pages. (Addresses Debian Bugs: #304591,
Theodore Ts'o [Sat, 16 Apr 2005 18:05:09 +0000 (14:05 -0400)]
Fix spelling mistakes in man pages.  (Addresses Debian Bugs: #304591,
#304592, #304594, #304597, #304593)

19 years agoFix typo so that we actually ignore environment variables when gid != egid.
Theodore Ts'o [Sat, 16 Apr 2005 17:56:03 +0000 (13:56 -0400)]
Fix typo so that we actually ignore environment variables when gid != egid.

19 years agoDon't offer to update or clone the resize inode when e2fsck deals with
Theodore Ts'o [Thu, 14 Apr 2005 21:10:14 +0000 (17:10 -0400)]
Don't offer to update or clone the resize inode when e2fsck deals with
multiply claimed blocks.

19 years agoUse a centrally stored current time for "now" which
Theodore Ts'o [Thu, 14 Apr 2005 18:07:53 +0000 (14:07 -0400)]
Use a centrally stored current time for "now" which
can be overridden using the E2FSCK_TIME environment
variable, for better reproducibility for regression tests.

19 years agoUpdate debian changelog for 1.37-2 release.
Theodore Ts'o [Sun, 10 Apr 2005 01:12:30 +0000 (21:12 -0400)]
Update debian changelog for 1.37-2 release.

19 years agotest_script.in: Make the test script driver exit with a non-zero
Theodore Ts'o [Sat, 9 Apr 2005 05:26:49 +0000 (01:26 -0400)]
test_script.in: Make the test script driver exit with a non-zero
status if there are any failed tests.

19 years agoDon't abort filefrag if EXT3_IOC_GETFLAGS ioctl is not supported,
Theodore Ts'o [Sat, 9 Apr 2005 05:24:04 +0000 (01:24 -0400)]
Don't abort filefrag if EXT3_IOC_GETFLAGS ioctl is not supported,
so that filefrag can work on non-ext2/3 filesystems, as advertised.
(Addresses Debian Bug: #303509)

19 years agols.c: Add stdlib.h header file since list_super2() uses the
Theodore Ts'o [Sat, 9 Apr 2005 05:22:09 +0000 (01:22 -0400)]
ls.c: Add stdlib.h header file since list_super2() uses the
free() function.

19 years agoAdd missing return values in error return cases in the ext2fs library.
Theodore Ts'o [Sat, 9 Apr 2005 05:21:21 +0000 (01:21 -0400)]
Add missing return values in error return cases in the ext2fs library.
(Otherwise we return garbage instead of the error code.)

19 years agoFix minor spelling typo in the mke2fs man page.
Theodore Ts'o [Sat, 9 Apr 2005 04:33:21 +0000 (00:33 -0400)]
Fix minor spelling typo in the mke2fs man page.

19 years agopass1.c (e2fsck_pass1): If the superblock last mount time (not
Theodore Ts'o [Wed, 6 Apr 2005 18:55:53 +0000 (14:55 -0400)]
pass1.c (e2fsck_pass1): If the superblock last mount time (not
just the last write time) looks insane, then assume that
we can't do the LOW_DTIME checks.

19 years agoAdd paranoia checks into the blkid, ext2fs, and ss libraries to ignore
Theodore Ts'o [Wed, 6 Apr 2005 18:44:16 +0000 (14:44 -0400)]
Add paranoia checks into the blkid, ext2fs, and ss libraries to ignore
environment variables if the libraries are called from setuid or setguid
programs, or if kernel believes that the process is not eligible to create
a core dump.  In addition, if the libc has __secure_getenv(), use it so that
the libc can also do any additional limitations regarding when libraries can
trust environment variables (i.e., to integrate with systems like SELinux
and Posix capabilities).

19 years agoostype.c (e2p_os2string): Check to make sure malloc() is
Theodore Ts'o [Thu, 31 Mar 2005 05:01:33 +0000 (00:01 -0500)]
ostype.c (e2p_os2string): Check to make sure malloc() is
successful before attempting to copy into it.  Add
#include of stdlib.h to fix a core dump bug on the IA64
architecture.  (Addresses Debian Bug #302200)

19 years agoADD TAG: E2FSPROGS-1_37 E2FSPROGS-1_37
Theodore Ts'o [Tue, 22 Mar 2005 03:55:18 +0000 (22:55 -0500)]
ADD TAG: E2FSPROGS-1_37

19 years agoUpdate LSM file for 1.37 release.
Theodore Ts'o [Tue, 22 Mar 2005 03:55:18 +0000 (22:55 -0500)]
Update LSM file for 1.37 release.

19 years agoUpdate for the e2fsprogs 1.37 release.
Theodore Ts'o [Tue, 22 Mar 2005 03:37:03 +0000 (22:37 -0500)]
Update for the e2fsprogs 1.37 release.

19 years agoIgnore the BLKID_FILE environment variable if blkid_get_cache() is
Theodore Ts'o [Tue, 22 Mar 2005 03:13:32 +0000 (22:13 -0500)]
Ignore the BLKID_FILE environment variable if blkid_get_cache() is
called from a setuid program.

19 years agoFix the test image so that it actually has an ea-in-inode.
Theodore Ts'o [Mon, 21 Mar 2005 22:15:18 +0000 (17:15 -0500)]
Fix the test image so that it actually has an ea-in-inode.

19 years agoAdd new test case which exercises the ea-in-inode checker in e2fsck.
Theodore Ts'o [Mon, 21 Mar 2005 21:41:35 +0000 (16:41 -0500)]
Add new test case which exercises the ea-in-inode checker in e2fsck.

19 years agoIntegrate code from Alex Thomas at Clusterfs to check extended attributes
Theodore Ts'o [Mon, 21 Mar 2005 18:15:45 +0000 (13:15 -0500)]
Integrate code from Alex Thomas at Clusterfs to check extended attributes
stored in inodes into e2fsck.

There are a number of bug fixes and enhancements over the original lustre fsck
BK repository.  The biggest one is that this extended attribute values must
be aligned on 4-byte boundaries.

19 years agoMake debugfs's stat command print the size of the extra inode fields,
Theodore Ts'o [Mon, 21 Mar 2005 06:08:10 +0000 (01:08 -0500)]
Make debugfs's stat command print the size of the extra inode fields,
if any.

19 years agoFix mke2fs so that it writes the root directory
Theodore Ts'o [Mon, 21 Mar 2005 06:02:53 +0000 (01:02 -0500)]
Fix mke2fs so that it writes the root directory
using ext2fs_write_new_inode(), and fix ext2fs_write_new_inode()
so that it initializes i_extra_isize properly.

19 years agoMake e2fsck check the superblock's inode_size to make sure it is
Theodore Ts'o [Mon, 21 Mar 2005 03:47:54 +0000 (22:47 -0500)]
Make e2fsck check the superblock's inode_size to make sure it is
sane before we start depending on it!

19 years agoFix e2fsck, debugfs, and the ext2fs_mkdir function so that when we create
Theodore Ts'o [Mon, 21 Mar 2005 01:05:22 +0000 (20:05 -0500)]
Fix e2fsck, debugfs, and the ext2fs_mkdir function so that when we create
a new inode we make sure that the extra information in the inode (any extra
fields in a large inode and any ea-in-inode information) is cleared.  This
can happen when e2fsck creates a new root inode or a new lost+found directory,
or when the user uses the debugfs write, mknod, or mkdir commands.  Otherwise,
the newly create inode could inherit garbage (or old EA information) from
a previously deleted inode.

19 years agoEnhance debugfs's stat command so it can dump extended attributes
Theodore Ts'o [Sun, 20 Mar 2005 23:03:58 +0000 (18:03 -0500)]
Enhance debugfs's stat command so it can dump extended attributes
which are stored in the inode body.

19 years agoFix bug in e2fsck where we don't notice if a file with an extended
Theodore Ts'o [Sun, 20 Mar 2005 21:57:10 +0000 (16:57 -0500)]
Fix bug in e2fsck where we don't notice if a file with an extended
attribute block is so big that i_blocks wraps to zero.

19 years agoAdd new functions which convert between a string and os_type: e2p_os2string()
Theodore Ts'o [Sat, 19 Mar 2005 06:13:22 +0000 (01:13 -0500)]
Add new functions which convert between a string and os_type: e2p_os2string()
and e2p_string2os() in the e2p library.

19 years agoFix clean target to remove tst_getsectsize.
Theodore Ts'o [Sat, 19 Mar 2005 04:50:32 +0000 (23:50 -0500)]
Fix clean target to remove tst_getsectsize.

Remove useless -DDEBUG when linking tst_getsectsize.

19 years agofilefrag.c (frag_report): Automatically detect files that are
Theodore Ts'o [Sat, 19 Mar 2005 01:37:45 +0000 (20:37 -0500)]
filefrag.c (frag_report): Automatically detect files that are
stored using the new experimental file fragments format,
and use the non-ext2 algorithm for determing the number of
extents.  Avoid reporting a false discontinuity if there
is a non-allocated block (or extent) at the beginning of
the file.

19 years agogetsize.c (ext2fs_get_device_size): Check to see if the number
Theodore Ts'o [Sat, 19 Mar 2005 01:11:59 +0000 (20:11 -0500)]
getsize.c (ext2fs_get_device_size): Check to see if the number
of blocks is greater than 2**32 when we are doing a binary
search to determine the device size.  Thanks to Stephen
Tweedie for the patch.

19 years agoForce compile_et and mk_cmds to use /usr/bin/awk so that we will work
Theodore Ts'o [Thu, 17 Mar 2005 06:16:34 +0000 (01:16 -0500)]
Force compile_et and mk_cmds to use /usr/bin/awk so that we will work
on any Debian system regardless of which version of awk is installed.
(Closes: #299341)

19 years agogetsize.c (blkid_get_dev_size): Fix compilation problem on
Theodore Ts'o [Thu, 17 Mar 2005 04:38:14 +0000 (23:38 -0500)]
getsize.c (blkid_get_dev_size): Fix compilation problem on
Darwin systems.

19 years agogen_tarball.in: Don't remove the .gmo files from the generated tarball;
Theodore Ts'o [Wed, 2 Mar 2005 17:57:51 +0000 (12:57 -0500)]
gen_tarball.in: Don't remove the .gmo files from the generated tarball;
they are now treated as source files instead of generated files.

19 years agoUpdate the TODO file to have more information in it.
Theodore Ts'o [Tue, 1 Mar 2005 22:15:33 +0000 (17:15 -0500)]
Update the TODO file to have more information in it.

19 years agoChange the debian version to be 1.36release-1 since we didn't do the WIP
Theodore Ts'o [Tue, 1 Mar 2005 22:10:51 +0000 (17:10 -0500)]
Change the debian version to be 1.36release-1 since we didn't do the WIP
version numbers correctly.

19 years agoADD TAG: E2FSPROGS-1_36 E2FSPROGS-1_36
Theodore Ts'o [Sat, 5 Feb 2005 23:26:03 +0000 (18:26 -0500)]
ADD TAG: E2FSPROGS-1_36