[lxc-devel] [lxc/lxc] 92deec: caps: check uid and euid
Stéphane Graber
noreply at github.com
Sat Feb 9 21:57:22 UTC 2019
Branch: refs/heads/stable-3.0
Home: https://github.com/lxc/lxc
Commit: 92deecddfc4082132a8908f66fcc282e24328074
https://github.com/lxc/lxc/commit/92deecddfc4082132a8908f66fcc282e24328074
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2019-02-08 (Fri, 08 Feb 2019)
Changed paths:
M src/lxc/caps.c
Log Message:
-----------
caps: check uid and euid
When we are running inside of a user namespace getuid() will return a
non-zero uid. So let's check euid as well to make sure we correctly drop
capabilities
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: b0df243c4f136d0bfed1d8824ee787116a88f3ad
https://github.com/lxc/lxc/commit/b0df243c4f136d0bfed1d8824ee787116a88f3ad
Author: Stéphane Graber <stgraber at stgraber.org>
Date: 2019-02-09 (Sat, 09 Feb 2019)
Changed paths:
M src/lxc/caps.c
Log Message:
-----------
Merge pull request #2830 from brauner/2019-02-08/capabilities_stable-3.0
caps: check uid and euid
Compare: https://github.com/lxc/lxc/compare/4faaed332b99...b0df243c4f13
More information about the lxc-devel
mailing list