[lxc-devel] [PATCH] remove no-longer neeeded check from lxcapi_attach_run_waitl
S.Çağlar Onur
caglar at 10ur.org
Tue Jan 21 04:43:35 UTC 2014
commit f4364484454c754ed905bfb85bd2727a0a5d0475 introduced attach
functionality to unprivileged containers so remove this check like
the rest of the attach functions.
Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
---
src/lxc/lxccontainer.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c
index c26b120..f9626a6 100644
--- a/src/lxc/lxccontainer.c
+++ b/src/lxc/lxccontainer.c
@@ -3107,11 +3107,6 @@ static int lxcapi_attach_run_waitl(struct lxc_container *c, lxc_attach_options_t
if (!c)
return -1;
- if (am_unpriv()) {
- ERROR(NOT_SUPPORTED_ERROR, __FUNCTION__);
- return -1;
- }
-
va_start(ap, arg);
argv = lxc_va_arg_list_to_argv_const(ap, 1);
va_end(ap);
--
1.8.3.2
More information about the lxc-devel
mailing list