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_ctxmigrate.c
diff --git
a/lib/syscall_ctxmigrate.c
b/lib/syscall_ctxmigrate.c
index
74a6b29
..
730b3e4
100644
(file)
--- a/
lib/syscall_ctxmigrate.c
+++ b/
lib/syscall_ctxmigrate.c
@@
-1,4
+1,4
@@
-// $Id: syscall_ctxmigrate.c 2
415 2006-12-08 13:24:49
Z dhozac $ --*- c -*--
+// $Id: syscall_ctxmigrate.c 2
501 2007-02-20 17:33:35
Z dhozac $ --*- c -*--
// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
@@
-38,9
+38,9
@@
#if defined(VC_ENABLE_API_V13) || defined(VC_ENABLE_API_V21)
int
#if defined(VC_ENABLE_API_V13) || defined(VC_ENABLE_API_V21)
int
-vc_ctx_migrate(xid_t xid)
+vc_ctx_migrate(xid_t xid
, uint_least64_t flags
)
{
{
- CALL_VC(CALL_VC_SPACES(vc_ctx_migrate, xid),
+ CALL_VC(CALL_VC_SPACES(vc_ctx_migrate, xid
, flags
),
CALL_VC_V13A (vc_ctx_migrate, xid));
}
#endif
CALL_VC_V13A (vc_ctx_migrate, xid));
}
#endif