Giuseppe Scrivano 59c2dabb26 idmap: always seteuid to the owner of the namespace
simplify the condition for setting the euid of the process.  Now it is
always set when we are running as root, the issue was introduced with
the commit 52c081b02c4ca4432330ee336a60f6f803431e63

Changelog: 2018-11-24 - seh - enforce that euid only gets set to ruid if
   it currently == 0 (i.e. really was setuid-*root*).

Closes: https://github.com/genuinetools/img/issues/191

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
2018-11-24 17:30:46 -06:00
..
2011-09-18 21:02:43 +00:00
2008-05-25 23:31:10 +00:00
2017-10-22 18:33:13 +00:00
2017-03-01 22:51:09 +01:00
2017-03-01 22:51:09 +01:00
2017-10-22 19:17:02 +00:00
2018-06-18 15:51:27 +02:00
2010-08-22 13:04:54 +00:00
2017-10-22 19:08:39 +00:00
2017-10-22 18:33:13 +00:00
2013-08-04 15:56:32 +02:00
2010-08-22 13:04:54 +00:00
2010-08-22 13:04:54 +00:00
2018-06-24 00:13:12 -05:00
2011-11-06 18:40:06 +00:00