Skip to content
Snippets Groups Projects
Commit 129c68d9 authored by Nick Maniscalco's avatar Nick Maniscalco Committed by CQ bot account: commit-bot@chromium.org
Browse files

[kernel][object] Implement ZX_POL_ACTION_KILL

Implement job policy ZX_POL_ACTION_KILL by calling
ProcessDispatcher::Kill from EnforceBasicPolicy.

Rename QueryBasicPolicy to EnforceBasicPolicy and tighten it by
marking as __WARN_UNUSED_RESULT.

Replace policy action bitfield with multiple choice.

Bug: ZX-3520 #comment done
Test: /boot/test/sys/policy-test
Change-Id: Ia6da570ebd8c4d81961f78d6ddcc643183f7c85c
parent 42806ad6
No related branches found
No related tags found
No related merge requests found
Showing
with 71 additions and 64 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment