OSDN Git Service

Camera: Limit valid caller PIDs for camera clients.
authorEino-Ville Talvala <etalvala@google.com>
Wed, 10 Oct 2012 05:16:58 +0000 (22:16 -0700)
committerEino-Ville Talvala <etalvala@google.com>
Wed, 10 Oct 2012 16:39:37 +0000 (09:39 -0700)
commit617048834dc5b2cb87ab208bdd526262a7c4e90c
treef9575d6ed80df4388fe43ee2e721b50643c52865
parentaf5041cca803f4e7f0d2dfeca596abb8bda313b6
Camera: Limit valid caller PIDs for camera clients.

Narrow down on PID checks to avoid cases where service can access the
camera even though it shouldn't be able to, per API semantics.

Bug: 6970469

Change-Id: Ic468a31949c28ef978b6ed48a70e4601c7ced684
services/camera/libcameraservice/Camera2Client.cpp
services/camera/libcameraservice/CameraClient.cpp