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]
/
kernel
/
legacy.h
diff --git
a/kernel/legacy.h
b/kernel/legacy.h
index
f058983
..
a987121
100644
(file)
--- a/
kernel/legacy.h
+++ b/
kernel/legacy.h
@@
-3,6
+3,7
@@
#include "switch.h"
#include "switch.h"
+
/* compatibiliy vserver commands */
#define VCMD_new_s_context VC_CMD(COMPAT, 1, 1)
/* compatibiliy vserver commands */
#define VCMD_new_s_context VC_CMD(COMPAT, 1, 1)
@@
-40,9
+41,4
@@
struct vcmd_set_ipv4root_v3 {
#define VX_INFO_NAMESPACE 128 /* save private namespace */
#define VX_INFO_NAMESPACE 128 /* save private namespace */
-#ifdef __KERNEL__
-extern int vc_new_s_context(uint32_t, void __user *);
-extern int vc_set_ipv4root(uint32_t, void __user *);
-
-#endif /* __KERNEL__ */
#endif /* _VX_LEGACY_H */
#endif /* _VX_LEGACY_H */