checkPolicy

open override fun checkPolicy(request: AccessRequest): AccessResponse

Subclass API: Policy check.

This method is defined by a given subclass implementation of the VFS system, and is charged with evaluating guest I/O policy for a given request. This method is called by enforce when the request is deemed sane, and the policy check is the only remaining step.

Return

Response from the policy check, indicating whether the request is allowed.

Parameters

request

Materialized I/O policy check request.