Add a test for uid-controlled permissions
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 26 Jan 2015 19:10:11 +0000 (19:10 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 3 Feb 2015 16:19:08 +0000 (16:19 +0000)
commit98ae1149adf23acd0aae9611f93ac2250ac37bd7
treed0c858300e29194cef3734187dea5e38db558864
parent6a49ced2dd3a1e3b161c677deb72d98674a9069d
Add a test for uid-controlled permissions

This is technical debt from mitigating CVE-2014-8148, which should
really have had a regression test at the time.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88810
Reviewed-by: Philip Withnall
test/Makefile.am
test/data/valid-config-files/multi-user.conf.in [new file with mode: 0644]
test/test-utils-glib.c
test/test-utils-glib.h
test/uid-permissions.c [new file with mode: 0644]