Why do you need a new interface? The existing interfaces take a PolicyFetchResponse. Can't you just continue using this, but just not include the signature fields?
I need to lock it down to be only accessible by authpolicyd. Is there a better way to do it? Also I figured that making it as explicit as possible would reduce the risk of accidental misuse.
Good point about access control, I had missed that in my original reply. Adding a separate interface seems the best way then. Please make sure that the session_manager code paths not only rely on the separate interface, but also bail out if the install attributes aren't indicating enterprisead mode.
> Please make sure that the session_manager code paths not only rely on the
> separate interface, but also bail out if the install attributes aren't
> indicating enterprisead mode.
Absolutely. Waiting for libinstallattributes is the only reason I didn't work on this earlier.
Comment 1 by mnissler@chromium.org
, Oct 31 2016