Add support for privilege checks 62/169262/6
authorSangchul Lee <sc11.lee@samsung.com>
Mon, 5 Feb 2018 08:21:25 +0000 (17:21 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Fri, 9 Feb 2018 06:43:41 +0000 (06:43 +0000)
commitfa7df98889588b11f84c1a1d73e58f7cb3ed9838
tree306b8a6bd987144bdfbda76746b247863fd5a830
parent8fcf255ab8291019cff59d137da37ab41060a733
Add support for privilege checks

privileges
 : http://tizen.org/privilege/volume.set
 : http://tizen.org/privilege/recorder

original patches are as below
 : 0cf5d5a0f41fba3a28ee6015100a6e7b6381c703 - jho.mok@samsung.com - 2016-05-24 - New context API for privilege check
 : dc5392a2efea4ea0e2ab3b710feb23d2aad01ee6 - seungbae.shin@samsung.com - 2015-12-11 - [Security] return security error properly & revise cynara code
 : 77911b41919979db908735f6e17dafcf8002435e - o.switalski@samsung.com - 2015-11-19 - Apply cynara privilege checks

[Version] 11.1-9
[Issue Type] feature

Change-Id: I47c121d09d4ca6b5258b077a30ad2ca4f10809a9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
15 files changed:
configure.ac
libpulse.pc.in
packaging/pulseaudio.spec
pulsecore.pc.in
src/Makefile.am
src/map-file
src/pulse/context.c
src/pulse/context.h
src/pulse/stream.c
src/pulsecore/cynara.c [new file with mode: 0644]
src/pulsecore/cynara.h [new file with mode: 0644]
src/pulsecore/native-common.h
src/pulsecore/protocol-native.c
src/pulsecore/pstream.c
src/pulsecore/pstream.h