Fixing bug in setting execute label for executable files
authorZofia Abramowska <z.abramowska@samsung.com>
Tue, 5 Feb 2013 10:35:16 +0000 (11:35 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Wed, 6 Feb 2013 13:52:40 +0000 (14:52 +0100)
commitbef3596667f198dd7d97fbfef2dcdb5c670057f1
tree1daa094033bfda1d475452473a689b8e91aa5331
parent8b715339c3a2b59799914a5b929948297f0d17b1
Fixing bug in setting execute label for executable files

[Issue#] SSDWSSP-70
[Bug] Execute labels was set for all files (not only executable)
[Cause] Bad flags and logic for given API
[Solution] Changed stat flags and now execute label is set for
everything with execute permissions and then removed from directories
[Verification] Successful build

Change-Id: Ic812c4872190d0faa2d1175edb98389d79b83b61
src/privilege-control.c