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-wrap.h
diff --git
a/lib/syscall-wrap.h
b/lib/syscall-wrap.h
index
6308301
..
e67e040
100644
(file)
--- a/
lib/syscall-wrap.h
+++ b/
lib/syscall-wrap.h
@@
-1,4
+1,4
@@
-// $Id: syscall-wrap.h 2
076 2005-05-02 21:42:05Z ens
c $ --*- c -*--
+// $Id: syscall-wrap.h 2
446 2007-01-09 13:22:11Z dhoza
c $ --*- c -*--
// Copyright (C) 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
// Copyright (C) 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
@@
-36,4
+36,8
@@
# include "syscall-alternative.h"
#endif
# include "syscall-alternative.h"
#endif
+#if defined(ENSC_SYSCALL_TRADITIONAL) && defined(__dietlibc__) && !defined(ENSC_DIETLIBC_HAS_SYSCALL)
+extern long int syscall(long int __sysno, ...);
+#endif
+
#endif // H_UTIL_VSERVER_LIB_SYSCALL_WRAP_H
#endif // H_UTIL_VSERVER_LIB_SYSCALL_WRAP_H