commit | 711f14dea25b2f93091f27f498893a502e84fd34 | [log] [tgz] |
---|---|---|
author | Yuan Sun <sunyuan3@huawei.com> | Mon Sep 28 12:57:56 2015 +0800 |
committer | Jan Stancek <jstancek@redhat.com> | Mon Oct 05 10:45:30 2015 +0200 |
tree | e58faf42c1c16e5256dc14d27235c156c3875eff | |
parent | c1d919b71f474d964cb02845182acd6934ac3701 [diff] |
userns03: test that setgroups can't be reenabled If the setgroups file has the value "deny", then the setgroups(2) system call can't subsequently be reenabled (by writing "allow" to the file) in this user namespace. (Attempts to do so will fail with the error EPERM.) Signed-off-by: Yuan Sun <sunyuan3@huawei.com> Signed-off-by: Jan Stancek <jstancek@redhat.com>