Re: [PATCH v3 4/6] ANDROID: binder: add RT inheritance flag to node.

From: Peter Zijlstra
Date: Wed Nov 15 2017 - 08:05:37 EST


On Thu, Oct 26, 2017 at 04:07:48PM +0200, Martijn Coenen wrote:
> Allows a binder node to specify whether it wants to
> inherit real-time scheduling policy from a caller. This
> inheritance may not always be desirable, for example in
> cases where the binder call runs untrusted and therefore
> potentially unbounded code.

Isn't that backwards? That is, binder should enforce not inheriting
across a trust boundary, not let a node opt out voluntary.