From: Mateusz Moscicki Date: Mon, 18 Jan 2021 10:26:38 +0000 (+0100) Subject: Add information about the need to manually add a privilege X-Git-Tag: submit/tizen/20210121.145225~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f7565bef56a7574ebc9b002122f003e01e387c8;p=platform%2Fcore%2Fsystem%2Fcrash-worker.git Add information about the need to manually add a privilege Change-Id: I9832f5fb566e183e414e1fc0f27d3275f2931aa8 --- diff --git a/NOTES.rst b/NOTES.rst new file mode 100644 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. +