chiark / gitweb /
main: drop capabilities of userhelpers before ours
authorHarald Hoyer <harald@redhat.com>
Fri, 30 Aug 2013 08:23:50 +0000 (10:23 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 30 Aug 2013 08:26:49 +0000 (10:26 +0200)
commit31c885e9ae53f4b88a36452c4ca10643fdd0fd06
tree8979d734e9f398ca2a1e68f0b3e9b9159be016d9
parentb534166eaec8fef9902a68f75cab8eeae458b23c
main: drop capabilities of userhelpers before ours

First drop the capabilities of the userhelpers before dropping our own,
otherwise we might not be allowed to drop the capabilities of the
userhelpers. Especially, if we want to drop CAP_SYS_MODULE.

Credits: Matteo Sasso
src/core/main.c