mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-23 18:14:25 +08:00
b7343ebb63
There are a number of error conditions which, due to the way ext2fs_dir_iterate2 operates, would not be propagated to the upper layers of the call stack. As a result, certain error conditions, such as not having enough room to allocate blocks for SELinux labels, would fail silently, instead of causing a compile failure. As suggested in https://android-review.googlesource.com/c/platform/external/e2fsprogs/+/324363 , add a error field to the caller's private data structure, and use the bit in the field to indicate an error condition. Now, certain errors which were silently ignored will cause a compile failure when compiling Android. Test: Artifically modify selabel_lookup() to return a failure, and verify Android doesn't compile. Test: Verify Android compiles under normal circumstances. Test: Artifically modify ino_add_xattr() to return a failure, and verify Android doesn't compile. Bug: 117502873 Bug: 117567573 Bug: 117473440 Signed-off-by: Theodore Ts'o <tytso@mit.edu> Change-Id: Icdb0105a77e98c3428f20d3c59bf824dcad5db8d From AOSP commit: 7ca13b8b2953f93536ea09eb2ff19bd7cc85b3c1 |
||
---|---|---|
config | ||
contrib | ||
debian | ||
debugfs | ||
doc | ||
e2fsck | ||
ext2ed | ||
include | ||
install-utils | ||
intl | ||
lib | ||
misc | ||
po | ||
resize | ||
tests | ||
util | ||
.gitignore | ||
.missing-copyright | ||
.release-checklist | ||
ABOUT-NLS | ||
acinclude.m4 | ||
aclocal.m4 | ||
Android.bp | ||
CleanSpec.mk | ||
configure | ||
configure.ac | ||
depfix.sed | ||
e2fsprogs.lsm | ||
e2fsprogs.spec | ||
INSTALL | ||
INSTALL.elfbin | ||
Makefile.in | ||
MCONFIG.in | ||
NOTICE | ||
README | ||
RELEASE-NOTES | ||
SHLIBS | ||
SUBMITTING-PATCHES | ||
version.h | ||
wordwrap.pl |
This is the new version (1.44.4) of the second extended file system management programs. From time to time, I release new versions of e2fsprogs, to fix bugs and to make the utilities more robust. You can always find information about the latest version at the the e2fsprogs web page, which is: http://e2fsprogs.sourceforge.net The INSTALL file has instructions on building and installing e2fsprogs. Provisions for building Red Hat RPMs and Debian dpkg files are supplied as well. In case of bugs in these programs, please contact Ted Ts'o at tytso@mit.edu or tytso@alum.mit.edu. See the e2fsck man page for suggestions of what sort of information to include when submitting bug reports for these programs.