X-Git-Url: http://git.onelab.eu/?p=util-vserver.git;a=blobdiff_plain;f=lib%2Fsyscall_fsetiattr.c;fp=lib%2Fsyscall_fsetiattr.c;h=b93a2fdb9a45c9fa3a2fa36b5552ecabc6f5a726;hp=0000000000000000000000000000000000000000;hb=4415d2a7377be61789eb5a6e35222962cbe7a146;hpb=b0a62d195efca12c5cb9e7c0b3bea3be2cd57fc9 diff --git a/lib/syscall_fsetiattr.c b/lib/syscall_fsetiattr.c new file mode 100644 index 0000000..b93a2fd --- /dev/null +++ b/lib/syscall_fsetiattr.c @@ -0,0 +1,38 @@ +// $Id$ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// 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. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V22) +# include "syscall_fsetiattr-v22.hc" +#endif + +#if defined(VC_ENABLE_API_V22) +int +vc_fset_iattr(int fd, xid_t ctx, uint_least32_t flags, + uint_least32_t mask) +{ + CALL_VC(CALL_VC_V22(vc_fset_iattr, fd, ctx, flags, mask)); +} +#endif