<feed xmlns='http://www.w3.org/2005/Atom'>
<title>replicant/core/cpio, branch master</title>
<subtitle>Patches not merged yet, used for building and testing them
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/'/>
<entry>
<title>Possible null pointer miss on realloc</title>
<updated>2017-03-23T21:41:14+00:00</updated>
<author>
<name>Mikhail Lappo</name>
<email>miklelappo@gmail.com</email>
</author>
<published>2017-03-23T21:17:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=26464914feccfce4b835bd73a1130ba5be069e8a'/>
<id>26464914feccfce4b835bd73a1130ba5be069e8a</id>
<content type='text'>
Realloc can return null pointer which
will cause a crash then. Patch introduces
check for controlled 'die' in case memory is
not available

Change-Id: I279028339b1fe756d8a511834e164e59d4cab110
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Realloc can return null pointer which
will cause a crash then. Patch introduces
check for controlled 'die' in case memory is
not available

Change-Id: I279028339b1fe756d8a511834e164e59d4cab110
</pre>
</div>
</content>
</entry>
<entry>
<title>mkbootfs: Fix the default st_mode for root directory.</title>
<updated>2016-10-07T23:14:27+00:00</updated>
<author>
<name>Tao Bao</name>
<email>tbao@google.com</email>
</author>
<published>2016-10-07T17:20:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=3b5fbd833141fde386615176cd6989b51491b15a'/>
<id>3b5fbd833141fde386615176cd6989b51491b15a</id>
<content type='text'>
CL in [1] fixed the wrong mode for the root directory from 0644 to 0755.
However it only handles the path by calling mkbootfs with canned
fs_config (i.e. with -f flag). When calling mkbootfs without -f flag, it
still treats the root directory as a file. This renders the generated
boot/recovery images w/ and w/o -f being different, and leads to the
incorrect checksums in /system/bin/install-recovery.sh.

[1] commit aa8f2f65a030f71506277e2a8d64d83a099e9feb.

Bug: 31988535
Test: `make dist` and verify the checksums in /system/bin/install-recovery.sh.

Change-Id: Ib50fadb23367da0b46944ae0579093da21412593
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CL in [1] fixed the wrong mode for the root directory from 0644 to 0755.
However it only handles the path by calling mkbootfs with canned
fs_config (i.e. with -f flag). When calling mkbootfs without -f flag, it
still treats the root directory as a file. This renders the generated
boot/recovery images w/ and w/o -f being different, and leads to the
incorrect checksums in /system/bin/install-recovery.sh.

[1] commit aa8f2f65a030f71506277e2a8d64d83a099e9feb.

Bug: 31988535
Test: `make dist` and verify the checksums in /system/bin/install-recovery.sh.

Change-Id: Ib50fadb23367da0b46944ae0579093da21412593
</pre>
</div>
</content>
</entry>
<entry>
<title>fs_config: replace getenv('OUT') by new fs_config parameter</title>
<updated>2015-07-10T04:47:07+00:00</updated>
<author>
<name>Thierry Strudel</name>
<email>tstrudel@google.com</email>
</author>
<published>2015-07-09T16:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=df33ffadd29ed02d87e87515626b673eac67f735'/>
<id>df33ffadd29ed02d87e87515626b673eac67f735</id>
<content type='text'>
Using a getenv('OUT') in such a deep down function is a wrong design
choice. Replacing with explicit parameter that may be NULL in case
device specific files can be accessed from /.
Since TARGET_COPY_OUT_SYSTEM may be defined to something different than
system we also ensure that we use a path relative to TARGET_OUT to
compute path to fs_config_* files.

Bug: 21989305
Bug: 22048934
Change-Id: Id91bc183b29beac7379d1117ad83bd3346e6897b
Signed-off-by: Thierry Strudel &lt;tstrudel@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using a getenv('OUT') in such a deep down function is a wrong design
choice. Replacing with explicit parameter that may be NULL in case
device specific files can be accessed from /.
Since TARGET_COPY_OUT_SYSTEM may be defined to something different than
system we also ensure that we use a path relative to TARGET_OUT to
compute path to fs_config_* files.

Bug: 21989305
Bug: 22048934
Change-Id: Id91bc183b29beac7379d1117ad83bd3346e6897b
Signed-off-by: Thierry Strudel &lt;tstrudel@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>makebootfs: use libcutils shared libraries</title>
<updated>2015-04-15T17:32:19+00:00</updated>
<author>
<name>Mark Salyzyn</name>
<email>salyzyn@google.com</email>
</author>
<published>2015-04-07T16:38:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=bc7828eb423fd02dc9838404be69e8f850148565'/>
<id>bc7828eb423fd02dc9838404be69e8f850148565</id>
<content type='text'>
- move to libcutils.so as shared now that they are
  in DISTTOOL.
- liblog dependency is part of libcutils, and need not be
  called out explicitly now. liblog is in DISTTOOL.
- libcutils fs_config has the right to add Android logging

Bug: 19908228
Change-Id: I915503f64389b59075620578601f98fc0756bd7a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- move to libcutils.so as shared now that they are
  in DISTTOOL.
- liblog dependency is part of libcutils, and need not be
  called out explicitly now. liblog is in DISTTOOL.
- libcutils fs_config has the right to add Android logging

Bug: 19908228
Change-Id: I915503f64389b59075620578601f98fc0756bd7a
</pre>
</div>
</content>
</entry>
<entry>
<title>mkbootfs: move fs_config to libcutils</title>
<updated>2015-04-02T17:19:43+00:00</updated>
<author>
<name>Mark Salyzyn</name>
<email>salyzyn@google.com</email>
</author>
<published>2015-04-01T16:12:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=d5cd3778cd3c8b2682f948da922b290ca3067e5b'/>
<id>d5cd3778cd3c8b2682f948da922b290ca3067e5b</id>
<content type='text'>
Bug: 19908228

Change-Id: Ic843b32f575825dc89cd9fa15dc0619bc397ce82
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 19908228

Change-Id: Ic843b32f575825dc89cd9fa15dc0619bc397ce82
</pre>
</div>
</content>
</entry>
<entry>
<title>cpio: Turn on -Werror</title>
<updated>2014-05-23T16:48:09+00:00</updated>
<author>
<name>Mark Salyzyn</name>
<email>salyzyn@google.com</email>
</author>
<published>2014-05-15T22:05:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=5ce757518b8ce43849b6cfa1faac41ce6cb14894'/>
<id>5ce757518b8ce43849b6cfa1faac41ce6cb14894</id>
<content type='text'>
- Solve st_mode is uint16_t on MAC
- Turn on -Werror

Change-Id: I67b62424245545099ed283c56dae544153b85425
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Solve st_mode is uint16_t on MAC
- Turn on -Werror

Change-Id: I67b62424245545099ed283c56dae544153b85425
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a bunch of small system/core bugs.</title>
<updated>2013-10-29T21:12:46+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2013-10-29T21:12:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=14e28d39f7f094225c1ddae8fa43bd792c621a8f'/>
<id>14e28d39f7f094225c1ddae8fa43bd792c621a8f</id>
<content type='text'>
Missing frees in:
  adb/file_sync_client.c
  fastboot/fastboot.c
  libsparse/output_file.c

Missing closedirs in:
  adb/file_sync_service.c
  cpio/mkbootfs.c
  libcutils/dir_hash.c

Potential buffer overrun in:
  gpttool/gpttool.c

Incorrect NULL check in:
  libsparse/backed_block.c

Bug: https://code.google.com/p/android/issues/detail?id=61564
Change-Id: If97838a9e73a77aef7f416c31c237ce1fca4ce21
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Missing frees in:
  adb/file_sync_client.c
  fastboot/fastboot.c
  libsparse/output_file.c

Missing closedirs in:
  adb/file_sync_service.c
  cpio/mkbootfs.c
  libcutils/dir_hash.c

Potential buffer overrun in:
  gpttool/gpttool.c

Incorrect NULL check in:
  libsparse/backed_block.c

Bug: https://code.google.com/p/android/issues/detail?id=61564
Change-Id: If97838a9e73a77aef7f416c31c237ce1fca4ce21
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for filesystem capabilities.</title>
<updated>2013-02-20T20:51:28+00:00</updated>
<author>
<name>Nick Kralevich</name>
<email>nnk@google.com</email>
</author>
<published>2013-02-07T22:22:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=e9e74f3c881bd73bd86be4db8b12200a61f143e1'/>
<id>e9e74f3c881bd73bd86be4db8b12200a61f143e1</id>
<content type='text'>
Modify android_filesystem_config.h and add a capabilities
field. This field can be used to add filesystem capabilities
to a particular file.

Change-Id: If8953a322457ea7275aa6df75660b714e6dc678a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modify android_filesystem_config.h and add a capabilities
field. This field can be used to add filesystem capabilities
to a particular file.

Change-Id: If8953a322457ea7275aa6df75660b714e6dc678a
</pre>
</div>
</content>
</entry>
<entry>
<title>fix mkbootfs for systems that lack PATH_MAX</title>
<updated>2012-05-04T23:45:35+00:00</updated>
<author>
<name>Doug Zongker</name>
<email>dougz@android.com</email>
</author>
<published>2012-05-04T23:45:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=a865f6d85a52d0a77d1aef8d5fb5bece08e3b246'/>
<id>a865f6d85a52d0a77d1aef8d5fb5bece08e3b246</id>
<content type='text'>
Change-Id: I1b841bde6de6c8e762c5fba35e6d6d701f18bb05
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I1b841bde6de6c8e762c5fba35e6d6d701f18bb05
</pre>
</div>
</content>
</entry>
<entry>
<title>add -f option to mkbootfs to load file perms from file</title>
<updated>2012-05-04T23:00:23+00:00</updated>
<author>
<name>Doug Zongker</name>
<email>dougz@android.com</email>
</author>
<published>2012-05-03T22:55:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=f2c3a8331ca9ec61aba82c4af6c8c7aa75d56f14'/>
<id>f2c3a8331ca9ec61aba82c4af6c8c7aa75d56f14</id>
<content type='text'>
mkbootfs uses the compiled in fs_config() function to set the mode
(but not the uid or gid) of the files in the filesystem it is
building.  Give it an optional "-f filename" flag to allow loading the
list of file permissions from a file, so we can continue to accurately
recreate old filesystems even when the current fs_config() has changed.

Bug: 6435132
Change-Id: Ife6b25e989301e78e22c34a544738436c96caf6f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mkbootfs uses the compiled in fs_config() function to set the mode
(but not the uid or gid) of the files in the filesystem it is
building.  Give it an optional "-f filename" flag to allow loading the
list of file permissions from a file, so we can continue to accurately
recreate old filesystems even when the current fs_config() has changed.

Bug: 6435132
Change-Id: Ife6b25e989301e78e22c34a544738436c96caf6f
</pre>
</div>
</content>
</entry>
</feed>
