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/e2fsck/profile.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/e2fsck/profile.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/e2fsck/profile.c
|
f0131bdc6ff2b349e84e4767d9fe8b078a0ee521 |
|
12-Dec-2013 |
Darrick J. Wong <darrick.wong@oracle.com> |
e2fsck: fix memory leaks (on error path) Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.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/e2fsck/profile.c
|
6d4ced2192766f09f021ed801797961ad2f8e258 |
|
16-Sep-2011 |
Eric Sandeen <sandeen@redhat.com> |
e2fsck: Fix leaks in error paths fn and/or array was not freed in some error paths. [ Also make sure the array is NULL terminated before we free it in get_dirlist(). --tytso] Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
d3859af33f5bbbc432dedb20e85a5ae62e0fff03 |
|
10-May-2011 |
Aditya Kali <adityakali@google.com> |
mke2fs: Allow specifying reserved_ratio via mke2fs.conf This patch adds support for specifying 'reserved_ratio' (percent blocks reserved for super user, same as '-m' command line option) in mke2fs.conf. It adds profile_get_double function in profile.c that allows reading floating point values from profile files. Signed-off-by: Aditya Kali <adityakali@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.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/e2fsck/profile.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/e2fsck/profile.c
|
6f890e516d1eddb52a566d1f77888c9edf5772f2 |
|
04-Jul-2007 |
Theodore Ts'o <tytso@mit.edu> |
Add new function: profile_set_default() profile_set_default() sets the value of the pseudo file "<default>". If the file "<default>" had previously been passed to profile_init(), then def_string parameter will be parsed and used as the profile information for the "<default>" file. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
6bde5c28ba25600f02f6d8cd2e8de39017bc421d |
|
04-Jul-2007 |
Theodore Ts'o <tytso@mit.edu> |
Add PROFILE_FILE_NO_RELOAD flag which is used by profile_update_file() Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
8f234d9650eb6f6a897148d5136cb27f373de4a7 |
|
31-May-2007 |
Brian Behlendorf <behlendorf1@llnl.gov> |
[COVERITY] Free potential null dereference bug in e2fsck At the second conditional iter->file could still be NULL. We need to check for it again. Should never happen in practice, but better to be sure. Coverity ID: 6: Forward Null Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
32460c1e4c7259b532bdd1e74583c80f573b467a |
|
23-May-2007 |
Theodore Ts'o <tytso@mit.edu> |
Add new function profile_get_uint() in the e2fsck sources Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
93503267c9765f80f8bbbdbb132d495a859361e1 |
|
21-Mar-2007 |
Brian Behlendorf <behlendorf1@llnl.gov> |
[COVERITY] Fix memory leak in profile library The profile must be freed early if the subsequent memory allocation fails for 'expanded_filename'. Coverity ID: 14: Resource Leak Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
12f91959993f0d2882592427c94f35f32436e03a |
|
19-Mar-2007 |
Brian Behlendorf <behlendorf1@llnl.gov> |
[COVERITY] Fix segfault bug if the profile directory is empty Coverity ID: 5: Forward NULL Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
642935c082ca22e1186fc9926fe06e4207d5ab56 |
|
15-Nov-2006 |
Theodore Ts'o <tytso@mit.edu> |
Fix misc. gcc -Wall complaints in the misc and e2fsck directories Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
204ae371ad2e038b41c03aba13d3a57e4e6921ec |
|
22-Mar-2006 |
Theodore Ts'o <tytso@mit.edu> |
Tighten up profile parsing code by combining functions Integrate profile_std_line() into parse_line(), and profile_parse_file() into profile_update_file() to make the code use less memory. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
22fe674da4bdec2ff1c1abb7ad074df3a641377b |
|
06-Jan-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add support for quoted strings in tag and section names Also changed top-level section name parsing to ignore leading and trailing whitespace. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
7d922f8bcba93f7d830825cb2e07b3eaee99b994 |
|
05-Jan-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add support to the profile library for /etc/foo/conf.d style directories If a directory is passed to profile_init, then read all files which match [0-9a-zA-Z]* in sort order. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
d45544ca5419e218537f8b9689bbb028abbf8f28 |
|
05-Jan-2006 |
Theodore Ts'o <tytso@mit.edu> |
More profile cleanups: remove prf_data_t data structure Eliminate the prf_data_t data structure and fold it back into prof_file_t. Eschew needless complexity! Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
95a8d1de512f7ae55b78d99db21bb0d5973d115e |
|
05-Jan-2006 |
Theodore Ts'o <tytso@mit.edu> |
Enhance profile library's parser to accept comments This also changes syntax accepted by the profile parser. The value of profile relations must not contain spaces unless it is quoted; otherwise the parser will throw an error. Previously something like this was allowed: [liboptions] test = foo bar Now, the relation must be in double quotes in order to be valid, i.e., "foo bar". Comments are allowed anywhere and can be started with either a ';' or a '#' character. The only place where comments will not be intepreted as beginning a comment is in a quoted string. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
f5f14fcfe9eba0282a3dfe5600364bbf797dcfc3 |
|
04-Jan-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add syntax error reporting to the profile library E2fsck will now report syntax errors in /etc/e2fsck.conf intead of simply ignoring the config file when there are errors. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
9a4c209cd26a7eae3d1de427d9b028f69e1c2554 |
|
03-Jan-2006 |
Theodore Ts'o <tytso@mit.edu> |
Simplify profile core functionality Boil down and simplify profile.c, and move extra functionality that's not needed into profile_helpers.c Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
44dc5f8804b2480764f792315d84977ec9569163 |
|
02-Jan-2006 |
Theodore Ts'o <tytso@mit.edu> |
Clean up test driver program for profile.c and #ifdef unused static functions Unified batchmode and command-line handling. profile_is_node_final() and profile_find_node_relation() are static, unused functions. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
cec7103d922f89156acf25055a249fad82ed0e7a |
|
02-Jan-2006 |
Theodore Ts'o <tytso@mit.edu> |
Fix profile.c so that com_err.h doesn't have to be installed Fix #include of com_err.h so that it isn't required that the com_err development environment be installed. (Addresses Debian Bug: #345519) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
5582275fe06d6f4d0679d0a1a28d069769da8b41 |
|
31-Dec-2005 |
Theodore Ts'o <tytso@mit.edu> |
Slim down profile.c #ifdef out functions not needed by e2fsck. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
fd7ac1fc9889075885cd698ddd3287af6457c7be |
|
31-Dec-2005 |
Theodore Ts'o <tytso@mit.edu> |
Fix incorrect location of prof_err.h in profile.c. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|
2fa9ba98337b07d6acfac52b5ee5dc8116dda866 |
|
31-Dec-2005 |
Theodore Ts'o <tytso@mit.edu> |
Add the profile library code to e2fsck The profile library was originally written by Theodore Ts'o in 1995 for use in the MIT Kerberos v5 library. It has been modified/enhanced/bug-fixed over time by other members of the MIT Kerberos team. This version was originally taken from the Kerberos v5 distribution, version 1.4.2, and radically simplified for use in e2fsprogs. (Support for locking for multi-threaded operations, being able to modify and update the configuration file programmatically, and Mac/Windows portability have been removed. It has been folded into a single C source file to make it easier to fold into an application program.) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/e2fsck/profile.c
|