Revert "Fix for smack error when dbus-daemon(session) accesses proc/cmdline" 37/210237/2 accepted/tizen/unified/20190717.220434 submit/tizen/20190717.061730
authorHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 17 Jul 2019 06:11:50 +0000 (06:11 +0000)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 17 Jul 2019 06:14:26 +0000 (06:14 +0000)
This reverts commit c7fbfc743059b3e9988a359106ad459511b5ea78.

Change-Id: I86742a428f372ff6988a13df12694c550e2a53c2

bus/connection.c

index aafc520..7253c98 100644 (file)
@@ -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;
     }