From d915bf2461dd085130053d4f6f500d399226d014 Mon Sep 17 00:00:00 2001 From: Mok Jeongho Date: Thu, 21 Apr 2016 17:07:43 +0900 Subject: [PATCH] Change UID/GID of services [Version] Release 0.10.26 [Profile] Common [Issue Type] Security Change-Id: I94f66b0c6f870c9749614562f80472dbd5f50980 --- packaging/focus-server.service | 2 ++ packaging/libmm-sound.spec | 3 ++- packaging/sound-server.service | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packaging/focus-server.service b/packaging/focus-server.service index b64fb56..1374924 100644 --- a/packaging/focus-server.service +++ b/packaging/focus-server.service @@ -6,6 +6,8 @@ ExecStart=/usr/bin/focus_server -S Restart=always RestartSec=0 MemoryLimit=50M +User=multimedia_fw +Group=multimedia_fw [Install] WantedBy=tizen-system.target diff --git a/packaging/libmm-sound.spec b/packaging/libmm-sound.spec index 105debf..e9c1015 100644 --- a/packaging/libmm-sound.spec +++ b/packaging/libmm-sound.spec @@ -1,6 +1,6 @@ Name: libmm-sound Summary: MMSound Package contains client lib and sound_server binary -Version: 0.10.25 +Version: 0.10.26 Release: 0 Group: System/Libraries License: Apache-2.0 @@ -11,6 +11,7 @@ Source3: sound-server.conf Source4: focus-server.service Source5: focus-server.path Source6: focus-server.conf +Requires: security-config Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(mm-common) diff --git a/packaging/sound-server.service b/packaging/sound-server.service index 97ce14e..1db9e33 100644 --- a/packaging/sound-server.service +++ b/packaging/sound-server.service @@ -6,6 +6,8 @@ ExecStart=/usr/bin/sound_server -S Restart=always RestartSec=0 MemoryLimit=50M +User=multimedia_fw +Group=multimedia_fw [Install] WantedBy=tizen-system.target -- 2.7.4