projects
/
platform
/
core
/
security
/
ode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14d1b92
)
Exclude dbus service from stop units
95/196395/6
accepted/tizen/4.0/unified/20190101.230313
submit/tizen_4.0/20181228.090903
author
seolheui, kim
<s414.kim@samsung.com>
Fri, 28 Dec 2018 02:56:38 +0000
(11:56 +0900)
committer
seolheui, kim
<s414.kim@samsung.com>
Fri, 28 Dec 2018 05:54:01 +0000
(14:54 +0900)
Change-Id: I4e1a00207b3889c957eda8c978520d7fa833b1d4
Signed-off-by: seolheui, kim <s414.kim@samsung.com>
server/internal-encryption.cpp
patch
|
blob
|
history
diff --git
a/server/internal-encryption.cpp
b/server/internal-encryption.cpp
index
46b389b
..
b115034
100644
(file)
--- a/
server/internal-encryption.cpp
+++ b/
server/internal-encryption.cpp
@@
-239,7
+239,8
@@
void stopSystemdUnits()
.get("(o)", &unit);
auto unescapedName = getDecodedPath(unit, "/org/freedesktop/systemd1/unit/");
- unitsToStop.insert(unescapedName);
+ if (unescapedName.find("dbus", 0, 4) == std::string::npos)
+ unitsToStop.insert(unescapedName);
} catch (runtime::Exception &e) {
ERROR(SINK, "Killing process: " + std::to_string(pid));
::kill(pid, SIGKILL);