Add an integration test for AppArmor mediating activation
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 21 Nov 2016 20:46:17 +0000 (20:46 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 28 Nov 2016 12:11:52 +0000 (12:11 +0000)
commit80654389f8c22a8999466a186bd408ce967c52eb
tree9e3f4918407d2189ffc17941201288f5b3ff8f80
parentdc25979ebb205c4e1596f084fbcd5f78ceca864c
Add an integration test for AppArmor mediating activation

This requires libapparmor 2.10, for aa_features_new_from_kernel()
and related functions.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98666
configure.ac
test/Makefile.am
test/data/dbus-installed-tests.aaprofile.in [new file with mode: 0644]
test/data/systemd-activation/com.example.ReceiveDeniedByAppArmorLabel.service.in [new file with mode: 0644]
test/data/systemd-activation/com.example.SendDeniedByAppArmorLabel.service.in [new file with mode: 0644]
test/data/systemd-activation/com.example.SendDeniedByAppArmorName.service [new file with mode: 0644]
test/sd-activation.c
test/test-apparmor-activation.sh [new file with mode: 0644]