X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fcompat-pivot_root.h;fp=src%2Fcompat-pivot_root.h;h=98b30399141d94f6ae0976e09e3613295a9b9569;hb=8cf13bb177d92c93eb73dc8939777150536c2d00;hp=0000000000000000000000000000000000000000;hpb=6bf3f95de36c804c97716b2d0bdf10680c559044;p=util-vserver.git diff --git a/src/compat-pivot_root.h b/src/compat-pivot_root.h new file mode 100644 index 0000000..98b3039 --- /dev/null +++ b/src/compat-pivot_root.h @@ -0,0 +1,29 @@ +// $Id: compat-pivot_root.h,v 1.3 2005/05/02 21:44:06 ensc Exp $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_SRC_COMPAT_PIVOT_ROOT_H +#define H_UTIL_VSERVER_SRC_COMPAT_PIVOT_ROOT_H + +#include +#include + +#include "syscall-wrap.h" + +inline static _syscall2(int,pivot_root,const char *,new_root,const char *,put_old) + +#endif // H_UTIL_VSERVER_SRC_COMPAT_PIVOT_ROOT_H