Description : Adding cap_dac_override for valgrind profiling in SDK
authorwchang kim <wchang.kim@samsung.com>
Wed, 27 Jul 2016 08:04:23 +0000 (17:04 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 26 Jan 2024 16:49:49 +0000 (17:49 +0100)
Adding cap_dac_override for valgrind profiling in SDK.

Requested by AppFW

Change-Id: I908a0d95f9dd0d64156e173c566e95ac1b300fdc
Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
units/user@.service.m4.in

index acc221d..504bf70 100644 (file)
@@ -21,6 +21,6 @@ Delegate=yes
 TasksMax=infinity
 Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/dbus/user_bus_socket
 Environment=XDG_RUNTIME_DIR=/run/user/%U
-Capabilities=cap_sys_admin,cap_mac_admin,cap_mac_override,cap_setgid=i
+Capabilities=cap_sys_admin,cap_mac_admin,cap_mac_override,cap_setgid,cap_dac_override=i
 SupplementaryGroups=priv_mediastorage priv_externalstorage priv_message_read priv_mapservice priv_network_get priv_internet
 SecureBits=keep-caps