git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
There's no need to call getpwuid/getpwnam_r 5 times. Do it once before chroot, once...
[util-vserver.git]
/
lib
/
syscall_netremove.c
diff --git
a/lib/syscall_netremove.c
b/lib/syscall_netremove.c
index
77af245
..
1f6bc33
100644
(file)
--- a/
lib/syscall_netremove.c
+++ b/
lib/syscall_netremove.c
@@
-1,4
+1,4
@@
-// $Id: syscall_netremove.c
,v 1.1 2004/04/22 20:46:43 ensc Exp
$ --*- c -*--
+// $Id: syscall_netremove.c
2249 2006-01-18 23:40:15Z ensc
$ --*- c -*--
// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
@@
-22,13
+22,13
@@
#include "vserver.h"
#include "vserver-internal.h"
#include "vserver.h"
#include "vserver-internal.h"
-#include "
linux
virtual.h"
+#include "virtual.h"
#if defined(VC_ENABLE_API_NET)
# include "syscall_netremove-net.hc"
#endif
#if defined(VC_ENABLE_API_NET)
# include "syscall_netremove-net.hc"
#endif
-#if defined(VC_ENABLE_API_NET)
&& 0
+#if defined(VC_ENABLE_API_NET)
int
vc_net_remove(nid_t nid, struct vc_net_nx const *info)
{
int
vc_net_remove(nid_t nid, struct vc_net_nx const *info)
{