commit | f0052dd6b9a0beaa563b914bd61e392bd993c731 | [log] [tgz] |
---|---|---|
author | Nick Maniscalco <maniscalco@fuchsia.infra.roller.google.com> | Thu Mar 17 19:29:41 2022 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 17 12:30:48 2022 -0700 |
tree | 18d4f5066979b368a72571e29b63c1b92ada6d09 | |
parent | bb8a80a8364c73489716d4a482c9df13ad52f2fa [diff] |
[roll] Roll fuchsia [kernel][port] Limit the number of port observers This change limits the number of observers associated with a port. When the limit is exceeded, a policy exception is raised for the triggering process, which will result in its termination. The default value is UINT64_MAX (effectively unlimited). The purpose of this change is to prevent a misbehaving program from compromising system performance and stability. Add new job policy code ZX_EXCP_POLICY_CODE_TOO_MANY_OBSERVERS. Add new mini-process command MINIP_CMD_WAIT_ASYNC to facilitate testing. Add core-test PortTest.TooManyObservers to test the limit. Note, this test is disabled since the default is "no limit". A future CL will set a default limit and re-enable the test. Original-Bug: 91615 Test: fx core-tests --gtest_filter=PortTest.TooManyObservers Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/654904 Original-Revision: 7dc038443df3fe6c10ef0ecc392a356bf404f19b GitOrigin-RevId: 1b89315d4ff0e236fc05c77987682d7aef3ab8ec Change-Id: I450fde99a3446b01258e916ccf2de4c8c197b8bd
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.