You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2011/10/26 15:26:42 UTC
svn commit: r1189200 - in /commons/sandbox/runtime/trunk/src/main/native:
Makefile.unx.in include/acr/lxc.h modules/lxc/ os/linux/lxc/
os/linux/lxc/api.c os/linux/lxc/init.c os/linux/lxc/lxc.h
Author: mturk
Date: Wed Oct 26 13:26:42 2011
New Revision: 1189200
URL: http://svn.apache.org/viewvc?rev=1189200&view=rev
Log:
Move lxc code into os/linux
Added:
commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/
commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/api.c (with props)
commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/init.c (with props)
commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/lxc.h
- copied unchanged from r1188536, commons/sandbox/runtime/trunk/src/main/native/include/acr/lxc.h
Removed:
commons/sandbox/runtime/trunk/src/main/native/include/acr/lxc.h
commons/sandbox/runtime/trunk/src/main/native/modules/lxc/
Modified:
commons/sandbox/runtime/trunk/src/main/native/Makefile.unx.in
Modified: commons/sandbox/runtime/trunk/src/main/native/Makefile.unx.in
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/Makefile.unx.in?rev=1189200&r1=1189199&r2=1189200&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/Makefile.unx.in (original)
+++ commons/sandbox/runtime/trunk/src/main/native/Makefile.unx.in Wed Oct 26 13:26:42 2011
@@ -170,8 +170,8 @@ SSLSOURCES=\
$(TOPDIR)/modules/openssl/util.c
LXCSOURCES=\
- $(TOPDIR)/modules/lxc/api.c \
- $(TOPDIR)/modules/lxc/init.c
+ $(TOPDIR)/os/linux/lxc/api.c \
+ $(TOPDIR)/os/linux/lxc/init.c
CXXSOURCES=
Added: commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/api.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/api.c?rev=1189200&view=auto
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/api.c (added)
+++ commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/api.c Wed Oct 26 13:26:42 2011
@@ -0,0 +1,27 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "acr/clazz.h"
+#include "acr/error.h"
+#include "acr/misc.h"
+#include "acr/dso.h"
+#include "acr/string.h"
+#include "acr/port.h"
+#include "arch_sync.h"
+
+#if !HAVE_LXC
+#error "Cannot compile this file without HAVE_LXC defined"
+#endif
Propchange: commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/api.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/init.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/init.c?rev=1189200&view=auto
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/init.c (added)
+++ commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/init.c Wed Oct 26 13:26:42 2011
@@ -0,0 +1,27 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "acr/clazz.h"
+#include "acr/error.h"
+#include "acr/misc.h"
+#include "acr/dso.h"
+#include "acr/string.h"
+#include "acr/port.h"
+#include "arch_sync.h"
+
+#if !HAVE_LXC
+#error "Cannot compile this file without HAVE_LXC defined"
+#endif
Propchange: commons/sandbox/runtime/trunk/src/main/native/os/linux/lxc/init.c
------------------------------------------------------------------------------
svn:eol-style = native