aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-27Smack: add audit when smack is activeJosé Bollo2-0/+5
It is important for developement process and for monitoring hacking to track violations and to monitor wrong uses or problems. By activating audit with Smack we ensure that detection and reporting of hazardous or malicious violations will be possible. Change-Id: I7808ff17b5b8ba1fb09742fd273f46f06917d26b Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27web-runtime: provide IVI tuning for porterJosé Bollo2-1/+2
Added to the environment: export QT_WAYLAND_SHELL_INTEGRATION="ivi-shell" This allows HTML5 applications to run on top of the IVI-shell. Note to AGL integrators: this is a temporary patch that can be removed at the end. Change-Id: Ic2b5f75327af6cbd1af4c7bd1eeb5cc3a2b743fd Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27af-main: updateJosé Bollo1-1/+1
Include features for HomeScreen: - returns pids - renamed verbs: stop -> pause & continue -> resume - dbus manifests Change-Id: I24ea59f376f57182c7060aca1c96539866cdcaba Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27Smack: fixup of bluetooth socket labellingJosé Bollo10-0/+413
The sockets created by kernel thread will now be tagged @ instead of _. This problem was occuring during creation of AF_BLUETOOTH (but is also latent AF_ALG, AF_IUCV, AF_SCTP, AF_TIPC as they don't go through the normal socket creation process within linux). Having the tag @ allows read/write to sockets without special rules and tus solve the problem. This solution from upstream linux patches backported and from a patch made by Samsung for Tizen and that is currently discussed within kernel lists. Also add some improvements of the LSM Smack (valid caching and signal 0). These improvements are backports of patches already available for linux 4.9-rc3. AGL-bug: SPEC-293 (https://jira.automotivelinux.org/browse/SPEC-293) Change-Id: I5999a951a4bbeba7947ebfe5df091de07d59e57e Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27Allow build without meta-agl-demoRonan1-1/+1
Change-Id: Ic78464d6e9c07e205b222b3f0f3d49ed1b928ed6 Signed-off-by: Ronan <ronan.lemartret@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27FWK: Adaptations for jethroJosé Bollo4-5/+71
Since introduction of ambient capabilities, systemd deprecated the use of Capabilities. With systemd 229 activated with krogoth, the use of Capabilities does nothing. This commits avoids to use SecureBits and Capabilities. It now relies on the fact that post installations are setting the capabilities to the file: - setcap cap_mac_override,cap_dac_override=ep afm-system-daemon - setcap cap_mac_override,cap_mac_admin,cap_setgid=ep afm-user-daemon Using p (permitted) instead of i (inherited) that was previously used. It also includes evolutions of the security model to be synchronized with the deletion of 'User'. The recommended version to use now is the commit 20bbb97f6d5400b126ae96ef446c3e60c7e16285. Change-Id: Id24ce7c7651e2fdf8d66b6e8286268e7d88508a0 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27app-framework: ImprovementsJosé Bollo2-2/+2
Within app-framework-binder: - fixes read and write lock (EAGAIN) - fixes SIGPIPE handling - improves the documentation Within app-framework-main: - improves documentation (for config.xml) - fixes setting of permissions Signed-off-by: José Bollo <jose.bollo@iot.bzh> Change-Id: If860d00204f82ee85ed1fd4ca9ac9820b844085f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27app-framework: improvementsJosé Bollo2-2/+2
- Adds the handling of a root for HTTP files with the option --roothttp - Improves API for openning localized data - Adds the handling of language Change-Id: Ia0c6e840265595b6e0415e8ea7a9e6585d8bb88d Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27Improves the handling of upgrade for websocketsJosé Bollo3-19/+84
The previous implmentation wasn't enough good to allow the websocket handshake by any client. In particular, the Qt client wasn't able to connect to binder's websockets. Also upgrade to MHD 0.9.49 (compatible with krogoth) Change-Id: Ib5800a4ff6c3d5e6bb11359266867fde52c06dce Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27app-framework: fix minor bugsJosé Bollo2-2/+2
- fix event propagation to services - fix memory leaks Change-Id: I73432fd9f4a144d2790a7a67d471045048b5e537 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27meta-app-framework: install missing libafbwsc libraryManuel Bachmann1-2/+3
libafbwsc is a C WebSockets helper library needed for most native apffw clients, such as the default provided one, "afb-client-demo". Change-Id: I321f62cbd6a04bc3e4b91e4de544865c83397979 Signed-off-by: Manuel Bachmann <mbc@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27meta-app-framework: sync with latest af-main sourcesStephane Desneux2-1/+3
also add base bindings needed for most appfw clients: * af-binder-binding-afb-dbus-binding * af-binder-binding-authlogin Change-Id: I19e5da9490ad9316ed172591f4ebd5755934143a Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27meta-app-framework: sync with latest af-binder sourcesStephane Desneux1-1/+1
This solves a problem with libafbwsc (Websocket Client library) when used from SDK to build clients (internal dependency fixed). Change-Id: I137931c72d895679892523a6bd66cc4ecd4ea1a0 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27meta-app-framework: add missing dependency between af-binder-dev and ↵Stephane Desneux1-0/+2
libafbwsc-dev Change-Id: If0ce85a3a6ef1e715681c1011e12dad278735e04 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27meta-app-framework: af-binder must create ${libdir}/afb at postinst timeStephane Desneux1-0/+4
Change-Id: I8d2c85d67eec3c697c6abb072955d5e2de8c5e5f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27meta-app-framework: add af-main-tools and dependencies in ↵Stephane Desneux5-22/+52
nativesdk-packagegroup-sdk-host This is required to install app framework sdk tools. Change-Id: Iad407420fa734c063926d1883c288af387155668 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27meta-app-framework: af-binder source code updateStephane Desneux1-1/+1
Change-Id: Ia9c5d33defc23612fda34c01a1f1e7d789c961ad Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27meta-app-framework: build master branchStephane Desneux4-6/+6
Change-Id: I3ce83d0a5cd018d4b77492e4237fc4d297ee312f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27add features agl-demo, agl-appfw-smack and agl-localdevStephane Desneux4-0/+19
This is the application of the process proposed here: https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002232.html Bug-AGL: SPEC-180 Change-Id: I0063db7ac2803d4ac9540b70be8024b40e97dab3 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27add feature agl-appfw-smackStephane Desneux2-0/+0
Change-Id: Iea370d3b58aad61bad3304e923fc3e11639525e2 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27upgrade to new namings and bug fixesJosé Bollo4-17/+17
Change-Id: If7481696d130859e87f3110af2d0c5dde25615d6 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27add layer meta-app-frameworkStephane Desneux26-0/+755
meta-app-framework is a layer containing the AGL App Framework recipes 4 new layers are added for application framework: * meta-intel-iot-security/meta-security-smack * meta-intel-iot-security/meta-security-framework * meta-agl/meta-agl-security * meta-agl/meta-app-framework Configuration file changes to support AppFw: * activation of Smack and Cynara * modify the tar command to be used to support Smack extended attributes Change-Id: Idc8abdc8869787feb4b534ee45bf7b5d3dde3632 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27Update rcar gen3 script, compliant driver updateRonan Le Martret1-16/+23
Setup_mm_packages.sh must be compliant with driver update. Test if EXTRACT_DIR do not exists block the update. Change-Id: If5a8adfbf187e0894d04488eb40aa6ddbe48ad95 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-27Add kernel config for renesas porter to support ppptte_zheng_wenlong2-0/+7
Change-Id: Id387b5d6ea88dfe3c1e8a54afcb5f81f47522e9f Signed-off-by: tte_zheng_wenlong <wenlong_zheng_za@mail.toyota.co.jp>
2017-03-27Add OTA wks support to Porter and RCar-M3 boardsAnton Gerasimov6-6/+54
Bug-AGL: SPEC-413 Change-Id: I4ef71fde4a013c1dac4917f66727ce4b6be4170c Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-03-27dra7xx: u-boot: Switch to the 2017.01 u-boot from meta-tiKarthik Ramanan1-4/+0
Change-Id: Ia8d1df73bd3b8812a570a0059aeefc264472abf8 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-27dra7xx: u-boot: Revert the fix for MMC instabilityKarthik Ramanan2-30/+0
Change-Id: I88daa7df388c12eed2b53f3db2c8821814c2e88e Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-24Fix optee-os buildRonan Le Martret6-0/+2133
* Remove the file generation and directly copy the files. the files: default_regular.c default_regular.h were generate with command line: $ scripts/render_font.py \ --font_file lib/libutee/tui/fonts/amble/Amble-Regular.ttf \ --font_size 20 --font_name default_regular \ --out_dir out/arm-plat-rcar/ta_arm64-lib/libutee/tui the files: default_bold.c default_bold.h were generate with command line: $ scripts/render_font.py \ --font_file lib/libutee/tui/fonts/amble/Amble-Bold.ttf \ --font_size 20 --font_name default_bold --out_dir out/arm-plat-rcar/ta_arm64-lib/libutee/tui python-wand 0.4.3 (and newer) is incompatible with imagemagick >= 7.0, so we need to backport imagemagick 6. If you don't have imagemagick 6 install on your host the build of optee-os will failed. Change-Id: I83a6c4b963b7d3e18f2730b601934708a2f6c7ef Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-23Removed wl-shell-emulator from AGLRonan Le Martret6-6/+6
Since CES2017, AGL doesn't use 'layer-add-surfaces' command. wl-shell-emultor.so is only required by 'layer-add-surfaces'. So we can remove wl-shell-emultor from AGL. Bug-AGL: SPEC-341 Change-Id: I0cad29ff1534e8d3fd4b94f8a13490b9fa19918e Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-21meta-rcar-3 setup: slight refactoringMartin Kelly1-5/+6
Change-Id: I9c4ba041ede07252c69452dfa747b90b36346fba Signed-off-by: Martin Kelly <mkelly@xevo.com>
2017-03-21Merge "[rcar-gen3] Port python-wand for meta-agl-bsp"Jan-Simon Moeller2-0/+20
2017-03-21Merge "Rename weston bbappend recipes for ti"Jan-Simon Moeller1-4/+0
2017-03-21Merge "[rcar-gen3] Disable ipv6"Jan-Simon Moeller2-1/+6
2017-03-21Merge "[rcar-gen3] update weston recipes bbappend"Jan-Simon Moeller2-1/+26
2017-03-21Merge "[rcar-gen3] blacklist the recipes-forward-port from bsp"Jan-Simon Moeller3-1/+6
2017-03-21Merge "update wayland-ivi-extention to 1.10.90 for ti bsp"Jan-Simon Moeller1-0/+0
2017-03-21Merge "Remove wayland 1.9.0 recipes"Jan-Simon Moeller9-303/+0
2017-03-21Merge "Removed old fix for weston-ivi-shell"Jan-Simon Moeller3-57/+1
2017-03-21Merge "update wayland-ivi-extension to 1.11.0"Jan-Simon Moeller8-283/+48
2017-03-21Merge "Remove useless fix weston"Jan-Simon Moeller3-39/+9
2017-03-21Merge "[rcar-gen3] Remove fix on arm-trusted-firmware recipes"Jan-Simon Moeller2-27/+0
2017-03-21Merge "[rcar-gen3] Renamed weston bbappend recipes"Jan-Simon Moeller1-0/+0
2017-03-21Merge "[rcar-gen3] Fix webp bbappend"Jan-Simon Moeller2-0/+21
2017-03-21Merge "[rcar-gen3] Update h3 m3 to renesas rcar gen3 BSP v2.16.0 (branch:morty)"Jan-Simon Moeller6-15/+15
2017-03-21Merge "[rcar-gen3] Update setup script for gen3 v2.16.0"Jan-Simon Moeller1-5/+6
2017-03-21[rcar-gen3] update weston recipes bbappendRonan Le Martret2-1/+26
- added weston.ini - remove fix on apply fix-touchscreen-crash.patch. this fix is useless for the Renesas rcar gen3 v2.16 Bug-AGL: SPEC-471 Bug-AGL: SPEC-411 Change-Id: Iee25aae5c25fcdda6e97181ccba946db938e129f Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-20[rcar-gen3] Rename kernel-module-uvcs recipesRonan Le Martret1-0/+0
* the recipes "kernel-module-uvcs" was changed to kernel-module-uvcs-drv Bug-AGL: SPEC-471 Change-Id: I07f4efe47c9c1fe66df7818e98c4c4cc0806973d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Port python-wand for meta-agl-bspRonan Le Martret2-0/+20
* the optee from Renesas rcar gen3 DEPEND on python-wand to build. * python-wand comes from meta-linaro Bug-AGL: SPEC-471 Change-Id: I2837a50ccea1b474c29a4461e7d7535c6d4195fb Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19Rename weston bbappend recipes for tiRonan Le Martret1-4/+0
- remove old fix on weston 1.9.0 Bug-AGL: SPEC-411 Change-Id: Ia2115835cabe28bf14007e9376067b5ed255145a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Disable ipv6Ronan Le Martret2-1/+6
* ipv6 was disable in the previous version of the Renesas gen3 BSP (v2.12) and boot with ipv6 doesn't work, for now, on the Gen3 board. Bug-AGL: SPEC-471 Change-Id: I0c0f14cbf3b5d8404e9b8108d24740ecaea762c2 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>