<feed xmlns='http://www.w3.org/2005/Atom'>
<title>replicant/core/init/Android.mk, 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>Move all of init to libinit</title>
<updated>2018-01-19T22:25:48+00:00</updated>
<author>
<name>Tom Cherry</name>
<email>tomcherry@google.com</email>
</author>
<published>2018-01-19T22:25:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=618d3102c9aa7d6a6d0e60cc0175ad77319cb27b'/>
<id>618d3102c9aa7d6a6d0e60cc0175ad77319cb27b</id>
<content type='text'>
I'd be not doing this for a while since some of this code doesn't
compile on host and libinit previously did.  But after realizing
the property_service.cpp (libinit) references symbols in init.cpp
(init) and seeing a new linker error crop up due to that, it's time to
make the fix.

My only hold out previously was that libinit compiled on host bionic
and some of init (builtins.cpp, etc) do not, however given that we
don't actually have host bionic support or host bionic init tests,
that isn't a good reason.  We can and should mock out the libraries
that aren't available with host bionic when ready.

Test: build, unit tests, boot
Change-Id: Ie49362ddb637924efc272540a4f32b693643fcdc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'd be not doing this for a while since some of this code doesn't
compile on host and libinit previously did.  But after realizing
the property_service.cpp (libinit) references symbols in init.cpp
(init) and seeing a new linker error crop up due to that, it's time to
make the fix.

My only hold out previously was that libinit compiled on host bionic
and some of init (builtins.cpp, etc) do not, however given that we
don't actually have host bionic support or host bionic init tests,
that isn't a good reason.  We can and should mock out the libraries
that aren't available with host bionic when ready.

Test: build, unit tests, boot
Change-Id: Ie49362ddb637924efc272540a4f32b693643fcdc
</pre>
</div>
</content>
</entry>
<entry>
<title>Reland "Have property_service create a serialized property_contexts file"</title>
<updated>2017-12-14T01:58:17+00:00</updated>
<author>
<name>Tom Cherry</name>
<email>tomcherry@google.com</email>
</author>
<published>2017-12-14T01:58:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=2ae2f606f83bcf1c4aec85239a6300987e51eded'/>
<id>2ae2f606f83bcf1c4aec85239a6300987e51eded</id>
<content type='text'>
This reverts commit 9822f3c6cc5d85a462033cd545500bcc1c8b0927.

Bug: 36001741
Change-Id: I27dd391fc06a3c78e88a65c7931c84de1699f157
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 9822f3c6cc5d85a462033cd545500bcc1c8b0927.

Bug: 36001741
Change-Id: I27dd391fc06a3c78e88a65c7931c84de1699f157
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Have property_service create a serialized property_contexts file"</title>
<updated>2017-12-13T22:42:26+00:00</updated>
<author>
<name>Robert Greenwalt</name>
<email>rgreenwalt@google.com</email>
</author>
<published>2017-12-13T21:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=9822f3c6cc5d85a462033cd545500bcc1c8b0927'/>
<id>9822f3c6cc5d85a462033cd545500bcc1c8b0927</id>
<content type='text'>
This reverts commit e8181c0f553b9f77d655d31c2d23eb3e8047eb03.

Reason for revert: This is broken.

Bug: 36001741

Change-Id: I458abc23275ecdfadcabacd611b288449196efa0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit e8181c0f553b9f77d655d31c2d23eb3e8047eb03.

Reason for revert: This is broken.

Bug: 36001741

Change-Id: I458abc23275ecdfadcabacd611b288449196efa0
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge changes from topic "property-trie"</title>
<updated>2017-12-13T01:28:36+00:00</updated>
<author>
<name>Tom Cherry</name>
<email>tomcherry@google.com</email>
</author>
<published>2017-12-13T01:28:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=c47dd6b5c04683acc505b1235c8626032e438155'/>
<id>c47dd6b5c04683acc505b1235c8626032e438155</id>
<content type='text'>
* changes:
  Have property_service create a serialized property_contexts file
  Parse property contexts via a serialized trie
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* changes:
  Have property_service create a serialized property_contexts file
  Parse property contexts via a serialized trie
</pre>
</div>
</content>
</entry>
<entry>
<title>Have property_service create a serialized property_contexts file</title>
<updated>2017-12-12T00:12:13+00:00</updated>
<author>
<name>Tom Cherry</name>
<email>tomcherry@google.com</email>
</author>
<published>2017-11-03T15:59:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=e8181c0f553b9f77d655d31c2d23eb3e8047eb03'/>
<id>e8181c0f553b9f77d655d31c2d23eb3e8047eb03</id>
<content type='text'>
Instead of requiring each process to parse the property contexts files
in libc initialization, this change has property_service parse these
files one into a serialized trie, which the property code in libc can
then directly interpret for mapping property names to their associated
SELinux context.

Bug: 36001741
Test: boot bullhead, walleye, run unit tests

Change-Id: If67073d56e800b3ca667fb5322e6b993e7d810f6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of requiring each process to parse the property contexts files
in libc initialization, this change has property_service parse these
files one into a serialized trie, which the property code in libc can
then directly interpret for mapping property names to their associated
SELinux context.

Bug: 36001741
Test: boot bullhead, walleye, run unit tests

Change-Id: If67073d56e800b3ca667fb5322e6b993e7d810f6
</pre>
</div>
</content>
</entry>
<entry>
<title>fastboot/fs_mgr/init: add sload_f2fs</title>
<updated>2017-12-07T06:40:08+00:00</updated>
<author>
<name>Jaegeuk Kim</name>
<email>jaegeuk@google.com</email>
</author>
<published>2017-11-29T03:26:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=899ad558cd20ffaeed31b9a7f044f769632e5e62'/>
<id>899ad558cd20ffaeed31b9a7f044f769632e5e62</id>
<content type='text'>
Change-Id: Iab1e4037cbb835aba97f941c8840b8971caf38e7
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iab1e4037cbb835aba97f941c8840b8971caf38e7
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>init language extension for lazy HIDL services.</title>
<updated>2017-10-20T03:38:47+00:00</updated>
<author>
<name>Steven Moreland</name>
<email>smoreland@google.com</email>
</author>
<published>2017-10-06T01:50:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=e055d73396ecfba1dafd41fd2ec0cb3353c81e6a'/>
<id>e055d73396ecfba1dafd41fd2ec0cb3353c81e6a</id>
<content type='text'>
This associates every service with a list of HIDL services
it provides. If these are disabled, hwservicemanager will
request for the service to startup.

Bug: 64678982
Test: manual with the light service
Change-Id: Ibf8a6f1cd38312c91c798b74574fa792f23c2df4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This associates every service with a list of HIDL services
it provides. If these are disabled, hwservicemanager will
request for the service to startup.

Bug: 64678982
Test: manual with the light service
Change-Id: Ibf8a6f1cd38312c91c798b74574fa792f23c2df4
</pre>
</div>
</content>
</entry>
<entry>
<title>init: use protobuf for serialization of persistent properties</title>
<updated>2017-09-19T16:56:31+00:00</updated>
<author>
<name>Tom Cherry</name>
<email>tomcherry@google.com</email>
</author>
<published>2017-09-15T22:44:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=a97faba653f1a900f74d0205e6e722427bb95968'/>
<id>a97faba653f1a900f74d0205e6e722427bb95968</id>
<content type='text'>
I probably should have done this from the start...  There's a shim to
convert my manually serialized format to protobuf, and since that has
not yet shipped, it'll be reverted in a short period of time.

Test: init unit tests
Test: upgrade from legacy and intermediate property formats successfully
Change-Id: Iad25f6c30d0b44d294230a53dd6876222d1c785b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I probably should have done this from the start...  There's a shim to
convert my manually serialized format to protobuf, and since that has
not yet shipped, it'll be reverted in a short period of time.

Test: init unit tests
Test: upgrade from legacy and intermediate property formats successfully
Change-Id: Iad25f6c30d0b44d294230a53dd6876222d1c785b
</pre>
</div>
</content>
</entry>
<entry>
<title>init: Allow clean system shutdown upon SIGTERM</title>
<updated>2017-09-07T17:47:04+00:00</updated>
<author>
<name>Luis Hector Chavez</name>
<email>lhchavez@google.com</email>
</author>
<published>2017-09-06T20:43:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=9f97f4794027d8143b7d4f2d3ad4f80ca72ca77a'/>
<id>9f97f4794027d8143b7d4f2d3ad4f80ca72ca77a</id>
<content type='text'>
This allows Android to cleanly shutdown when running in a PID namespace
in a way that does not rely on adbd running. This is useful to allow
Android to be running in a container and its lifetime managed by an
OCI-compliant tool.

Bug: 65415372
Test: `kill -TERM 1` as root is correctly dropped.
Test: `kill -TERM 1` from the init PID namespace causes init to cleanly shutdown.
Change-Id: Ia66ebdb436221919081bc4723337c0c7f1e53b09
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows Android to cleanly shutdown when running in a PID namespace
in a way that does not rely on adbd running. This is useful to allow
Android to be running in a container and its lifetime managed by an
OCI-compliant tool.

Bug: 65415372
Test: `kill -TERM 1` as root is correctly dropped.
Test: `kill -TERM 1` from the init PID namespace causes init to cleanly shutdown.
Change-Id: Ia66ebdb436221919081bc4723337c0c7f1e53b09
</pre>
</div>
</content>
</entry>
<entry>
<title>init: Fix -DUSER_MODE_LINUX compilation</title>
<updated>2017-08-23T21:57:07+00:00</updated>
<author>
<name>Dmitry Shmidt</name>
<email>dimitrysh@google.com</email>
</author>
<published>2017-08-23T21:57:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=c3bc5090967e3e28af2b52d4150923ffd289a15c'/>
<id>c3bc5090967e3e28af2b52d4150923ffd289a15c</id>
<content type='text'>
Bug: 64985489
Test: Manual

Change-Id: Ib37d2b9affe500b66b9243fb24a7dee23b7730f2
Signed-off-by: Dmitry Shmidt &lt;dimitrysh@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 64985489
Test: Manual

Change-Id: Ib37d2b9affe500b66b9243fb24a7dee23b7730f2
Signed-off-by: Dmitry Shmidt &lt;dimitrysh@google.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
