Make --sticky option effective when setuid(2) and setgid(2)
Make --sticky option effective when setuid(2) and setgid(2)

A cgrulesengd daemon did not check whether a stickied process or when
setuid(2)/setgid(2) happens, and the daemon moved the process based on
/etc/cgrules.conf.
So --sticky option was not effective when setuid(2)/setgid(2).

This patch makes --sticky effective when setuid(2) and setgid(2) also.

Signed-off-by: Ken'ichi Ohmichi <68bd1b94aa1af06f94242affe698ebc3cee73fec@mxs.nes.nec.co.jp>
Signed-off-by: Dhaval Giani <f48451d72a1ad74c777093928b661ad7099a85df@gmail.com>

jrfastab/Linux-cgdcbxd,rafalmiel/libcg,rafalmiel/libcg,jrfastab/Linux-cgdcbxd,jrfastab/Linux-cgdcbxd,rafalmiel/libcg,rafalmiel/libcg,jrfastab/Linux-cgdcbxd