Add information about the need to manually add a privilege 83/251683/3
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Mon, 18 Jan 2021 10:26:38 +0000 (11:26 +0100)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Mon, 18 Jan 2021 13:39:43 +0000 (14:39 +0100)
Change-Id: I9832f5fb566e183e414e1fc0f27d3275f2931aa8

NOTES.rst [new file with mode: 0644]

diff --git a/NOTES.rst b/NOTES.rst
new file mode 100644 (file)
index 0000000..4daa395
--- /dev/null
+++ b/NOTES.rst
@@ -0,0 +1,16 @@
+============
+Livecoredumper & livecoredump APIs
+============
+
+``livedump_pid()`` API method was created for use by system services and system
+applications, and therefore requires a special privilege
+``http://tizen.com/privilege/internal/livecoredump`` which can only be granted
+manually by::
+
+    cyad -s -k MANIFESTS_GLOBAL -c User::Pkg::com.tizen.some.example.app -u 5001 -p http://tizen.com/privilege/internal/livecoredump -t ALLOW
+
+For applications installed by RPM, you can add the above line to the ``%post``
+section. There is no way to give this privilege to TPK applications from TPK
+installer. In this case, the privilege should be granded externally, after the
+TPK is installed.
+