<feed xmlns='http://www.w3.org/2005/Atom'>
<title>system_core/libcutils, branch replicant-10</title>
<subtitle>Fork of system/core
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/'/>
<entry>
<title>Revert "libprocessgroup users use libcutils"</title>
<updated>2019-06-19T05:25:07+00:00</updated>
<author>
<name>Zhijun He</name>
<email>zhijunhe@google.com</email>
</author>
<published>2019-06-19T04:44:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=5360a8492d279276637532736cdc0a212f4d5e98'/>
<id>5360a8492d279276637532736cdc0a212f4d5e98</id>
<content type='text'>
This reverts commit 1ec3b78b6739caf0d855048a304c70349611a9b0.

Reason for revert: breaks all camera use cases

Bug: 135568875

Exempt-From-Owner-Approval: revert, no build cop

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

Reason for revert: breaks all camera use cases

Bug: 135568875

Exempt-From-Owner-Approval: revert, no build cop

Change-Id: Iec8e1f94f5bedced3f3faf73f851fd2f13e2e768
</pre>
</div>
</content>
</entry>
<entry>
<title>libprocessgroup users use libcutils</title>
<updated>2019-06-18T22:03:54+00:00</updated>
<author>
<name>Steven Moreland</name>
<email>smoreland@google.com</email>
</author>
<published>2019-06-13T00:19:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=1ec3b78b6739caf0d855048a304c70349611a9b0'/>
<id>1ec3b78b6739caf0d855048a304c70349611a9b0</id>
<content type='text'>
libprocessgroup symbols are being moved into libcutils in order to
optimize linking/memory usage. libprocessgroup will no longer be
required in the future (however removing references to it will come
separately).

Bug: 135145426
Test: boot

Test:
BEFORE:
$ adb shell showmap -a $(pid hwservicemanager) | grep -P "libprocessgroup|libcutils" -A1 | grep -P 'libprocessgroup|libcutils|\.bss' | awk '{s += $9}END{print s}'
28

AFTER:
$ adb shell showmap -a $(pid hwservicemanager) | grep -P "libprocessgroup|libcutils" -A1 | grep -P 'libprocessgroup|libcutils|\.bss' | awk '{s += $9}END{print s}'
12

Change-Id: I10d7c2d2b2b14cbbe0a128b9156d31206419d24c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libprocessgroup symbols are being moved into libcutils in order to
optimize linking/memory usage. libprocessgroup will no longer be
required in the future (however removing references to it will come
separately).

Bug: 135145426
Test: boot

Test:
BEFORE:
$ adb shell showmap -a $(pid hwservicemanager) | grep -P "libprocessgroup|libcutils" -A1 | grep -P 'libprocessgroup|libcutils|\.bss' | awk '{s += $9}END{print s}'
28

AFTER:
$ adb shell showmap -a $(pid hwservicemanager) | grep -P "libprocessgroup|libcutils" -A1 | grep -P 'libprocessgroup|libcutils|\.bss' | awk '{s += $9}END{print s}'
12

Change-Id: I10d7c2d2b2b14cbbe0a128b9156d31206419d24c
</pre>
</div>
</content>
</entry>
<entry>
<title>Moving /odm/build.prop to /odm/etc/buid.prop</title>
<updated>2019-05-22T08:15:44+00:00</updated>
<author>
<name>Bowgo Tsai</name>
<email>bowgotsai@google.com</email>
</author>
<published>2019-05-17T07:40:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=3182ea132e917b197149fee74a7eeba5b6b5125d'/>
<id>3182ea132e917b197149fee74a7eeba5b6b5125d</id>
<content type='text'>
In device root directory, we have the following symlinks:
  - /odm/app -&gt; /vendor/odm/app
  - /odm/bin -&gt; /vendor/odm/bin
  - /odm/etc -&gt; /vendor/odm/etc
  ...

This allows the Generic System Image (GSI) to be used on both devices:
  1) Has a physical odm partition, where those symlink will be hidden
     when /odm is used as the mount point
  2) Has no physical odm partition and fallback to /vendor/odm/.

We can't just have the symlink /odm -&gt; /vendor/odm, because the former
devices won't have /vendor/odm directory, which leads to mount failure
when the mount point /odm is resolved to /vendor/odm.

The existing /vendor/odm/build.prop won't be loaded in the latter
devices, because there is no symlink
    - /odm/build.prop -&gt; /vendor/odm/build.prop.

Note that init blocks reading through direct symlinks (O_NOFOLLOW) so
the above symlink won't work either. This CL moves the odm build.prop
to /odm/etc/build.prop for init to load it (symlinks in earlier
components of the path will still be followed by O_NOFOLLOW).

Bug: 132128501
Test: boot a device and checks /odm/etc/build.prop is loaded
Change-Id: I0733c277baa67c549bb45599abb70aba13fbdbcf
Merged-In: I0733c277baa67c549bb45599abb70aba13fbdbcf
(cherry picked from commit c49655b2a48eca2ab751b853a9a4692f322cafa2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In device root directory, we have the following symlinks:
  - /odm/app -&gt; /vendor/odm/app
  - /odm/bin -&gt; /vendor/odm/bin
  - /odm/etc -&gt; /vendor/odm/etc
  ...

This allows the Generic System Image (GSI) to be used on both devices:
  1) Has a physical odm partition, where those symlink will be hidden
     when /odm is used as the mount point
  2) Has no physical odm partition and fallback to /vendor/odm/.

We can't just have the symlink /odm -&gt; /vendor/odm, because the former
devices won't have /vendor/odm directory, which leads to mount failure
when the mount point /odm is resolved to /vendor/odm.

The existing /vendor/odm/build.prop won't be loaded in the latter
devices, because there is no symlink
    - /odm/build.prop -&gt; /vendor/odm/build.prop.

Note that init blocks reading through direct symlinks (O_NOFOLLOW) so
the above symlink won't work either. This CL moves the odm build.prop
to /odm/etc/build.prop for init to load it (symlinks in earlier
components of the path will still be followed by O_NOFOLLOW).

Bug: 132128501
Test: boot a device and checks /odm/etc/build.prop is loaded
Change-Id: I0733c277baa67c549bb45599abb70aba13fbdbcf
Merged-In: I0733c277baa67c549bb45599abb70aba13fbdbcf
(cherry picked from commit c49655b2a48eca2ab751b853a9a4692f322cafa2)
</pre>
</div>
</content>
</entry>
<entry>
<title>cutils: add ashmem_init</title>
<updated>2019-04-05T00:28:05+00:00</updated>
<author>
<name>Tim Murray</name>
<email>timmurray@google.com</email>
</author>
<published>2019-04-04T16:16:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=943f1c1d4a823ab96c12fb4ad1ab6e5119cb5fbb'/>
<id>943f1c1d4a823ab96c12fb4ad1ab6e5119cb5fbb</id>
<content type='text'>
Add a new ashmem_init function that only dlopens libashmemd_client.
This allows the library to be preloaded in the zygote.

Test: boots, works
Bug: 129543489

Change-Id: Ie106791edf381654f085203c266c9f9c0df35cfc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new ashmem_init function that only dlopens libashmemd_client.
This allows the library to be preloaded in the zygote.

Test: boots, works
Bug: 129543489

Change-Id: Ie106791edf381654f085203c266c9f9c0df35cfc
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge changes from topic "libprocessgroup_rc"</title>
<updated>2019-04-03T16:41:21+00:00</updated>
<author>
<name>Yifan Hong</name>
<email>elsk@google.com</email>
</author>
<published>2019-04-03T16:41:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=bd5853cb48d4fce9eb3b17391bc875d138d1eeb4'/>
<id>bd5853cb48d4fce9eb3b17391bc875d138d1eeb4</id>
<content type='text'>
* changes:
  CgroupSetupCgroups -&gt; CgroupSetup
  Add libcgrouprc to ld.config.*.txt.
  libprocessgroup: use libcgrouprc to read cgroup.rc
  libprocessgroup_setup: use libcgrouprc_format
  libprocessgroup: Move CgroupSetupCgroups() to libprocessgroup_setup
  libprocessgroup: Add libcgrouprc
  libprocessgroup: Add libcgrouprc_format
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* changes:
  CgroupSetupCgroups -&gt; CgroupSetup
  Add libcgrouprc to ld.config.*.txt.
  libprocessgroup: use libcgrouprc to read cgroup.rc
  libprocessgroup_setup: use libcgrouprc_format
  libprocessgroup: Move CgroupSetupCgroups() to libprocessgroup_setup
  libprocessgroup: Add libcgrouprc
  libprocessgroup: Add libcgrouprc_format
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "libcutils: android_reboot command should be unsigned." am: e3ec16b9c6 am: cf2f309cff</title>
<updated>2019-04-03T02:52:28+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2019-04-03T02:52:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=15e370acedb4cf6a5e27472e8ff6030c1a96bf22'/>
<id>15e370acedb4cf6a5e27472e8ff6030c1a96bf22</id>
<content type='text'>
am: ba78d39cdc

Change-Id: I034c780c6c1166e4c6643ebcc607d3388246ebab
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am: ba78d39cdc

Change-Id: I034c780c6c1166e4c6643ebcc607d3388246ebab
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "libcutils: android_reboot command should be unsigned."</title>
<updated>2019-04-03T01:19:06+00:00</updated>
<author>
<name>Treehugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2019-04-03T01:19:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=e3ec16b9c6d2e2cd0f11efc96058386697f15770'/>
<id>e3ec16b9c6d2e2cd0f11efc96058386697f15770</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libprocessgroup: use libcgrouprc to read cgroup.rc</title>
<updated>2019-04-03T00:34:37+00:00</updated>
<author>
<name>Yifan Hong</name>
<email>elsk@google.com</email>
</author>
<published>2019-03-23T00:01:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=fad638c82d0d6b5b3dab36e47eb6b0b684f70fd5'/>
<id>fad638c82d0d6b5b3dab36e47eb6b0b684f70fd5</id>
<content type='text'>
Use the LL-NDK library to read cgroup.rc.

As a side-effect, the CgroupController class is changed
to a wrapper of ACgroupController* from the library. The
class itself essentially becomes the pointer, and can be
trivially copied. Modify all client code for this change.

Test: builds and boots
Bug: 123664216

Change-Id: I635d9885db62e82f37421f6d20f59c84a6f4cbb2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the LL-NDK library to read cgroup.rc.

As a side-effect, the CgroupController class is changed
to a wrapper of ACgroupController* from the library. The
class itself essentially becomes the pointer, and can be
trivially copied. Modify all client code for this change.

Test: builds and boots
Bug: 123664216

Change-Id: I635d9885db62e82f37421f6d20f59c84a6f4cbb2
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Revert "relax /system/bin directory permissions"" am: 98880af580 am: 88b15b2b7c</title>
<updated>2019-04-02T22:05:19+00:00</updated>
<author>
<name>Nick Kralevich</name>
<email>nnk@google.com</email>
</author>
<published>2019-04-02T22:05:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=eed675688d3212f1a370e951ecfb91f0ffe450a5'/>
<id>eed675688d3212f1a370e951ecfb91f0ffe450a5</id>
<content type='text'>
am: 6b38459ee5

Change-Id: I44ec7363697f52ee55284343f4f4f473b34de9ab
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am: 6b38459ee5

Change-Id: I44ec7363697f52ee55284343f4f4f473b34de9ab
</pre>
</div>
</content>
</entry>
<entry>
<title>libcutils: android_reboot command should be unsigned.</title>
<updated>2019-04-02T16:19:46+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2019-04-02T16:19:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=66e5ae0f5ab9148e92ccf28c0dc1e1094871d8d9'/>
<id>66e5ae0f5ab9148e92ccf28c0dc1e1094871d8d9</id>
<content type='text'>
Hex literals have the type of the first type they fit in. The reboot
constants are large enough that that's `unsigned` rather than `int`.

Bug: http://b/76110968
Test: treehugger
Change-Id: Iac4fe61d1fe572297febf0b57e34d698942469f9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hex literals have the type of the first type they fit in. The reboot
constants are large enough that that's `unsigned` rather than `int`.

Bug: http://b/76110968
Test: treehugger
Change-Id: Iac4fe61d1fe572297febf0b57e34d698942469f9
</pre>
</div>
</content>
</entry>
</feed>
