From 848607a121d20d61f76bfe81275038f6f18c49e8 Mon Sep 17 00:00:00 2001 From: Roberto Pereira Date: Mon, 10 Sep 2018 12:44:42 -0700 Subject: [PATCH] keymaster 3.0: make service use nobody as user and remove system group Only the drmrpc group is necessary Test: VtsHalKeymasterV3_0TargetTest Change-Id: I2be255215df827c9f17ecaffcb9d0ba402dd3405 --- .../3.0/default/android.hardware.keymaster@3.0-service.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keymaster/3.0/default/android.hardware.keymaster@3.0-service.rc b/keymaster/3.0/default/android.hardware.keymaster@3.0-service.rc index 086ba2f3f0..ea8d490fd8 100644 --- a/keymaster/3.0/default/android.hardware.keymaster@3.0-service.rc +++ b/keymaster/3.0/default/android.hardware.keymaster@3.0-service.rc @@ -1,4 +1,4 @@ service vendor.keymaster-3-0 /vendor/bin/hw/android.hardware.keymaster@3.0-service class early_hal - user system - group system drmrpc + user nobody + group drmrpc