Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ae11e0f1 authored by Zhao Hongjiang's avatar Zhao Hongjiang Committed by Eric W. Biederman
Browse files

userns: fix return value on mntns_install() failure



Change return value from -EINVAL to -EPERM when the permission check fails.

Signed-off-by: default avatarZhao Hongjiang <zhaohongjiang@huawei.com>
Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
parent 0c55cfc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment