summaryrefslogtreecommitdiffstats
path: root/src/secmgr-wrap.h
AgeCommit message (Collapse)AuthorFilesLines
2020-07-11Fix labelling of files of widgetsJosé Bollo1-0/+1
Before that change any application could browse content of other application. This change fixes that unintended behaviour by setting the installed files as private to the application. This affects the Smack labels of the files that after the change become the label of the application. Conversely, it will now be necessarily to explicit shared files. It happens in situation of resource widgets, the one that provide a binding using the feature urn:AGL:widget:provided-binding in config.xml. The typical example is the widget for testing: afbtest. The exported binding must be accessible by its clients. But because it also use files that it provides, these files must also be accessible by clients. For that reason, the feature urn:AGL:widget:public-files is introduced to config files, allowing a widget to make part of its installed files public. The installation logic is changed to handle correctly the security manager that applies rights of directories to files it contains. So the declaring directories and files using the order of increasing path length ensures that the expected rights are applied. Bug-AGL: SPEC-3489 Change-Id: I933446a8c155a03d9b66767f1dda63aeaeb21eb1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-01-08Update copyrightJosé Bollo1-1/+1
Change-Id: I1d68e07563d9f0f139d1bc8128e09a5da0a648af Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-02-07Update date in copyrightssandbox/scottrif29/scottdocsJosé Bollo1-1/+1
Change-Id: Ie2ff321f78c59913373e2ffb2820297fd423d6f4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-28Update date of copyright noticesJosé Bollo1-1/+1
Change-Id: Ia4ef2a6e3c07616ccd756933a82f0806844c4faf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-03Adds 2017 to copyrightsJosé Bollo1-1/+1
Change-Id: I3fcd64a038c6c5bca3d70186e2e68604aa392ed4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-28update dates of headersJosé Bollo1-1/+1
Change-Id: Ie82326a91ff61f079421239ffa83428f552194ab Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-04Adding uninstallation of widgetsJosé Bollo1-8/+9
Change-Id: I8558a77312590181de5313c89ea4c9bdb9b477c7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2015-12-17Bug fix and authoringJosé Bollo1-0/+2
Change-Id: I431915ac83727ab2cd27de37ace5015effcc7746 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2015-12-16renamed APIJosé Bollo1-0/+1
Change-Id: I16752b327d5ee2be64d554d5ea1fa8d241644e51
2015-12-11more workJosé Bollo1-1/+1
Change-Id: I7eac968a21766be44068463bcab8aaaa3d12941f
2015-12-10security-manager: more integrationJosé Bollo1-0/+24
Change-Id: Idcb3fc1b35dda0dae4ea8a9df0ad6c5c590437e7