From e4a938eaa41402852a7f773287b78c532598d178 Mon Sep 17 00:00:00 2001 From: Harikrishnan Hariharan Date: Tue, 20 Feb 2018 22:06:37 +0530 Subject: wayne-common: Start loc_launcher as gps user Start loc_launcher as gps user and set uid/gid of loc_launcher to gps and enable SETUID and SETGID caps for loc_launcher, so that we can start loc_launcher as gps user instead of root and still have capabilities for SETUID and SETGID. Also remove not required permissions groups for loc_launcher. Change-Id: Ie9f1506874b3c3148f9170c8d5db9afd1e70025c CRs-Fixed: 2192881 --- config.fs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.fs') diff --git a/config.fs b/config.fs index 460ab57..679286b 100644 --- a/config.fs +++ b/config.fs @@ -127,6 +127,12 @@ user: AID_GPS group: AID_GPS caps: NET_BIND_SERVICE +[vendor/bin/loc_launcher] +mode: 0755 +user: AID_GPS +group: AID_GPS +caps: SETUID SETGID + [vendor/bin/xtwifi-client] mode: 0755 user: AID_GPS -- cgit v1.2.3