Fix for smack error when dbus-daemon(session) accesses proc/cmdline 31/73431/1
authorHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 8 Jun 2016 06:14:51 +0000 (15:14 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 8 Jun 2016 06:14:51 +0000 (15:14 +0900)
Change-Id: Ifadafc677821c6a8b0b747d31f1c4128533ce3ed
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
bus/connection.c
error_pipe_from_child [new file with mode: 0644]
sitter_pid [new file with mode: 0644]
socket_to_babysitter [new file with mode: 0644]

index f9fa9aa..e1e0d63 100644 (file)
@@ -626,7 +626,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;
     }
diff --git a/error_pipe_from_child b/error_pipe_from_child
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/sitter_pid b/sitter_pid
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/socket_to_babysitter b/socket_to_babysitter
new file mode 100644 (file)
index 0000000..e69de29