2 * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd All Rights Reserved
4 * Contact: Bumjin Im <bj.im@samsung.com>
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License
20 * @author Bartlomiej Grzelewski (b.grzelewski@samsung.com)
22 * @brief List of all protocols supported by security server.
25 #include <protocols.h>
28 namespace SecurityServer {
30 char const * const SERVICE_SOCKET_SHARED_MEMORY =
31 "/tmp/.security-server-api-data-share.sock";
32 char const * const SERVICE_SOCKET_ECHO =
33 "/tmp/security-server-api-echo.sock";
34 char const * const SERVICE_SOCKET_GET_GID =
35 "/tmp/.security-server-api-get-gid.sock";
36 char const * const SERVICE_SOCKET_PRIVILEGE_BY_PID =
37 "/tmp/.security-server-api-privilege-by-pid.sock";
38 char const * const SERVICE_SOCKET_EXEC_PATH =
39 "/tmp/.security-server-api-exec-path.sock";
40 char const * const SERVICE_SOCKET_GET_OBJECT_NAME =
41 "/tmp/.security-server-api-get-object-name.sock";
42 char const * const SERVICE_SOCKET_APP_PERMISSIONS =
43 "/tmp/.security-server-api-app-permissions.sock";
44 char const * const SERVICE_SOCKET_COOKIE_GET =
45 "/tmp/.security-server-api-cookie-get.sock";
46 char const * const SERVICE_SOCKET_COOKIE_CHECK =
47 "/tmp/.security-server-api-cookie-check.sock";
48 //TODO: Merge bellow socket with the one above. This should be done
49 //after security-server-api-cookie-check.sock will be protected by smack and has proper label
50 char const * const SERVICE_SOCKET_COOKIE_CHECK_TMP =
51 "/tmp/.security-server-api-cookie-check-tmp.sock";
53 const size_t COOKIE_SIZE = 20;
55 } // namespace SecurityServer