]> git.baikalelectronics.ru Git - kernel.git/commit
userns: Handle -1 in k[ug]id_has_mapping when !CONFIG_USER_NS
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 27 Jun 2016 20:52:48 +0000 (15:52 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 30 Jun 2016 23:04:36 +0000 (18:04 -0500)
commitb708e0fc734806b3b0abbe453ed5378db9abf2c7
treecc8feef112a36a4b9e10ac60d673000f7de3716a
parent6404e06a29b0e913afa13df4c26f4e444829c905
userns: Handle -1 in k[ug]id_has_mapping when !CONFIG_USER_NS

Refuse to admit any user namespace has a mapping of the INVALID_UID
and the INVALID_GID when !CONFIG_USER_NS.

Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
include/linux/uidgid.h