<feed xmlns='http://www.w3.org/2005/Atom'>
<title>system_core/shell_and_utilities, 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>introduce auditctl and use it to configure SELinux throttling</title>
<updated>2019-04-10T03:54:47+00:00</updated>
<author>
<name>Nick Kralevich</name>
<email>nnk@google.com</email>
</author>
<published>2019-04-09T17:59:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=ac3ca99b77c4944333649dda4670d509f9facc05'/>
<id>ac3ca99b77c4944333649dda4670d509f9facc05</id>
<content type='text'>
In an effort to ensure that our development community does not
introduce new code without corresponding SELinux changes, Android
closely monitors the number of SELinux denials which occur during
boot. This monitoring occurs both in treehugger, as well as various
dashboards. If SELinux denials are dropped during early boot, this
could result in non-determinism for the various SELinux treehugger
tests.

Introduce /system/bin/auditctl. This tool, model after
https://linux.die.net/man/8/auditctl , allows for configuring the
throttling rate for the kernel auditing system.

Remove any throttling from early boot. This will hopefully reduce
treehugger flakiness by making denial generation more predictible
during early boot.

Reapply the throttling at boot complete, to avoid denial of service
attacks against the auditing subsystem.

Delete pre-existing unittests for logd / SELinux integration. It's
intended that all throttling decisions be made in the kernel, and
shouldn't be a concern of logd.

Bug: 118815957
Test: Perform an operation which generates lots of SELinux denials,
      and count how many occur before and after the time period.

(cherry picked from commit be5e44679146d333c20e28bf99c52d168f422626)

Change-Id: I283cd56151d199cd66f0d217b49115460c4a01e5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In an effort to ensure that our development community does not
introduce new code without corresponding SELinux changes, Android
closely monitors the number of SELinux denials which occur during
boot. This monitoring occurs both in treehugger, as well as various
dashboards. If SELinux denials are dropped during early boot, this
could result in non-determinism for the various SELinux treehugger
tests.

Introduce /system/bin/auditctl. This tool, model after
https://linux.die.net/man/8/auditctl , allows for configuring the
throttling rate for the kernel auditing system.

Remove any throttling from early boot. This will hopefully reduce
treehugger flakiness by making denial generation more predictible
during early boot.

Reapply the throttling at boot complete, to avoid denial of service
attacks against the auditing subsystem.

Delete pre-existing unittests for logd / SELinux integration. It's
intended that all throttling decisions be made in the kernel, and
shouldn't be a concern of logd.

Bug: 118815957
Test: Perform an operation which generates lots of SELinux denials,
      and count how many occur before and after the time period.

(cherry picked from commit be5e44679146d333c20e28bf99c52d168f422626)

Change-Id: I283cd56151d199cd66f0d217b49115460c4a01e5
</pre>
</div>
</content>
</entry>
<entry>
<title>install mini-keyctl to /system/bin</title>
<updated>2019-01-31T21:48:04+00:00</updated>
<author>
<name>Xiaoyong Zhou</name>
<email>xzhou@google.com</email>
</author>
<published>2019-01-31T21:46:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=cf5dbc200b0a94a126dcc99198f5da821594186d'/>
<id>cf5dbc200b0a94a126dcc99198f5da821594186d</id>
<content type='text'>
This CL installs mini-keyctl for fsverity

Bug: 112038861
Test: build, flash and check mini-keyctl is properly installed.
Change-Id: Ib3adc1b7c92cae28caf72544987c7f3f23eafbbc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This CL installs mini-keyctl for fsverity

Bug: 112038861
Test: build, flash and check mini-keyctl is properly installed.
Change-Id: Ib3adc1b7c92cae28caf72544987c7f3f23eafbbc
</pre>
</div>
</content>
</entry>
<entry>
<title>Add setuid/setgid capabilities to simpleperf_app_runner.</title>
<updated>2019-01-22T19:20:10+00:00</updated>
<author>
<name>Yabin Cui</name>
<email>yabinc@google.com</email>
</author>
<published>2019-01-09T00:31:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=af3e30d271926965a9c8d0d296d2c87f39ace235'/>
<id>af3e30d271926965a9c8d0d296d2c87f39ace235</id>
<content type='text'>
Also add simpleperf_app_runner in shell utilities.

Bug: 118835348
Test: build and boot.
Test: run simpleperf_app_runner manually.

Change-Id: I538503dabfa8ff192f4b3029206a62613eacdf32
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also add simpleperf_app_runner in shell utilities.

Bug: 118835348
Test: build and boot.
Test: run simpleperf_app_runner manually.

Change-Id: I538503dabfa8ff192f4b3029206a62613eacdf32
</pre>
</div>
</content>
</entry>
<entry>
<title>Add simpleperf in system shell utilities.</title>
<updated>2019-01-17T23:28:00+00:00</updated>
<author>
<name>Yabin Cui</name>
<email>yabinc@google.com</email>
</author>
<published>2019-01-17T23:26:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=1eb462ba115241af98610cfc8037ac7fecd2f182'/>
<id>1eb462ba115241af98610cfc8037ac7fecd2f182</id>
<content type='text'>
This is to ship simpleperf on user device.

Bug: 118835348
Test: build.
Change-Id: Ice37fc672d4d273fff67b3ffe49f2e83929fdc9f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to ship simpleperf on user device.

Bug: 118835348
Test: build.
Change-Id: Ice37fc672d4d273fff67b3ffe49f2e83929fdc9f
</pre>
</div>
</content>
</entry>
<entry>
<title>Update shell documentation for the current state of master.</title>
<updated>2018-12-05T21:08:32+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2018-12-05T21:08:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=b9c064e140aa97f5f75852befc3e7739094393b4'/>
<id>b9c064e140aa97f5f75852befc3e7739094393b4</id>
<content type='text'>
Test: N/A
Change-Id: I6efdd73ef44f376820f471dcfcd8005aa1e79cb0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: N/A
Change-Id: I6efdd73ef44f376820f471dcfcd8005aa1e79cb0
</pre>
</div>
</content>
</entry>
<entry>
<title>Make unzip available.</title>
<updated>2018-09-04T20:33:30+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2018-09-04T20:33:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=ab08933f97ef15429640265cfdf2f01c2e680e71'/>
<id>ab08933f97ef15429640265cfdf2f01c2e680e71</id>
<content type='text'>
Bug: N/A
Test: N/A
Change-Id: I7f7a2e5d494536e5eb5f5e8744af224f31351c15
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: N/A
Test: N/A
Change-Id: I7f7a2e5d494536e5eb5f5e8744af224f31351c15
</pre>
</div>
</content>
</entry>
<entry>
<title>Move back to BSD grep, and make it available for recovery too.</title>
<updated>2018-08-01T17:35:46+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2018-08-01T17:35:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=8100d05778f02c18895c5268ade39e0266716a22'/>
<id>8100d05778f02c18895c5268ade39e0266716a22</id>
<content type='text'>
Bug: http://b/111849261
Bug: https://bugs.exim.org/show_bug.cgi?id=2294
Test: manual
Change-Id: Ia4f67b9f803c4f039d170f6d015a1bd2bb0ef23d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: http://b/111849261
Bug: https://bugs.exim.org/show_bug.cgi?id=2294
Test: manual
Change-Id: Ia4f67b9f803c4f039d170f6d015a1bd2bb0ef23d
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore tcpdump.</title>
<updated>2018-07-27T16:31:01+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2018-07-27T16:31:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=887133101c89f1759b75b3a44951cea1ad5a07d1'/>
<id>887133101c89f1759b75b3a44951cea1ad5a07d1</id>
<content type='text'>
tcpdump accidentally fell off the device when its Android.mk was converted
to Android.bp.

Bug: http://b/111654811
Test: builds
Change-Id: Ia49a6722b47c9017b6e573cb88f7a93f3d95db5d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tcpdump accidentally fell off the device when its Android.mk was converted
to Android.bp.

Bug: http://b/111654811
Test: builds
Change-Id: Ia49a6722b47c9017b6e573cb88f7a93f3d95db5d
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Switch to PCRE grep."</title>
<updated>2018-07-26T21:52:45+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2018-07-26T21:43:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=f9408d5cdff0bf6b0cce47847ac6780fb235449b'/>
<id>f9408d5cdff0bf6b0cce47847ac6780fb235449b</id>
<content type='text'>
This reverts commit 90a018a87a605de6ad3550861143f1a5f7917570.

Not a clean revert because things have changed slightly, and I'm sticking
with the egrep/fgrep shell scripts for now.

Bug: http://b/111849261
Bug: https://bugs.exim.org/show_bug.cgi?id=2294
Test: manual
Change-Id: I72ae637c84f0eb1c2b5291db73ebff1628d54110
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 90a018a87a605de6ad3550861143f1a5f7917570.

Not a clean revert because things have changed slightly, and I'm sticking
with the egrep/fgrep shell scripts for now.

Bug: http://b/111849261
Bug: https://bugs.exim.org/show_bug.cgi?id=2294
Test: manual
Change-Id: I72ae637c84f0eb1c2b5291db73ebff1628d54110
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Split shell_and_utilities into partition parts."</title>
<updated>2018-06-21T07:32:37+00:00</updated>
<author>
<name>Anton Hansson</name>
<email>hansson@google.com</email>
</author>
<published>2018-06-21T07:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=a242a4ba0695d3debcee82dff294f4bdfadb24d0'/>
<id>a242a4ba0695d3debcee82dff294f4bdfadb24d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
