afm-run: set smack attributes to user directory
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 20 Oct 2016 08:35:08 +0000 (10:35 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 20 Oct 2016 10:00:52 +0000 (12:00 +0200)
commit62a07cae0e40181daafdb0204c275af66d0f6d64
treeb4a6e88e9b5cd12d3f0eba10fcc7d5b06c4d0fa7
parent18103e986d89b9e329f49d9329d8bc40dffd39eb
afm-run: set smack attributes to user directory

The home directory for applications of a user
that was created by the daemon also gets a
security label and encures that there is no
transmutation.

It also simplifies allocation of the directory string.

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
CMakeLists.txt
src/afm-run.c