[lxc-devel] [lxc/lxc] 8d18e5: caps: check uid and euid
Stéphane Graber
noreply at github.com
Sat Feb 9 21:57:17 UTC 2019
Branch: refs/heads/stable-2.0
Home: https://github.com/lxc/lxc
Commit: 8d18e582f87998e2ae1d7ce8729467d1721c20ac
https://github.com/lxc/lxc/commit/8d18e582f87998e2ae1d7ce8729467d1721c20ac
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: 5b3463907d74cbb9e08c6a1c1e85f5f504b65062
https://github.com/lxc/lxc/commit/5b3463907d74cbb9e08c6a1c1e85f5f504b65062
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 #2831 from brauner/2019-02-08/capabilities_stable-2.0
caps: check uid and euid
Compare: https://github.com/lxc/lxc/compare/3d277c519f13...5b3463907d74
More information about the lxc-devel
mailing list