]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: set default process label only exec label is none 860/head
authorWaLyong Cho <walyong.cho@samsung.com>
Mon, 27 Jul 2015 17:55:35 +0000 (02:55 +0900)
committerWaLyong Cho <walyong.cho@samsung.com>
Tue, 4 Aug 2015 12:11:24 +0000 (21:11 +0900)
commite419a0e31089994ecd1d9019c791e63d13b37584
tree1b7c5f8d789701d1e257b7b8b4ca1c9a3828b6ac
parent5ab58c2091636209231fc3fd5bf97f21b77deb88
core: set default process label only exec label is none

When command path has access label and no SmackProcessLabel= is not
set, default process label will be set. But if the default process
label has no rule for the access label of the command path then smack
access error will be occurred.
So, if the command path has execute label then the child have to set
its label to the same of execute label of command path instead of
default process label.
src/core/execute.c