Change livedump_pid() return codes 58/255758/4
authorKonrad Kuchciak <k.kuchciak@samsung.com>
Tue, 23 Mar 2021 09:55:39 +0000 (10:55 +0100)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Wed, 24 Mar 2021 08:45:15 +0000 (09:45 +0100)
commit53fbad88d73b60ed4a5155aee4b7a0373a12b0a9
tree7c2f322262954644b5061a017c0d738d47c64c7c
parent0689f7a0464a27247cbb78b1a9ecf3adef7cda90
Change livedump_pid() return codes

livedump_pid() returns 0 on success, otherwise a negative error value
TIZEN_ERROR_PERMISSION_DENIED - privilege error
TIZEN_ERROR_NO_SUCH_PROCESS - no such process
TIZEN_ERROR_IO_ERROR - other error

Change-Id: If961771e745e98212ca9ded959dfa504b197f030
Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
src/bugreport/libbugreport-service.c
src/bugreport/libbugreport.h
tests/system/utils/libbugreport-servicetest.c