History log of /external/e2fsprogs/lib/blkid/cache.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e0ed7404719a9ddd2ba427a80db5365c8bad18c0 20-Mar-2014 JP Abgrall <jpa@google.com> Switch back to 1.42.9 now that there is a fix

Revert "Revert changes that moved from 1.41.14 to 1.42.9"

This reverts commit 65f0aab98b20b5994a726ab90d355248bcddfffd.
/external/e2fsprogs/lib/blkid/cache.c
65f0aab98b20b5994a726ab90d355248bcddfffd 06-Mar-2014 JP Abgrall <jpa@google.com> Revert changes that moved from 1.41.14 to 1.42.9

Revert "e2fsck: Don't use e2fsck_global_ctx unless HAVE_SIGNAL_H"
commit e80e74c41d85ff93f3d212ba6512340f48054a93.

Revert "Merge remote-tracking branch 'linaro/linaro-1.42.9' into aosp_master"
This reverts commit e97b2b6fc82f840e84dfc631b87f21be44ff2421, reversing
changes made to 7e2fb9d09c245eba70ee008b78007315e9c0f1df.

Revert "Prepare for upstream 1.42.9"
This reverts commit 7e2fb9d09c245eba70ee008b78007315e9c0f1df.

Bug: 13340735
Change-Id: If48b153a95ef5f69f7cdccb00e23524abff3c5a8
Signed-off-by: JP Abgrall <jpa@google.com>
/external/e2fsprogs/lib/blkid/cache.c
18a1444b4f1e6a0948fd38fa0de382d86cfe04de 31-Dec-2013 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Add files that would normally be generated by the e2fsprogs build system

Android doesn't run ./configure and friends, so it has to rely on
pre-populated versions of the autogenerated files.

This is somewhat bogus (e.g. hardcoded little-endian reference in
lib/ext2fs/ext2_types.h) and should at some point be fixed, but it's
what Android has always done, not a regression from the 1.41.14 branch.

Also, don't #include config.h which we don't generate (we pass what it
usually contains as -D parameters from Android.mk) anywhere.

Add a new Android.mk file for the quota library.

Change-Id: I162c6327fee5bd06261d9cdcc34bda10f04a6f21
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
/external/e2fsprogs/lib/blkid/cache.c
1ad3174af5213fa7029944cc19723cda08f221d3 16-Jun-2013 Theodore Ts'o <tytso@mit.edu> Try to use secure_getenv() in preference to __secure_getenv()

If secure_getenv() use it in preference to __secure_getenv().
Starting with (e)glibc version 2.17, secure_getenv() exists, while
__secure_getenv() only works with shared library links (where it is a
weak symbol), but not for static links with /lib/libc.a

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/cache.c
d1154eb460efe588eaed3d439c1caaca149fa362 18-Sep-2011 Theodore Ts'o <tytso@mit.edu> Shorten compile commands run by the build system

The DEFS line in MCONFIG had gotten so long that it exceeded 4k, and
this was starting to cause some tools heartburn. It also made "make
V=1" almost useless, since trying to following the individual commands
run by make was lost in the noise of all of the defines.

So fix this by putting the configure-generated defines in lib/config.h
and the directory pathnames to lib/dirpaths.h.

In addition, clean up some vestigal defines in configure.in and in the
Makefiles to further shorten the cc command lines.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/cache.c
45e338f5332a54295893dba2e32cc093d1316f60 23-Feb-2009 Jim Meyering <jim@meyering.net> remove useless if-before-free tests

In case you're wondering about whether this change is safe from a
portability standpoint, fear not. This has been beaten to death
in other forums. Here are a few threads:

http://thread.gmane.org/gmane.comp.version-control.git/74187
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/12712
http://thread.gmane.org/gmane.emacs.devel/98144
http://thread.gmane.org/gmane.comp.lib.glibc.alpha/13092

There has been debate about whether it's a good idea from a
performance standpoint, too, but imho you'll have a hard time
finding an instance where this sort of change induces a
measurable performance penalty. If you do, please let me know.

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/cache.c
efc6f628e15de95bcd13e4f0ee223cb42115d520 28-Aug-2008 Theodore Ts'o <tytso@mit.edu> Remove trailing whitespace for the entire source tree

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/cache.c
772b89d34212e4b36c2025c80304e166bc25a2f3 21-Jun-2008 Eric Sandeen <sandeen@redhat.com> blkid: use list_for_each_safe in garbage collection

We need to use list_for_each_safe in case a device gets removed from
the list during garbage collection.

Also make the manpage slightly more informative about
what the -g garbage collection option does.

Addresses-Debian-Bug: #487758, #487783

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/cache.c
7292355283b90f1da3a86713b9f85074da22bb84 18-May-2007 Theodore Ts'o <tytso@mit.edu> Add new function blkid_gc_cache()

New function which performs a garbage collection pass on the
/etc/blkid.tab file.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/cache.c
583d1f83284ddfe126d97e6db0020739a1609b5a 25-Jul-2005 Theodore Ts'o <tytso@mit.edu> Fix false positives from valgrind: prctl(PR_GET_DUMPABLE)

Pass in zero to the unusued arguments of prctl(PR_GET_DUMPABLE) to
avoid false positives from valgrind.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/cache.c
12b3c8ec1d314b8775fc7d9cefd6bfff551f1de0 07-May-2005 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall nits in the blkid library.
/external/e2fsprogs/lib/blkid/cache.c
78c7d0efae91cde1a992f69c1a0157b39e971670 07-May-2005 Theodore Ts'o <tytso@mit.edu> 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_*().
/external/e2fsprogs/lib/blkid/cache.c
09f3eba28a4d3c050a548eab571b73352b131021 16-Apr-2005 Theodore Ts'o <tytso@mit.edu> Fix typo so that we actually ignore environment variables when gid != egid.
/external/e2fsprogs/lib/blkid/cache.c
762c7c65103615d976beeb4c8e2d1d9a79c87d86 06-Apr-2005 Theodore Ts'o <tytso@mit.edu> 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).
/external/e2fsprogs/lib/blkid/cache.c
65ffef3689fd220e4e0d34d33f3372cdd30358bb 22-Mar-2005 Theodore Ts'o <tytso@mit.edu> Ignore the BLKID_FILE environment variable if blkid_get_cache() is
called from a setuid program.
/external/e2fsprogs/lib/blkid/cache.c
7a3a386b9e6c1ad00f7fb4f57c32178974203a05 12-Apr-2004 Theodore Ts'o <tytso@mit.edu> In the blkid library, if the BLKID_FILE environment
variable is set, use it to find the blkid.tab file if the
calling application did not supply a filename.
/external/e2fsprogs/lib/blkid/cache.c
48e6e81362f264aee4f3945c14928efaf71a06c9 06-Jul-2003 Theodore Ts'o <tytso@mit.edu> Fixx gcc -Wall nitpicks.
/external/e2fsprogs/lib/blkid/cache.c
88fe61c7c39b97193100d61ac4785de1fb05d130 18-Mar-2003 Theodore Ts'o <tytso@mit.edu> cache.c: Initialize blkid_debug_mask to zero since some
operating systems can't deal with variables in the common
section in shared libraries.
/external/e2fsprogs/lib/blkid/cache.c
79dd234a799434b6dc8365c49e743f00eb09d2fd 22-Feb-2003 Theodore Ts'o <tytso@mit.edu> Internal changes to the blkid library:

1) Only one tag with a particular name can be attached to a device
at a time. This significantly simplifies the library, and was needed
to allow the cache file to be re-read and changes integrated into the
in-core version of the data structure in a simpler fashion than earlier
versions of the library.

2) To accomodate this, the ext2/ext3 filesystems are now always tagged
as "ext2" type filesystems. Ext3 filesystems are tagged with a
SEC_TYPE tag with the value ext3.

3) The new blkid_read_cache() function checks the mod time of the
cache file, and if the file has been changed since the last time the
cache file was read into memory, it is re-read. This function is now
called before probing all of the devices in the system or searching
all devices in the cache for a specific tag value.

4) After probing all devices, blkid_flush_cache() is called to write
out the cache file. This assures that all of the hard work involved
in doing a blkid_probe_all() is saved to disk.
/external/e2fsprogs/lib/blkid/cache.c
f0a22d0fd3ec3f45b562af5afba8811f72b94a28 22-Feb-2003 Theodore Ts'o <tytso@mit.edu> Add dynamic debugging capabilities to the blkid library,
controlled by the environment variable BLKID_DEBUG. The debugging
code is enabled by a new configuration option, --enable-blkid-debug.
/external/e2fsprogs/lib/blkid/cache.c
50b380b4d4ab668bad45033e3a8aaf93c7f42844 13-Feb-2003 Theodore Ts'o <tytso@mit.edu> Wholesale changes to blkid library to simplify the implementation
and shrink its size. Change library version to be 1.0.
/external/e2fsprogs/lib/blkid/cache.c
7a603aa89fcffb8798eca34ca3858db6f0393046 26-Jan-2003 Theodore Ts'o <tytso@mit.edu> Separate public and private interfaces into separate header files.
Start separating internal implementation details from the
publically exported interface of the blkid library.
/external/e2fsprogs/lib/blkid/cache.c
d3f917989badf78d1f97654e46d60d1f3d25cd17 25-Jan-2003 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall nits.
/external/e2fsprogs/lib/blkid/cache.c
e12f2ae74c2eb8997bf13adf8fdd7e7313971eae 23-Jan-2003 Theodore Ts'o <tytso@mit.edu> Integrate new blkid library.
/external/e2fsprogs/lib/blkid/cache.c