execute: move SMACK setup code into its own function
authorLennart Poettering <lennart@poettering.net>
Fri, 26 Aug 2016 15:40:42 +0000 (17:40 +0200)
committerDjalal Harouni <tixxdz@opendz.org>
Sun, 25 Sep 2016 08:52:57 +0000 (10:52 +0200)
commitcefc33aee299fa214f093d3d1b4c171ac3b30dde
tree938491127e7001e9c9295ec84c2bda35ebd5c4d3
parentcd2902c9546eabfffcf5d6de4d0bd4dfe6a4d427
execute: move SMACK setup code into its own function

While we are at it, move PAM code #ifdeffery into setup_pam() to simplify the
main execution logic a bit.
src/core/execute.c