]> git.ipfire.org Git - thirdparty/systemd.git/commit
exec: move mac_smack_apply_pid() and setup_pam() to same condition block 1357/head
authorSangjung Woo <sangjung.woo@samsung.com>
Wed, 23 Sep 2015 11:53:09 +0000 (20:53 +0900)
committerSangjung Woo <sangjung.woo@samsung.com>
Wed, 23 Sep 2015 13:11:38 +0000 (22:11 +0900)
commitb213e1c11d5a383faf5c456a31389d5c0c0f039b
treef9c8a91030641383a82a6234403cbd27119455d5
parent6bf6e43e7e214a4bd03008a91a7fc77ce6934d65
exec: move mac_smack_apply_pid() and setup_pam() to same condition block

This cleans up exec_child() function by moving mac_smack_apply_pid()
and setup_pam() to the same condition block, since both of them have
the same condition (i.e params->apply_permissions). It improves
readability without changing its operation.
src/core/execute.c