History log of /system/extras/ext4_utils/contents.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3def37fa6f8e037d39c19be9e624f15745032d08 31-May-2012 Matt Finifter <finifter@google.com> Fixes to make_ext4fs when compiled with HAVE_SELINUX.

Set HAVE_SELINUX flag for host compilation of make_ext4fs.

Fix a segfault in contents.c.

Change-Id: I77c39b2cda5f3aa572b5ed8a4f2e5da78341eed6
/system/extras/ext4_utils/contents.c
2e5c52322d54d0f98d36b499fcaa31a0e84ca87c 31-Mar-2012 Kenny Root <kroot@google.com> resolved conflicts for merge of 8f9b41d9 to master

Change-Id: I9af02b9bba1176174540c849f905dece8ade54d8
b4eca4b24af9c80ebb2a7fa2ba539a48096b7576 13-Jan-2012 Stephen Smalley <sds@tycho.nsa.gov> Extend make_ext4fs to support setting SELinux security contexts in ext4 images.

Extend make_ext4fs with support for looking up the right security context from
the file_contexts configuration and setting it in the generated image. This is
similar to the existing support for looking up the UID/GID/mode via
android_filesystem_config.h and setting it, but via configuration rather than
defined in a header.

Change-Id: Ief9c44eeaaca4a44100a384b063f40b185469be3
/system/extras/ext4_utils/contents.c
4605b3fb8a00fa37f617a8d0fe3a095d0503a845 04-Feb-2012 Raphael Moll <raphael@google.com> Adapt ext4_utils for windows.

This is not a full port of ext4_utils for windows.
Instead it merely enables use to use the library
for the 'create an empty fs image' functionality
as used by 'fastboot format'.

Change-Id: Ia1ffacd64e4233c4fbb369c4ac5927ccd72ac526
/system/extras/ext4_utils/contents.c
7c81ec40f5f466b23c2ebacabe1e4e9ac6932bd5 01-Apr-2011 Ken Sumrall <ksumrall@android.com> Properly compute the size of a directory

When computing the size of a directory that is being created,
make sure to include the size of the null entry at the end of
the list of entries in that directory.

Change-Id: I7deb05a170911cd0cc8517600c9747f64915606f
/system/extras/ext4_utils/contents.c
2ff1c5b6e8c1457dbb65fb8305db92c74e95dd42 26-Jan-2011 Colin Cross <ccross@android.com> ext4_utils: Fix off-by-one bug in dentry size calculation

Change-Id: I1a1833dfd5d896acd1d823f8dbe925b8ff1fd5da
/system/extras/ext4_utils/contents.c
2e905e5f2a3df605c68cb8633580c918e9f4ba71 29-Dec-2010 Colin Cross <ccross@android.com> ext4_utils: Fix warnings

Change-Id: Ibeb2001a1ac8cfedd9fced11b17afba4940b6bd5
/system/extras/ext4_utils/contents.c
6bd2b5d80db5630cb73e3e5a4be3b38afa241c5a 05-Aug-2010 Colin Cross <ccross@android.com> Fix calculation of dentry size

The PAD_TO function was incorrectly handling values that were already
aligned, which could lead to overruns of the dentry block. Fix the
function, rename it to ALIGN, move it to ext4_utils.h, and use it
everywhere the dentry size is calculated.

Change-Id: Ie9778d2c6f72d3db9a3162e52882377a71b8420a
/system/extras/ext4_utils/contents.c
cf5c39c1851f8826264822414dbab31c1aeaeec6 05-Aug-2010 Colin Cross <ccross@android.com> Fix zero length files

Zero length files should just skip the block allocation so the
inode extent fields are empty.

Change-Id: I40a6ba32b0a7f842e5d752e8cd70dfda878b8998
/system/extras/ext4_utils/contents.c
de61f980c7b034eefac6e0ace718b3c1eb3f6252 05-Aug-2010 Colin Cross <ccross@android.com> Set timestamps on files based on source files

Use the modification time of the source files to set the modification
time, access time, and creation times in the filesystem image.

Change-Id: I720acba5ec435ceae92bb1653e3cc7545327b6ef
/system/extras/ext4_utils/contents.c
8aef66d2125af8de7672a12895276802fcc1948f 21-Jun-2010 Colin Cross <ccross@android.com> Fix whitespace

Change-Id: I37da6c38cd33ae22a0578ed8e91650e35972bf6a
/system/extras/ext4_utils/contents.c
ec0a2e83dc66d67addeb90e83144187691852a3e 11-Jun-2010 Colin Cross <ccross@android.com> Initial commit of ext4_utils

Change-Id: I911d5b7fd7170ec81d544850717d8e69976e272b
/system/extras/ext4_utils/contents.c