summaryrefslogtreecommitdiffstats
path: root/src/afm-binding.c
AgeCommit message (Collapse)AuthorFilesLines
2018-11-22onappid: retrieves the 'appid' with id fieldflounder_6.0.3flounder/6.0.36.0.3Clément Bénier1-1/+1
the value of id field shoud be a string not an integer so {si} is replaced by {ss} Change-Id: Ief8a1e56295085cfe818301fd0073399a3ae6315 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-11-05Treat correctly running/not running statusflounder_6.0.2flounder/6.0.26.0.2José Bollo1-1/+11
Systemd returns 0 for services that don't run. It wasn't checked well causing weird effect: trying to terminate an application not running killed afm-system-daemon because kill(0) kills all processes of the group of the caller. Bug-AGL: SPEC-1836 Change-Id: I1bd64faf871ecd42aaaa5449312e8b8cb26ee9dd Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-31afm-system-daemon: Improve error message reportJosé Bollo1-10/+11
Bug-AGL: SPEC-1872 Change-Id: I6e48baa05312b1490edd38ccf9231afe4aa6eb51 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-06-14afm-binding: use binding api v3José Bollo1-49/+109
Change-Id: Iac5140db95e473dc0954c70b5dc401380450e017 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-06-14afm-binding: fix authorjobol1-1/+1
Change-Id: Iefb2b248b5a9b85b89cd5181b3297fe4390ab149 Signed-off-by: jobol <jose.bollo@iot.bzh>
2018-06-13afm-binding: Review of the permissionsjobol1-22/+49
Change-Id: I1d3a36c69768901f205a47385d124b6483e60638 Signed-off-by: jobol <jose.bollo@iot.bzh>
2018-06-13afm-binding: Improve comment and stringsjobol1-4/+30
Change-Id: Ic70e2abf1301d11b0a610cdf5cfd783d21a5674f Signed-off-by: jobol <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>
2018-02-27Provision argument for handling languageJosé Bollo1-4/+32
The requests 'runnables' and 'detail' accept a parameter 'lang' to -in future- get localized data about apps. Change-Id: I5f1804870c6b3c0d1aedf1a75cde1e2c09a5a605 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-01-19afm-binding: Allow use of appid instead of runidJosé Bollo1-6/+23
This facility avoid the double call 'ps', 'kill' and allow a single call to 'kill' with the application id. Bug-AGL: SPEC-1189 Change-Id: I71861c06847e855b05dc8294ab1ea6785f555416 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-01-19afm-binding: Common code getting application idJosé Bollo1-22/+37
Repeated code is made common to the verbs detail, start, once. Change-Id: I9bc15bf22aeb7156d0892e71f56f86f3930866f6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-12-08Remove deprecated file afm.hJosé Bollo1-1/+0
Change-Id: Ie524342b69d386c2d6f667dde7cde0d68a0d29c8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-24Rework on systemd start of user sessionsJosé Bollo1-1/+1
Change-Id: Iad46596435eebdc5c521b572fd8320b52a61d197 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-24afm-binding: Fix bug in evaluation of runidJosé Bollo1-2/+2
Change-Id: I7a87a75d2effb7ad959b7a5c495402701f505529 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-24afm-binding: Restore previous return for 'start'José Bollo1-0/+4
Change-Id: I28cd41391d207b59d74d2ff661e5981b9947c716 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-24bug fixes and improvementsJosé Bollo1-10/+8
Change-Id: I2fc3de0a84e471e8e87f43170c20f8d6d0d05fdc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-24urun/udb: integration of user UIDJosé Bollo1-59/+14
Managing user applications at the system levels requires to manage the user application in a single process. This process must manage the user identity (UID). Change-Id: I1ce8c9ca66ed0f916ecb2931ae014b08b113fa23 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-24afm-binding: provide afm as a unique bindingJosé Bollo1-0/+487
This is the first stone (not fully tested) to implment the afm-main as a binding. At the end, this component will replace afm-user-daemon and afm-system-daemon. Change-Id: I6eafa7d26800f45ae58dd51aa9ff8008cdb3ff59 Signed-off-by: José Bollo <jose.bollo@iot.bzh>