core: improve the logic that implies no new privileges
authorDjalal Harouni <tixxdz@opendz.org>
Tue, 15 Nov 2016 09:15:27 +0000 (10:15 +0100)
committerDjalal Harouni <tixxdz@opendz.org>
Tue, 15 Nov 2016 14:04:31 +0000 (15:04 +0100)
commitc92e8afebd6126b4d679ee1a2dc2a5b74a8b49c7
tree9833d3b39161ae70e3629e74e078247864096957
parent46b6025a8881b50373a3730598c8caa46be537f0
core: improve the logic that implies no new privileges

The no_new_privileged_set variable is not used any more since commit
9b232d3241fcfbf60af that fixed another thing. So remove it. Also no
need to check if we are under user manager, remove that part too.
src/core/execute.c
src/core/execute.h
src/core/load-fragment.c
src/core/unit.c