confile.c revision 91480a0f0a62732f3115d556b689d62d574294ae
1057N/A * lxc: linux Container library 1057N/A * (C) Copyright IBM Corp. 2007, 2008 1057N/A * This library is free software; you can redistribute it and/or 1057N/A * modify it under the terms of the GNU Lesser General Public 1057N/A * License as published by the Free Software Foundation; either 1057N/A * version 2.1 of the License, or (at your option) any later version. 1057N/A * This library is distributed in the hope that it will be useful, 1057N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of 1057N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1057N/A * Lesser General Public License for more details. 1057N/A * You should have received a copy of the GNU Lesser General Public 1057N/A * License along with this library; if not, write to the Free Software 660N/A * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 2437N/A ERROR(
"network is not created for '%s' = '%s' option",
3473N/A ERROR(
"no network device defined for '%s' = '%s' option",
2737N/A for (i = 0; i <
sizeof(m)/
sizeof(m[0]); i++) {
3404N/A /* no prefix specified, determine it from the network class */ 3404N/A /* in case several capability drop is specified in a single line 3473N/A * split these caps in a single element for the list */ 3404N/A /* we have to dup the buffer otherwise, at the re-exec for reboot we modified 3404N/A * the original string on the stack by replacing '=' by '\0' below