commit | f4622556c1e461c43cdf7833a504303fe082e4c0 | [log] [tgz] |
---|---|---|
author | Zhao Hongjiang <zhaohongjiang@huawei.com> | Thu Sep 13 16:38:03 2012 +0800 |
committer | Eric W. Biederman <ebiederm@xmission.com> | Sat Nov 17 00:37:36 2012 -0800 |
tree | 25160659c746a09cea92bda673f07e392c846952 | |
parent | b351b95ad9e38a23b3c2ec60ed7ad0d3169b1521 [diff] |
userns: fix return value on mntns_install() failure Change return value from -EINVAL to -EPERM when the permission check fails. Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>