From 4f7565bef56a7574ebc9b002122f003e01e387c8 Mon Sep 17 00:00:00 2001 From: Mateusz Moscicki Date: Mon, 18 Jan 2021 11:26:38 +0100 Subject: [PATCH] Add information about the need to manually add a privilege Change-Id: I9832f5fb566e183e414e1fc0f27d3275f2931aa8 --- NOTES.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 NOTES.rst 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. + -- 2.7.4