diff options
author | 2012-09-13 16:38:03 +0800 | |
---|---|---|
committer | 2012-11-19 05:59:22 -0800 | |
commit | ae11e0f18482bfe0cd83b9b61434ea7e0bd94e25 (patch) | |
tree | 13356ea5b2a0316b1daf2661adeec05b0d5f78b2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vfs: Allow unprivileged manipulation of the mount namespace. (diff) | |
download | linux-dev-ae11e0f18482bfe0cd83b9b61434ea7e0bd94e25.tar.xz linux-dev-ae11e0f18482bfe0cd83b9b61434ea7e0bd94e25.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions