test: add simple helper to drop privileges
authorDjalal Harouni <tixxdz@opendz.org>
Fri, 20 Jun 2014 16:49:57 +0000 (17:49 +0100)
committerDaniel Mack <zonque@gmail.com>
Fri, 20 Jun 2014 17:35:36 +0000 (19:35 +0200)
commitaa77816ea98e649f0b3d31b433856d1bf20b345b
tree9165e54c31da4e4abfac84a509f41a65b0fa6247
parentad620d5ec1924d0de6c350996cee1d24fba3cd5b
test: add simple helper to drop privileges

This is needed since we will add tests to fork() + drop privileges

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
test/kdbus-util.c
test/kdbus-util.h