New issue
Advanced search Search tips

Issue 791186 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

Better constraints on Directory interface in service manager

Project Member Reported by roc...@chromium.org, Dec 1 2017

Issue description

Service manager (via "catalog") exposes a Directory interface which maps access to base::DIR_MODULE to any capable service. This is a bit ham-fisted now that we no longer have isolated service directories, and in practice it's really only used to load resource paks with fixed filenames.

To address this we should add support for an explicit whitelist of accessible files in a service's manifest, with paths relative to the executable.

We can leave the Directory interface exposed as-is as long as we change the implementation to enforce the whitelist, or we can introduce a separate service manager API for requesting File interfaces. I would prefer the former option since it seems cleaner to me.
 
Summary: Better constraints on Directory interface in service manager (was: Better constraints on Directory interface from in service manager)
Labels: ServiceManagerImprovification
Not sure my assertions in the original comment are 100% accurate, but this deserves a closer look and some kind of resulting action.
Owner: rockot@google.com

Sign in to add a comment