summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyotaek Shim <hyotaek.shim@samsung.com>2019-07-17 06:11:50 +0000
committerHyotaek Shim <hyotaek.shim@samsung.com>2019-07-17 06:14:26 +0000
commit64a1c8f469c1d5375e343b2dffa50f5168ed3f45 (patch)
tree9a7fa90cebd927661e22f10e18bdff6a6ed8f6e9
parent66f3ccd43629aa7ce4fb44bc7474603ef108aa52 (diff)
downloaddbus-64a1c8f469c1d5375e343b2dffa50f5168ed3f45.tar.gz
dbus-64a1c8f469c1d5375e343b2dffa50f5168ed3f45.tar.bz2
dbus-64a1c8f469c1d5375e343b2dffa50f5168ed3f45.zip
Revert "Fix for smack error when dbus-daemon(session) accesses proc/cmdline"submit/tizen/20190717.061730accepted/tizen/unified/20190717.220434
This reverts commit c7fbfc743059b3e9988a359106ad459511b5ea78. Change-Id: I86742a428f372ff6988a13df12694c550e2a53c2
-rw-r--r--bus/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/connection.c b/bus/connection.c
index aafc5208..7253c98e 100644
--- a/bus/connection.c
+++ b/bus/connection.c
@@ -627,7 +627,7 @@ cache_peer_loginfo_string (BusConnectionData *d,
goto oom;
/* Ignore errors here; we may not have permissions to read the
* proc file. */
- //_dbus_command_for_pid (pid, &loginfo_buf, MAX_LOG_COMMAND_LEN, NULL);
+ _dbus_command_for_pid (pid, &loginfo_buf, MAX_LOG_COMMAND_LEN, NULL);
if (!_dbus_string_append_byte (&loginfo_buf, '"'))
goto oom;
}