policy-default: Use libsmack to check client label 48/24748/5
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 10 Jun 2020 10:50:55 +0000 (13:50 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 26 Jun 2020 15:00:49 +0000 (15:00 +0000)
commitea317303ac428ea6c49b30f97d01ff9c92af1268
treee2ae172dfeee14720a76e207f95fe17ef95a04de
parentbbf173123cdd4c64330fbf77631a9ae120e7d09f
policy-default: Use libsmack to check client label

Use the client file descriptor to find out the SMACK label of that
client.  Enforces homescreen to bind to agl_shell and launcher and
alexa-viewer to bind to the agl-shell-desktop interface. Allows access
to agl_shell_desktop to tbtnavi and hvac as those contain example code
on use it for moving it to other outputs.

Bug-AGL: SPEC-3396

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I1a1abf2d2786624ffa484b6577de17f5010d5ac6
meson.build
src/policy-default.c