commit | cc488f679fda34eb8e88aeeb01467638e5cd90f0 | [log] [tgz] |
---|---|---|
author | David Stevens <stevensd@google.com> | Tue Jan 29 18:35:38 2019 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Mon Feb 11 21:02:13 2019 +0000 |
tree | 28bc435252eb5df509407c03e212f79413631f55 | |
parent | 9fae8d105e0f13ae9b03a6e4651505afbeffad80 [diff] |
[zircon][kernel][userboot] Prevent kcounter vmo release VmObjectPaged::CreateFromROData moves pages from wired kernel memory into vmos. If those vmos are closed, the pages will be freed. Handle that situation for the kcounter vmos by either unmapping the pages from the kernel aspace or leaking a reference to the created vmo. Also rename CreateFromROData to CreateFromWiredPages and added a parameter indicating whether the vmo should have exclusive access to the pages, to try and make the api clearer. Test: CQ, kcounter Change-Id: Ie139fa74825ffe4191ec4754ab020110ecc9c410
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.